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" |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 bool WillProcessWorkAreaChange() const override; | 142 bool WillProcessWorkAreaChange() const override; |
143 int GetNonClientComponent(const gfx::Point& point) const override; | 143 int GetNonClientComponent(const gfx::Point& point) const override; |
144 void GetWindowMask(const gfx::Size& size, gfx::Path* path) override; | 144 void GetWindowMask(const gfx::Size& size, gfx::Path* path) override; |
145 bool GetClientAreaInsets(gfx::Insets* insets) const override; | 145 bool GetClientAreaInsets(gfx::Insets* insets) const override; |
146 void GetMinMaxSize(gfx::Size* min_size, gfx::Size* max_size) const override; | 146 void GetMinMaxSize(gfx::Size* min_size, gfx::Size* max_size) const override; |
147 gfx::Size GetRootViewSize() const override; | 147 gfx::Size GetRootViewSize() const override; |
148 void ResetWindowControls() override; | 148 void ResetWindowControls() override; |
149 gfx::NativeViewAccessible GetNativeViewAccessible() override; | 149 gfx::NativeViewAccessible GetNativeViewAccessible() override; |
150 bool ShouldHandleSystemCommands() const override; | 150 bool ShouldHandleSystemCommands() const override; |
151 void HandleAppDeactivated() override; | 151 void HandleAppDeactivated() override; |
152 void HandleActivationChanged(bool active) override; | 152 void HandleActivationChanged( |
| 153 bool active, |
| 154 HWND window_gaining_or_losing_activation) override; |
153 bool HandleAppCommand(short command) override; | 155 bool HandleAppCommand(short command) override; |
154 void HandleCancelMode() override; | 156 void HandleCancelMode() override; |
155 void HandleCaptureLost() override; | 157 void HandleCaptureLost() override; |
156 void HandleClose() override; | 158 void HandleClose() override; |
157 bool HandleCommand(int command) override; | 159 bool HandleCommand(int command) override; |
158 void HandleAccelerator(const ui::Accelerator& accelerator) override; | 160 void HandleAccelerator(const ui::Accelerator& accelerator) override; |
159 void HandleCreate() override; | 161 void HandleCreate() override; |
160 void HandleDestroying() override; | 162 void HandleDestroying() override; |
161 void HandleDestroyed() override; | 163 void HandleDestroyed() override; |
162 bool HandleInitialFocus(ui::WindowShowState show_state) override; | 164 bool HandleInitialFocus(ui::WindowShowState show_state) override; |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 // Indicates if current window will receive mouse events when should not | 261 // Indicates if current window will receive mouse events when should not |
260 // become activated. | 262 // become activated. |
261 bool wants_mouse_events_when_inactive_ = false; | 263 bool wants_mouse_events_when_inactive_ = false; |
262 | 264 |
263 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 265 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
264 }; | 266 }; |
265 | 267 |
266 } // namespace views | 268 } // namespace views |
267 | 269 |
268 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 270 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
OLD | NEW |