| 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 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 // Returns true if there was state needing to be cleaned up. | 340 // Returns true if there was state needing to be cleaned up. |
| 341 bool CleanupGestureState(); | 341 bool CleanupGestureState(); |
| 342 | 342 |
| 343 protected: | 343 protected: |
| 344 // Deletes (or removes if not owned by parent) all child windows. Intended for | 344 // Deletes (or removes if not owned by parent) all child windows. Intended for |
| 345 // use from the destructor. | 345 // use from the destructor. |
| 346 void RemoveOrDestroyChildren(); | 346 void RemoveOrDestroyChildren(); |
| 347 | 347 |
| 348 private: | 348 private: |
| 349 friend class LayoutManager; | 349 friend class LayoutManager; |
| 350 friend class PropertyConverter; |
| 350 friend class WindowPort; | 351 friend class WindowPort; |
| 351 friend class WindowTargeter; | 352 friend class WindowTargeter; |
| 352 friend class subtle::PropertyHelper; | 353 friend class subtle::PropertyHelper; |
| 353 friend class test::WindowTestApi; | 354 friend class test::WindowTestApi; |
| 354 | 355 |
| 355 // Called by the public {Set,Get,Clear}Property functions. | 356 // Called by the public {Set,Get,Clear}Property functions. |
| 356 int64_t SetPropertyInternal(const void* key, | 357 int64_t SetPropertyInternal(const void* key, |
| 357 const char* name, | 358 const char* name, |
| 358 PropertyDeallocator deallocator, | 359 PropertyDeallocator deallocator, |
| 359 int64_t value, | 360 int64_t value, |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 }; | 534 }; |
| 534 | 535 |
| 535 std::map<const void*, Value> prop_map_; | 536 std::map<const void*, Value> prop_map_; |
| 536 | 537 |
| 537 DISALLOW_COPY_AND_ASSIGN(Window); | 538 DISALLOW_COPY_AND_ASSIGN(Window); |
| 538 }; | 539 }; |
| 539 | 540 |
| 540 } // namespace aura | 541 } // namespace aura |
| 541 | 542 |
| 542 #endif // UI_AURA_WINDOW_H_ | 543 #endif // UI_AURA_WINDOW_H_ |
| OLD | NEW |