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

Unified Diff: content/browser/web_contents/web_contents_view_mac.h

Issue 10824004: [mac] Implement {frame: 'none'} app window on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: 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(

Powered by Google App Engine
This is Rietveld 408576698