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 | |
26 namespace wm { | 22 namespace wm { |
27 class ScopedTooltipDisabler; | 23 class ScopedTooltipDisabler; |
28 } // namespace wm | 24 } |
29 | 25 |
30 namespace views { | 26 namespace views { |
31 class DesktopDragDropClientWin; | 27 class DesktopDragDropClientWin; |
32 class HWNDMessageHandler; | 28 class HWNDMessageHandler; |
33 class NonClientFrameView; | 29 class NonClientFrameView; |
34 | 30 |
35 namespace corewm { | 31 namespace corewm { |
36 class TooltipWin; | 32 class TooltipWin; |
37 } | 33 } |
38 | 34 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 void MoveCursorToScreenLocationInPixels( | 128 void MoveCursorToScreenLocationInPixels( |
133 const gfx::Point& location_in_pixels) override; | 129 const gfx::Point& location_in_pixels) override; |
134 | 130 |
135 // Overridden from aura::client::AnimationHost | 131 // Overridden from aura::client::AnimationHost |
136 void SetHostTransitionOffsets( | 132 void SetHostTransitionOffsets( |
137 const gfx::Vector2d& top_left_delta, | 133 const gfx::Vector2d& top_left_delta, |
138 const gfx::Vector2d& bottom_right_delta) override; | 134 const gfx::Vector2d& bottom_right_delta) override; |
139 void OnWindowHidingAnimationCompleted() override; | 135 void OnWindowHidingAnimationCompleted() override; |
140 | 136 |
141 // Overridden from HWNDMessageHandlerDelegate: | 137 // Overridden from HWNDMessageHandlerDelegate: |
142 ui::InputMethod* GetHWNDMessageDelegateInputMethod() override; | |
143 bool HasNonClientView() const override; | 138 bool HasNonClientView() const override; |
144 FrameMode GetFrameMode() const override; | 139 FrameMode GetFrameMode() const override; |
145 bool HasFrame() const override; | 140 bool HasFrame() const override; |
146 void SchedulePaint() override; | 141 void SchedulePaint() override; |
147 void SetAlwaysRenderAsActive(bool always_render_as_active) override; | 142 void SetAlwaysRenderAsActive(bool always_render_as_active) override; |
148 bool IsAlwaysRenderAsActive() override; | 143 bool IsAlwaysRenderAsActive() override; |
149 bool CanResize() const override; | 144 bool CanResize() const override; |
150 bool CanMaximize() const override; | 145 bool CanMaximize() const override; |
151 bool CanMinimize() const override; | 146 bool CanMinimize() const override; |
152 bool CanActivate() const override; | 147 bool CanActivate() const override; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 // Indicates if current window will receive mouse events when should not | 274 // Indicates if current window will receive mouse events when should not |
280 // become activated. | 275 // become activated. |
281 bool wants_mouse_events_when_inactive_ = false; | 276 bool wants_mouse_events_when_inactive_ = false; |
282 | 277 |
283 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 278 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
284 }; | 279 }; |
285 | 280 |
286 } // namespace views | 281 } // namespace views |
287 | 282 |
288 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 283 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
OLD | NEW |