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

Unified Diff: views/controls/menu/native_menu_host_delegate.h

Issue 7015051: Re-land: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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/controls/menu/menu_host_win.cc ('k') | views/controls/native/native_view_host_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/native_menu_host_delegate.h
===================================================================
--- views/controls/menu/native_menu_host_delegate.h (revision 85284)
+++ views/controls/menu/native_menu_host_delegate.h (working copy)
@@ -9,6 +9,7 @@
class MenuHost;
class RootView;
namespace internal {
+class NativeWidgetDelegate;
class NativeMenuHostDelegate {
public:
@@ -20,10 +21,7 @@
// Called when the NativeMenuHost is losing input capture.
virtual void OnNativeMenuHostCancelCapture() = 0;
- // Pass-thrus for Widget overrides.
- // TODO(beng): Remove once MenuHost is-a Widget.
- virtual RootView* CreateRootView() = 0;
- virtual bool ShouldReleaseCaptureOnMouseRelease() const = 0;
+ virtual NativeWidgetDelegate* AsNativeWidgetDelegate() = 0;
};
} // namespace internal
« no previous file with comments | « views/controls/menu/menu_host_win.cc ('k') | views/controls/native/native_view_host_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698