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

Unified Diff: ui/views/widget/native_widget_private.h

Issue 10827454: Move more methods from NWW to HWNDMessageHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/views/widget/native_widget_aura.cc ('k') | ui/views/widget/native_widget_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_private.h
===================================================================
--- ui/views/widget/native_widget_private.h (revision 152769)
+++ ui/views/widget/native_widget_private.h (working copy)
@@ -39,8 +39,7 @@
// NativeWidget implementations. This file should not be included
// in code that does not fall into one of these use cases.
//
-class VIEWS_EXPORT NativeWidgetPrivate : public NativeWidget,
- public internal::InputMethodDelegate {
+class VIEWS_EXPORT NativeWidgetPrivate : public NativeWidget {
public:
virtual ~NativeWidgetPrivate() {}
@@ -137,7 +136,10 @@
// class doesn't inherit Widget anymore.
virtual InputMethod* CreateInputMethod() = 0;
+ // Returns the InputMethodDelegate for this native widget.
+ virtual InputMethodDelegate* GetInputMethodDelegate() = 0;
+
// Centers the window and sizes it to the specified size.
virtual void CenterWindow(const gfx::Size& size) = 0;
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/native_widget_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698