Index: content/browser/web_contents/web_contents_view_mac.h |
diff --git a/content/browser/web_contents/web_contents_view_mac.h b/content/browser/web_contents/web_contents_view_mac.h |
index 016c3ba8e2a511837ae3b9f7c8a2ef7a29613a8d..954e022f8e40eba038d879c58697269e26554b2a 100644 |
--- a/content/browser/web_contents/web_contents_view_mac.h |
+++ b/content/browser/web_contents/web_contents_view_mac.h |
@@ -37,8 +37,11 @@ class Point; |
WebContentsViewMac* webContentsView_; // WEAK; owns us |
scoped_nsobject<WebDragSource> dragSource_; |
scoped_nsobject<WebDragDest> dragDest_; |
+ BOOL mouseDownCanMoveWindow_; |
} |
+- (void)setMouseDownCanMoveWindow:(BOOL)canMove; |
+ |
// Expose this, since sometimes one needs both the NSView and the |
// WebContentsImpl. |
- (WebContentsImpl*)webContents; |
@@ -81,6 +84,7 @@ class WebContentsViewMac |
virtual bool IsEventTracking() const OVERRIDE; |
virtual void CloseTabAfterEventTracking() OVERRIDE; |
virtual gfx::Rect GetViewBounds() const OVERRIDE; |
+ virtual void SetMouseDownCanMoveWindow(bool can_move) OVERRIDE; |
// Backend implementation of RenderViewHostDelegateView. |
virtual void ShowContextMenu( |