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

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

Issue 7227007: [Mac] Show correct cursor after context menu is closed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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_mac.h
===================================================================
--- chrome/browser/tab_contents/tab_contents_view_mac.h (revision 91505)
+++ chrome/browser/tab_contents/tab_contents_view_mac.h (working copy)
@@ -12,6 +12,7 @@
#include <vector>
#include "base/memory/scoped_nsobject.h"
+#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/cocoa/base_view.h"
#include "content/browser/tab_contents/tab_contents_view.h"
#include "content/common/notification_observer.h"
@@ -19,6 +20,7 @@
#include "ui/gfx/size.h"
@class FocusTracker;
+class RenderViewContextMenuMac;
@class SadTabController;
class SkBitmap;
class TabContentsViewMac;
@@ -125,6 +127,9 @@
// visible.
scoped_nsobject<SadTabController> sad_tab_;
+ // The context menu. Callbacks are asynchronous so we need to keep it around.
+ scoped_ptr<RenderViewContextMenuMac> context_menu_;
+
// The page content's intrinsic width.
int preferred_width_;

Powered by Google App Engine
This is Rietveld 408576698