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