| 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_AURA_ROOT_WINDOW_H_ | 5 #ifndef UI_AURA_ROOT_WINDOW_H_ |
| 6 #define UI_AURA_ROOT_WINDOW_H_ | 6 #define UI_AURA_ROOT_WINDOW_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 | 122 |
| 123 // Invoked when the cursor's visibility has changed. | 123 // Invoked when the cursor's visibility has changed. |
| 124 void OnCursorVisibilityChanged(bool visible); | 124 void OnCursorVisibilityChanged(bool visible); |
| 125 | 125 |
| 126 // Invoked when the mouse events get enabled or disabled. | 126 // Invoked when the mouse events get enabled or disabled. |
| 127 void OnMouseEventsEnableStateChanged(bool enabled); | 127 void OnMouseEventsEnableStateChanged(bool enabled); |
| 128 | 128 |
| 129 // Moves the cursor to the specified location relative to the root window. | 129 // Moves the cursor to the specified location relative to the root window. |
| 130 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; | 130 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; |
| 131 | 131 |
| 132 // Moves the cursor to the |host_location| given in host coordinates. |
| 133 void MoveCursorToHostLoation(const gfx::Point& host_location); |
| 134 |
| 132 // Clips the cursor movement to the root_window. | 135 // Clips the cursor movement to the root_window. |
| 133 bool ConfineCursorToWindow(); | 136 bool ConfineCursorToWindow(); |
| 134 | 137 |
| 135 // Draws the necessary set of windows. | 138 // Draws the necessary set of windows. |
| 136 void Draw(); | 139 void Draw(); |
| 137 | 140 |
| 138 // Draw the whole screen. | 141 // Draw the whole screen. |
| 139 void ScheduleFullRedraw(); | 142 void ScheduleFullRedraw(); |
| 140 | 143 |
| 141 // Draw the damage_rect. | 144 // Draw the damage_rect. |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 scoped_ptr<ui::ViewProp> prop_; | 457 scoped_ptr<ui::ViewProp> prop_; |
| 455 | 458 |
| 456 scoped_ptr<RootWindowTransformer> transformer_; | 459 scoped_ptr<RootWindowTransformer> transformer_; |
| 457 | 460 |
| 458 DISALLOW_COPY_AND_ASSIGN(RootWindow); | 461 DISALLOW_COPY_AND_ASSIGN(RootWindow); |
| 459 }; | 462 }; |
| 460 | 463 |
| 461 } // namespace aura | 464 } // namespace aura |
| 462 | 465 |
| 463 #endif // UI_AURA_ROOT_WINDOW_H_ | 466 #endif // UI_AURA_ROOT_WINDOW_H_ |
| OLD | NEW |