This source file includes following definitions.
- SupportsGroup
#include "chrome/browser/renderer_context_menu/context_menu_content_type_app_mode.h"
ContextMenuContentTypeAppMode::ContextMenuContentTypeAppMode(
content::RenderFrameHost* render_frame_host,
const content::ContextMenuParams& params)
: ContextMenuContentType(render_frame_host, params, false) {
}
ContextMenuContentTypeAppMode::~ContextMenuContentTypeAppMode() {
}
bool ContextMenuContentTypeAppMode::SupportsGroup(int group) {
switch (group) {
case ITEM_GROUP_EDITABLE:
case ITEM_GROUP_COPY:
return ContextMenuContentType::SupportsGroup(group);
default:
return false;
}
}