OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "ui/aura/window_tree_host.h" | 9 #include "ui/aura/window_tree_host.h" |
10 #include "ui/views/views_export.h" | 10 #include "ui/views/views_export.h" |
11 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" | 11 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" |
12 #include "ui/views/win/hwnd_message_handler_delegate.h" | 12 #include "ui/views/win/hwnd_message_handler_delegate.h" |
13 #include "ui/wm/public/animation_host.h" | 13 #include "ui/wm/public/animation_host.h" |
14 | 14 |
15 namespace aura { | 15 namespace aura { |
16 namespace client { | 16 namespace client { |
17 class DragDropClient; | 17 class DragDropClient; |
18 class FocusClient; | 18 class FocusClient; |
19 } | 19 } |
20 } | 20 } |
21 | 21 |
| 22 namespace ui { |
| 23 class InputMethod; |
| 24 } // namespace ui |
| 25 |
22 namespace wm { | 26 namespace wm { |
23 class ScopedTooltipDisabler; | 27 class ScopedTooltipDisabler; |
24 } | 28 } // namespace wm |
25 | 29 |
26 namespace views { | 30 namespace views { |
27 class DesktopDragDropClientWin; | 31 class DesktopDragDropClientWin; |
28 class HWNDMessageHandler; | 32 class HWNDMessageHandler; |
29 class NonClientFrameView; | 33 class NonClientFrameView; |
30 | 34 |
31 namespace corewm { | 35 namespace corewm { |
32 class TooltipWin; | 36 class TooltipWin; |
33 } | 37 } |
34 | 38 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 void MoveCursorToScreenLocationInPixels( | 132 void MoveCursorToScreenLocationInPixels( |
129 const gfx::Point& location_in_pixels) override; | 133 const gfx::Point& location_in_pixels) override; |
130 | 134 |
131 // Overridden from aura::client::AnimationHost | 135 // Overridden from aura::client::AnimationHost |
132 void SetHostTransitionOffsets( | 136 void SetHostTransitionOffsets( |
133 const gfx::Vector2d& top_left_delta, | 137 const gfx::Vector2d& top_left_delta, |
134 const gfx::Vector2d& bottom_right_delta) override; | 138 const gfx::Vector2d& bottom_right_delta) override; |
135 void OnWindowHidingAnimationCompleted() override; | 139 void OnWindowHidingAnimationCompleted() override; |
136 | 140 |
137 // Overridden from HWNDMessageHandlerDelegate: | 141 // Overridden from HWNDMessageHandlerDelegate: |
| 142 ui::InputMethod* GetHWNDMessageDelegateInputMethod() override; |
138 bool HasNonClientView() const override; | 143 bool HasNonClientView() const override; |
139 FrameMode GetFrameMode() const override; | 144 FrameMode GetFrameMode() const override; |
140 bool HasFrame() const override; | 145 bool HasFrame() const override; |
141 void SchedulePaint() override; | 146 void SchedulePaint() override; |
142 void SetAlwaysRenderAsActive(bool always_render_as_active) override; | 147 void SetAlwaysRenderAsActive(bool always_render_as_active) override; |
143 bool IsAlwaysRenderAsActive() override; | 148 bool IsAlwaysRenderAsActive() override; |
144 bool CanResize() const override; | 149 bool CanResize() const override; |
145 bool CanMaximize() const override; | 150 bool CanMaximize() const override; |
146 bool CanMinimize() const override; | 151 bool CanMinimize() const override; |
147 bool CanActivate() const override; | 152 bool CanActivate() const override; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 // Indicates if current window will receive mouse events when should not | 279 // Indicates if current window will receive mouse events when should not |
275 // become activated. | 280 // become activated. |
276 bool wants_mouse_events_when_inactive_ = false; | 281 bool wants_mouse_events_when_inactive_ = false; |
277 | 282 |
278 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 283 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
279 }; | 284 }; |
280 | 285 |
281 } // namespace views | 286 } // namespace views |
282 | 287 |
283 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 288 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
OLD | NEW |