Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Side by Side Diff: chrome/browser/tab_contents/menu_category_app_mode.h

Issue 169093009: Separate out logic to handle different category/group of context menu items from RVContextMenu class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@work-mmm-refactor1
Patch Set: fix incorrect dcheck + platform app logic Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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 #ifndef CHROME_BROWSER_TAB_CONTENTS_MENU_CATEGORY_APP_MODE_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_MENU_CATEGORY_APP_MODE_H_
7
8 #include "chrome/browser/tab_contents/menu_category_base.h"
9
10 class MenuCategoryAppMode : public MenuCategoryBase {
11 public:
12 virtual ~MenuCategoryAppMode();
13
14 protected:
15 MenuCategoryAppMode(
16 content::RenderFrameHost* render_frame_host,
17 const content::ContextMenuParams& params);
18
19 // MenuCategoryBase overrides.
20 virtual bool IsCategoryEnabled(int category) OVERRIDE;
21
22 private:
23 friend class MenuCategoryFactory;
24
25 DISALLOW_COPY_AND_ASSIGN(MenuCategoryAppMode);
26 };
27
28 #endif // CHROME_BROWSER_TAB_CONTENTS_MENU_CATEGORY_APP_MODE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/tab_contents/menu_category_app_mode.cc » ('j') | chrome/browser/tab_contents/menu_category_base.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698