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

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

Issue 5841002: Finish deinlining virtual methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert parts of the balloon modifications Created 10 years 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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_GTK_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_GTK_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_GTK_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "chrome/browser/gtk/menu_gtk.h" 10 #include "chrome/browser/gtk/menu_gtk.h"
(...skipping 17 matching lines...) Expand all
28 // Menu::Delegate implementation --------------------------------------------- 28 // Menu::Delegate implementation ---------------------------------------------
29 virtual void StoppedShowing(); 29 virtual void StoppedShowing();
30 virtual bool AlwaysShowIconForCmd(int command_id) const; 30 virtual bool AlwaysShowIconForCmd(int command_id) const;
31 31
32 protected: 32 protected:
33 // RenderViewContextMenu implementation -------------------------------------- 33 // RenderViewContextMenu implementation --------------------------------------
34 virtual void PlatformInit(); 34 virtual void PlatformInit();
35 // TODO(port): implement. 35 // TODO(port): implement.
36 virtual bool GetAcceleratorForCommandId( 36 virtual bool GetAcceleratorForCommandId(
37 int command_id, 37 int command_id,
38 menus::Accelerator* accelerator) { 38 menus::Accelerator* accelerator);
39 return false;
40 }
41 39
42 private: 40 private:
43 scoped_ptr<MenuGtk> menu_gtk_; 41 scoped_ptr<MenuGtk> menu_gtk_;
44 uint32_t triggering_event_time_; 42 uint32_t triggering_event_time_;
45 }; 43 };
46 44
47 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_GTK_H_ 45 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698