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

Unified Diff: chrome/browser/tab_contents/tab_contents_view_win.h

Issue 122027: Remove the Menu object, converting all the remaining callers to use Menu2. I'... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/tab_contents_view_win.h
===================================================================
--- chrome/browser/tab_contents/tab_contents_view_win.h (revision 18306)
+++ chrome/browser/tab_contents/tab_contents_view_win.h (working copy)
@@ -10,11 +10,11 @@
#include "chrome/browser/tab_contents/tab_contents_view.h"
#include "views/widget/widget_win.h"
+class RenderViewContextMenuWin;
class SadTabView;
struct WebDropData;
class WebDropTarget;
-
// Windows-specific implementation of the TabContentsView. It is a HWND that
// contains all of the contents of the tab and associated child views.
class TabContentsViewWin : public TabContentsView,
@@ -101,6 +101,9 @@
// The id used in the ViewStorage to store the last focused view.
int last_focused_view_storage_id_;
+ // The context menu. Callbacks are asynchronous so we need to keep it around.
+ scoped_ptr<RenderViewContextMenuWin> context_menu_;
+
DISALLOW_COPY_AND_ASSIGN(TabContentsViewWin);
};
« no previous file with comments | « chrome/browser/tab_contents/render_view_context_menu_win.cc ('k') | chrome/browser/tab_contents/tab_contents_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698