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

Unified Diff: views/views_delegate.h

Issue 7067032: Add MenuModelAdapter to wrap ui::MenuModel with views::MenuDelegate interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implemented reviewer recommendations. Created 9 years, 7 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 | « views/views.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/views_delegate.h
diff --git a/views/views_delegate.h b/views/views_delegate.h
index 9df7327b99232e3cea6d31499c897c8f87dfc310..417c33452a6a44cec2a08d8ac485cb0813858897 100644
--- a/views/views_delegate.h
+++ b/views/views_delegate.h
@@ -80,6 +80,9 @@ class ViewsDelegate {
virtual void AddRef() = 0;
virtual void ReleaseRef() = 0;
+ // Converts views::Event::flags to a WindowOpenDisposition.
+ virtual int GetDispositionForEvent(int event_flags) = 0;
+
// The active ViewsDelegate used by the views system.
static ViewsDelegate* views_delegate;
};
« no previous file with comments | « views/views.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698