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

Unified Diff: ui/aura/window.h

Issue 801953002: Use template specialization to generate WindowProperty code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use namespace Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/client/focus_client.cc ('k') | ui/aura/window_property.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index d1cff7b8049994e36da8a15db7dac87b3434b498..79b8467b32630308cfd59b1e0000c355482a3638 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -52,6 +52,10 @@ class WindowTreeHost;
template<typename T>
struct WindowProperty;
+namespace subtle {
+class PropertyHelper;
+}
+
namespace test {
class WindowTestApi;
}
@@ -332,7 +336,7 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
friend class test::WindowTestApi;
friend class LayoutManager;
friend class WindowTargeter;
-
+ friend class subtle::PropertyHelper;
// Called by the public {Set,Get,Clear}Property functions.
int64 SetPropertyInternal(const void* key,
const char* name,
« no previous file with comments | « ui/aura/client/focus_client.cc ('k') | ui/aura/window_property.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698