| 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_WINDOW_H_ | 5 #ifndef UI_AURA_WINDOW_H_ |
| 6 #define UI_AURA_WINDOW_H_ | 6 #define UI_AURA_WINDOW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 | 347 |
| 348 // Called when this window's stacking order among its siblings is changed. | 348 // Called when this window's stacking order among its siblings is changed. |
| 349 void OnStackingChanged(); | 349 void OnStackingChanged(); |
| 350 | 350 |
| 351 // Notifies observers registered with this Window (and its subtree) when the | 351 // Notifies observers registered with this Window (and its subtree) when the |
| 352 // Window has been added or is about to be removed from a RootWindow. | 352 // Window has been added or is about to be removed from a RootWindow. |
| 353 void NotifyAddedToRootWindow(); | 353 void NotifyAddedToRootWindow(); |
| 354 void NotifyRemovingFromRootWindow(); | 354 void NotifyRemovingFromRootWindow(); |
| 355 | 355 |
| 356 // Overridden from ui::LayerDelegate: | 356 // Overridden from ui::LayerDelegate: |
| 357 virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; | 357 virtual void OnPaintLayer(gfx::CanvasSkia* canvas) OVERRIDE; |
| 358 | 358 |
| 359 // Updates the layer name with a name based on the window's name and id. | 359 // Updates the layer name with a name based on the window's name and id. |
| 360 void UpdateLayerName(const std::string& name); | 360 void UpdateLayerName(const std::string& name); |
| 361 | 361 |
| 362 // Returns true if this window is behind a window that stops event | 362 // Returns true if this window is behind a window that stops event |
| 363 // propagation. | 363 // propagation. |
| 364 bool IsBehindStopEventsWindow() const; | 364 bool IsBehindStopEventsWindow() const; |
| 365 | 365 |
| 366 client::WindowType type_; | 366 client::WindowType type_; |
| 367 | 367 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 ObserverList<WindowObserver> observers_; | 414 ObserverList<WindowObserver> observers_; |
| 415 | 415 |
| 416 std::map<const void*, intptr_t> prop_map_; | 416 std::map<const void*, intptr_t> prop_map_; |
| 417 | 417 |
| 418 DISALLOW_COPY_AND_ASSIGN(Window); | 418 DISALLOW_COPY_AND_ASSIGN(Window); |
| 419 }; | 419 }; |
| 420 | 420 |
| 421 } // namespace aura | 421 } // namespace aura |
| 422 | 422 |
| 423 #endif // UI_AURA_WINDOW_H_ | 423 #endif // UI_AURA_WINDOW_H_ |
| OLD | NEW |