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

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

Issue 11471027: Added more tests for IncognitoModeAvailability. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add render_view_context_menu_test_util to unit_test and browser_tests. Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 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_RENDER_VIEW_CONTEXT_MENU_TEST_UTIL_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_TEST_UTIL_H_
7
8 #include "base/basictypes.h"
9 #include "chrome/browser/tab_contents/render_view_context_menu.h"
10
11 class TestRenderViewContextMenu : public RenderViewContextMenu {
12 public:
13 TestRenderViewContextMenu(content::WebContents* web_contents,
14 content::ContextMenuParams params);
15 virtual ~TestRenderViewContextMenu();
16
17 virtual void PlatformInit() OVERRIDE;
18 virtual void PlatformCancel() OVERRIDE;
19 virtual bool GetAcceleratorForCommandId(
20 int command_id, ui::Accelerator* accelerator) OVERRIDE;
sky 2013/01/14 16:03:37 when you wrap, each param on its own line.
rustema 2013/01/15 07:37:40 Done.
21
22 bool IsItemPresent(int command_id);
sky 2013/01/14 16:03:37 add description.
rustema 2013/01/15 07:37:40 Done.
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(TestRenderViewContextMenu);
26 };
27
28 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698