| Index: views/widget/window_manager.h
|
| diff --git a/views/widget/window_manager.h b/views/widget/window_manager.h
|
| index 56f785ceac65df0057becd9de21ed41057d66790..02015cc0e6aa6b1947209dc043b9a9b7314ed90d 100644
|
| --- a/views/widget/window_manager.h
|
| +++ b/views/widget/window_manager.h
|
| @@ -14,6 +14,7 @@ class Point;
|
| }
|
|
|
| namespace views {
|
| +class KeyEvent;
|
| class MouseEvent;
|
| class Widget;
|
|
|
| @@ -47,8 +48,15 @@ class VIEWS_EXPORT WindowManager {
|
|
|
| // WindowManager handles mouse event first. It may reisze/move window,
|
| // or send the event to widget that has mouse capture.
|
| + virtual bool HandleKeyEvent(Widget* widget, const KeyEvent& event) = 0;
|
| +
|
| + // WindowManager handles mouse event first. It may reisze/move window,
|
| + // or send the event to widget that has mouse capture.
|
| virtual bool HandleMouseEvent(Widget* widget, const MouseEvent& event) = 0;
|
|
|
| + // Register widget to the window manager.
|
| + virtual void Register(Widget* widget) = 0;
|
| +
|
| // Installs window manager.
|
| static void Install(WindowManager* wm);
|
|
|
|
|