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

Unified Diff: chrome/browser/ui/views/chrome_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
Index: chrome/browser/ui/views/chrome_views_delegate.h
diff --git a/chrome/browser/ui/views/chrome_views_delegate.h b/chrome/browser/ui/views/chrome_views_delegate.h
index b115ce40e4cdcc04733ac1cab585b28b7f2e01fd..91936805358fb9369389c2d2206838f6b59c93ce 100644
--- a/chrome/browser/ui/views/chrome_views_delegate.h
+++ b/chrome/browser/ui/views/chrome_views_delegate.h
@@ -7,6 +7,7 @@
#pragma once
#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "build/build_config.h"
#include "ui/base/accessibility/accessibility_types.h"
#include "views/views_delegate.h"
@@ -47,6 +48,8 @@ class ChromeViewsDelegate : public views::ViewsDelegate {
virtual void AddRef();
virtual void ReleaseRef();
+ virtual int GetDispositionForEvent(int event_flags) OVERRIDE;
sky 2011/05/25 15:41:12 It looks weird to have one OVERRIDE, but not all.
rhashimoto 2011/05/25 16:24:37 Done.
+
private:
DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698