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

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

Issue 10854205: Revert 152098 - Landing this again to get more information about the crashes. Doesn't crash locally… (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 152112)
+++ ui/views/widget/hwnd_message_handler_delegate.h (working copy)
@@ -7,15 +7,8 @@
#include "ui/views/views_export.h"
-namespace gfx {
-class Path;
-class Point;
-class Size;
-}
-
namespace views {
-class InputMethod;
class NativeWidgetWin;
// Implemented by the object that uses the HWNDMessageHandler to handle
@@ -28,15 +21,6 @@
// to avoid confusion.
virtual bool IsUsingCustomFrame() const = 0;
- virtual bool CanResize() const = 0;
- virtual bool CanMaximize() const = 0;
- virtual bool CanActivate() const = 0;
-
- virtual int GetNonClientComponent(const gfx::Point& point) const = 0;
- virtual void GetWindowMask(const gfx::Size& size, gfx::Path* mask) = 0;
-
- virtual InputMethod* GetInputMethod() = 0;
-
// TODO(beng): Investigate migrating these methods to On* prefixes once
// HWNDMessageHandler is the WindowImpl.
@@ -71,15 +55,6 @@
virtual void HandleBeginWMSizeMove() = 0;
virtual void HandleEndWMSizeMove() = 0;
- // Called when the window's position changed.
- virtual void HandleMove() = 0;
-
- // Called when focus shifted to this HWND from |last_focused_window|.
- virtual void HandleNativeFocus(HWND last_focused_window) = 0;
-
- // Called when focus shifted from the HWND to a different window.
- virtual void HandleNativeBlur(HWND focused_window) = 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