| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 LRESULT* l_result) override; | 189 LRESULT* l_result) override; |
| 190 void HandleMenuLoop(bool in_menu_loop) override; | 190 void HandleMenuLoop(bool in_menu_loop) override; |
| 191 bool PreHandleMSG(UINT message, | 191 bool PreHandleMSG(UINT message, |
| 192 WPARAM w_param, | 192 WPARAM w_param, |
| 193 LPARAM l_param, | 193 LPARAM l_param, |
| 194 LRESULT* result) override; | 194 LRESULT* result) override; |
| 195 void PostHandleMSG(UINT message, WPARAM w_param, LPARAM l_param) override; | 195 void PostHandleMSG(UINT message, WPARAM w_param, LPARAM l_param) override; |
| 196 bool HandleScrollEvent(const ui::ScrollEvent& event) override; | 196 bool HandleScrollEvent(const ui::ScrollEvent& event) override; |
| 197 void HandleWindowSizeChanging() override; | 197 void HandleWindowSizeChanging() override; |
| 198 void HandleWindowSizeChanged() override; | 198 void HandleWindowSizeChanged() override; |
| 199 void HandleWindowScaleFactorChanged(float window_scale_factor) override; |
| 199 | 200 |
| 200 Widget* GetWidget(); | 201 Widget* GetWidget(); |
| 201 const Widget* GetWidget() const; | 202 const Widget* GetWidget() const; |
| 202 HWND GetHWND() const; | 203 HWND GetHWND() const; |
| 203 | 204 |
| 204 private: | 205 private: |
| 205 void SetWindowTransparency(); | 206 void SetWindowTransparency(); |
| 206 | 207 |
| 207 // Returns true if a modal window is active in the current root window chain. | 208 // Returns true if a modal window is active in the current root window chain. |
| 208 bool IsModalWindowActive() const; | 209 bool IsModalWindowActive() const; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 // Indicates if current window will receive mouse events when should not | 266 // Indicates if current window will receive mouse events when should not |
| 266 // become activated. | 267 // become activated. |
| 267 bool wants_mouse_events_when_inactive_ = false; | 268 bool wants_mouse_events_when_inactive_ = false; |
| 268 | 269 |
| 269 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 270 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
| 270 }; | 271 }; |
| 271 | 272 |
| 272 } // namespace views | 273 } // namespace views |
| 273 | 274 |
| 274 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 275 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
| OLD | NEW |