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

Unified Diff: ui/views/cocoa/bridged_content_view.h

Issue 1877043003: [EXPERIMENT] MacViews: Implement Tab Dragging Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 4 years, 8 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
« no previous file with comments | « ui/gfx/geometry/rect_unittest.cc ('k') | ui/views/cocoa/bridged_content_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/cocoa/bridged_content_view.h
diff --git a/ui/views/cocoa/bridged_content_view.h b/ui/views/cocoa/bridged_content_view.h
index f4b6a867cd7c56da72d142f05aa21551bf6a6cc8..4e6ce9df038a102598053fa7ee509bc54a8adcaf 100644
--- a/ui/views/cocoa/bridged_content_view.h
+++ b/ui/views/cocoa/bridged_content_view.h
@@ -17,6 +17,10 @@ class TextInputClient;
namespace views {
class View;
+
+// User data supplied in kCGEventSourceUserData for an event that should be
+// ignored.
+enum { kIgnoreEventUserData = 1 };
}
// The NSView that sits as the root contentView of the NSWindow, whilst it has
@@ -61,6 +65,9 @@ class View;
// so that BridgedNativeWidget can dynamically enable dragging of the window.
@property(assign) BOOL mouseDownCanMoveWindow;
+// When |flag| is YES, will make BridgedContentView ignore all mouse events.
++ (void)setIgnoreMouseEvents:(BOOL)flag;
+
// Initialize the NSView -> views::View bridge. |viewToHost| must be non-NULL.
- (id)initWithView:(views::View*)viewToHost;
« no previous file with comments | « ui/gfx/geometry/rect_unittest.cc ('k') | ui/views/cocoa/bridged_content_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698