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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 void OnWindowAddedToRootWindow(Window* window); | 212 void OnWindowAddedToRootWindow(Window* window); |
213 void OnWindowRemovedFromRootWindow(Window* window); | 213 void OnWindowRemovedFromRootWindow(Window* window); |
214 | 214 |
215 // Overridden from Window: | 215 // Overridden from Window: |
216 virtual bool CanFocus() const OVERRIDE; | 216 virtual bool CanFocus() const OVERRIDE; |
217 virtual bool CanReceiveEvents() const OVERRIDE; | 217 virtual bool CanReceiveEvents() const OVERRIDE; |
218 virtual internal::FocusManager* GetFocusManager() OVERRIDE; | 218 virtual internal::FocusManager* GetFocusManager() OVERRIDE; |
219 | 219 |
220 // Overridden from ui::LayerAnimationObserver: | 220 // Overridden from ui::LayerAnimationObserver: |
221 virtual void OnLayerAnimationEnded( | 221 virtual void OnLayerAnimationEnded( |
222 ui::LayerAnimationSequence* animation) OVERRIDE; | 222 const ui::LayerAnimationSequence* animation) OVERRIDE; |
223 virtual void OnLayerAnimationScheduled( | 223 virtual void OnLayerAnimationScheduled( |
224 ui::LayerAnimationSequence* animation) OVERRIDE; | 224 const ui::LayerAnimationSequence* animation) OVERRIDE; |
225 virtual void OnLayerAnimationAborted( | 225 virtual void OnLayerAnimationAborted( |
226 ui::LayerAnimationSequence* animation) OVERRIDE; | 226 const ui::LayerAnimationSequence* animation) OVERRIDE; |
227 | 227 |
228 // Overridden from FocusManager: | 228 // Overridden from FocusManager: |
229 virtual void SetFocusedWindow(Window* window) OVERRIDE; | 229 virtual void SetFocusedWindow(Window* window) OVERRIDE; |
230 virtual Window* GetFocusedWindow() OVERRIDE; | 230 virtual Window* GetFocusedWindow() OVERRIDE; |
231 virtual bool IsFocusedWindow(const Window* window) const OVERRIDE; | 231 virtual bool IsFocusedWindow(const Window* window) const OVERRIDE; |
232 | 232 |
233 // Initializes the root window. | 233 // Initializes the root window. |
234 void Init(); | 234 void Init(); |
235 | 235 |
236 // Parses the switch describing the initial size for the host window and | 236 // Parses the switch describing the initial size for the host window and |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 scoped_ptr<GestureRecognizer> gesture_recognizer_; | 289 scoped_ptr<GestureRecognizer> gesture_recognizer_; |
290 | 290 |
291 bool synthesize_mouse_move_; | 291 bool synthesize_mouse_move_; |
292 | 292 |
293 DISALLOW_COPY_AND_ASSIGN(RootWindow); | 293 DISALLOW_COPY_AND_ASSIGN(RootWindow); |
294 }; | 294 }; |
295 | 295 |
296 } // namespace aura | 296 } // namespace aura |
297 | 297 |
298 #endif // UI_AURA_ROOT_WINDOW_H_ | 298 #endif // UI_AURA_ROOT_WINDOW_H_ |
OLD | NEW |