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

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

Issue 10827422: Move more message handlers from NativeWidgetWin 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/hwnd_message_handler.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/hwnd_message_handler_delegate.h
===================================================================
--- ui/views/widget/hwnd_message_handler_delegate.h (revision 152346)
+++ ui/views/widget/hwnd_message_handler_delegate.h (working copy)
@@ -9,6 +9,7 @@
namespace views {
+class InputMethod;
class NativeWidgetWin;
// Implemented by the object that uses the HWNDMessageHandler to handle
@@ -21,6 +22,8 @@
// to avoid confusion.
virtual bool IsUsingCustomFrame() const = 0;
+ virtual InputMethod* GetInputMethod() = 0;
+
// TODO(beng): Investigate migrating these methods to On* prefixes once
// HWNDMessageHandler is the WindowImpl.
@@ -55,6 +58,9 @@
virtual void HandleBeginWMSizeMove() = 0;
virtual void HandleEndWMSizeMove() = 0;
+ // Called when the window's position changed.
+ virtual void HandleMove() = 0;
+
// This is provided for methods that need to call private methods on NWW.
// TODO(beng): should be removed once HWNDMessageHandler is the WindowImpl.
virtual NativeWidgetWin* AsNativeWidgetWin() = 0;
« no previous file with comments | « ui/views/widget/hwnd_message_handler.cc ('k') | ui/views/widget/native_widget_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698