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

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: Restore NOTREACHED() in IsCommandEnabled(). 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
« views/controls/menu/menu_model_adapter_unittest.cc ('K') | « 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..efda0fc450a4604a7bde0dd8b2d761c64899a426 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;
+ // Convert event to window disposition.
sky 2011/05/25 15:41:12 How about: Converts views::Event::flags to a Windo
rhashimoto 2011/05/25 16:24:37 Done.
+ virtual int GetDispositionForEvent(int event_flags) = 0;
+
// The active ViewsDelegate used by the views system.
static ViewsDelegate* views_delegate;
};
« views/controls/menu/menu_model_adapter_unittest.cc ('K') | « views/views.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698