1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/renderer_context_menu/context_menu_content_type_app_mode.h"
6
7ContextMenuContentTypeAppMode::ContextMenuContentTypeAppMode(
8    content::WebContents* web_contents,
9    const content::ContextMenuParams& params)
10    : ContextMenuContentType(web_contents, params, false) {
11}
12
13ContextMenuContentTypeAppMode::~ContextMenuContentTypeAppMode() {
14}
15
16bool ContextMenuContentTypeAppMode::SupportsGroup(int group) {
17  switch (group) {
18    case ITEM_GROUP_EDITABLE:
19    case ITEM_GROUP_COPY:
20      return ContextMenuContentType::SupportsGroup(group);
21    default:
22      return false;
23  }
24}
25