Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Side by Side Diff: ui/aura/window.h

Issue 2488353005: Implement aura::PropertyConverter for mus interop. (Closed)
Patch Set: Remove key name comparison. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/aura/test/aura_test_base.cc ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « ui/aura/test/aura_test_base.cc ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698