summaryrefslogtreecommitdiffstats
path: root/ash/wm
diff options
context:
space:
mode:
authoroshima <oshima@chromium.org>2015-01-06 16:18:25 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-07 00:19:33 +0000
commit3d8840e01a5c8fbe45b492ce29c9eb34d17eeb25 (patch)
treeb8830e9ed9317db8bfcd9c92e835664f513cd76a /ash/wm
parent774d92b9ab2d08b34dde434b06f00b472de175b7 (diff)
downloadchromium_src-3d8840e01a5c8fbe45b492ce29c9eb34d17eeb25.zip
chromium_src-3d8840e01a5c8fbe45b492ce29c9eb34d17eeb25.tar.gz
chromium_src-3d8840e01a5c8fbe45b492ce29c9eb34d17eeb25.tar.bz2
Use template specialization to generate WindowProperty code.
They used to be a inlined function in the header, which led to code generation when method is used. This changes the code generation only in DECLARE_WINDOW_PROPERTY_TYPE(). BUG=None R=sadrul@chromium.org Committed: https://crrev.com/f62e152bb7a13135a597d9766eb79551d3a24a73 Cr-Commit-Position: refs/heads/master@{#309252} Review URL: https://codereview.chromium.org/801953002 Cr-Commit-Position: refs/heads/master@{#310179}
Diffstat (limited to 'ash/wm')
-rw-r--r--ash/wm/system_modal_container_layout_manager.cc2
-rw-r--r--ash/wm/window_properties.cc2
2 files changed, 0 insertions, 4 deletions
diff --git a/ash/wm/system_modal_container_layout_manager.cc b/ash/wm/system_modal_container_layout_manager.cc
index 85916d8..9268458 100644
--- a/ash/wm/system_modal_container_layout_manager.cc
+++ b/ash/wm/system_modal_container_layout_manager.cc
@@ -30,8 +30,6 @@
#include "ui/views/widget/widget.h"
#include "ui/wm/core/compound_event_filter.h"
-DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(ASH_EXPORT, bool);
-
namespace ash {
// If this is set to true, the window will get centered.
diff --git a/ash/wm/window_properties.cc b/ash/wm/window_properties.cc
index d071a5f..f7c8b56 100644
--- a/ash/wm/window_properties.cc
+++ b/ash/wm/window_properties.cc
@@ -8,8 +8,6 @@
#include "ui/aura/window_property.h"
DECLARE_WINDOW_PROPERTY_TYPE(ash::wm::WindowState*);
-DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(ASH_EXPORT, gfx::Rect*)
-DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(ASH_EXPORT, ui::WindowShowState)
namespace ash {