summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-21 19:45:01 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-21 19:45:01 +0000
commitaf4552b2cae3064ea81de296a821c6657f8c946c (patch)
treea8b426170bbfe9de52518973b4e485157053a76a /ui
parent0e2c717e6168b2a3c59263ca03bdb6e5fdbfd262 (diff)
downloadchromium_src-af4552b2cae3064ea81de296a821c6657f8c946c.zip
chromium_src-af4552b2cae3064ea81de296a821c6657f8c946c.tar.gz
chromium_src-af4552b2cae3064ea81de296a821c6657f8c946c.tar.bz2
Move some code from aura/client to wm/public
Still building as part of the aura target, will fix that in a future step. TBR=sky@chromium.org http://crbug.com/308710 Review URL: https://codereview.chromium.org/206453005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258651 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r--ui/aura/aura.gyp44
-rw-r--r--ui/aura/client/default_activation_client.cc4
-rw-r--r--ui/aura/client/default_activation_client.h2
-rw-r--r--ui/views/controls/menu/menu_controller.cc2
-rw-r--r--ui/views/controls/menu/menu_controller_aura.cc8
-rw-r--r--ui/views/corewm/tooltip_controller.cc2
-rw-r--r--ui/views/corewm/tooltip_controller.h2
-rw-r--r--ui/views/corewm/tooltip_controller_unittest.cc2
-rw-r--r--ui/views/drag_utils.cc2
-rw-r--r--ui/views/widget/desktop_aura/desktop_dispatcher_client.h2
-rw-r--r--ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc4
-rw-r--r--ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h2
-rw-r--r--ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h2
-rw-r--r--ui/views/widget/desktop_aura/desktop_drop_target_win.cc4
-rw-r--r--ui/views/widget/desktop_aura/desktop_native_widget_aura.cc4
-rw-r--r--ui/views/widget/desktop_aura/desktop_native_widget_aura.h6
-rw-r--r--ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc2
-rw-r--r--ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc2
-rw-r--r--ui/views/widget/desktop_aura/desktop_window_tree_host_win.h2
-rw-r--r--ui/views/widget/desktop_aura/x11_desktop_window_move_client.h2
-rw-r--r--ui/views/widget/native_widget_aura.cc6
-rw-r--r--ui/views/widget/native_widget_aura.h6
-rw-r--r--ui/views/widget/tooltip_manager_aura.cc2
-rw-r--r--ui/views/widget/widget_interactive_uitest.cc2
-rw-r--r--ui/wm/core/base_focus_rules.cc2
-rw-r--r--ui/wm/core/compound_event_filter.cc4
-rw-r--r--ui/wm/core/compound_event_filter_unittest.cc2
-rw-r--r--ui/wm/core/easy_resize_window_targeter.cc2
-rw-r--r--ui/wm/core/focus_controller.cc2
-rw-r--r--ui/wm/core/focus_controller.h2
-rw-r--r--ui/wm/core/focus_controller_unittest.cc4
-rw-r--r--ui/wm/core/input_method_event_filter_unittest.cc2
-rw-r--r--ui/wm/core/shadow_controller.cc2
-rw-r--r--ui/wm/core/shadow_controller.h2
-rw-r--r--ui/wm/core/shadow_controller_unittest.cc2
-rw-r--r--ui/wm/core/transient_window_controller.h2
-rw-r--r--ui/wm/core/window_animations.cc2
-rw-r--r--ui/wm/core/window_animations_unittest.cc2
-rw-r--r--ui/wm/core/window_util.cc2
-rw-r--r--ui/wm/public/DEPS9
-rw-r--r--ui/wm/public/activation_change_observer.cc (renamed from ui/aura/client/activation_change_observer.cc)2
-rw-r--r--ui/wm/public/activation_change_observer.h (renamed from ui/aura/client/activation_change_observer.h)6
-rw-r--r--ui/wm/public/activation_client.cc (renamed from ui/aura/client/activation_client.cc)4
-rw-r--r--ui/wm/public/activation_client.h (renamed from ui/aura/client/activation_client.h)6
-rw-r--r--ui/wm/public/activation_delegate.cc (renamed from ui/aura/client/activation_delegate.cc)2
-rw-r--r--ui/wm/public/activation_delegate.h (renamed from ui/aura/client/activation_delegate.h)6
-rw-r--r--ui/wm/public/animation_host.cc (renamed from ui/aura/client/animation_host.cc)8
-rw-r--r--ui/wm/public/animation_host.h (renamed from ui/aura/client/animation_host.h)6
-rw-r--r--ui/wm/public/dispatcher_client.cc (renamed from ui/aura/client/dispatcher_client.cc)3
-rw-r--r--ui/wm/public/dispatcher_client.h (renamed from ui/aura/client/dispatcher_client.h)6
-rw-r--r--ui/wm/public/drag_drop_client.cc (renamed from ui/aura/client/drag_drop_client.cc)4
-rw-r--r--ui/wm/public/drag_drop_client.h (renamed from ui/aura/client/drag_drop_client.h)6
-rw-r--r--ui/wm/public/drag_drop_delegate.cc (renamed from ui/aura/client/drag_drop_delegate.cc)2
-rw-r--r--ui/wm/public/drag_drop_delegate.h (renamed from ui/aura/client/drag_drop_delegate.h)6
-rw-r--r--ui/wm/public/scoped_tooltip_disabler.cc (renamed from ui/aura/client/scoped_tooltip_disabler.cc)4
-rw-r--r--ui/wm/public/scoped_tooltip_disabler.h (renamed from ui/aura/client/scoped_tooltip_disabler.h)6
-rw-r--r--ui/wm/public/tooltip_client.cc (renamed from ui/aura/client/tooltip_client.cc)4
-rw-r--r--ui/wm/public/tooltip_client.h (renamed from ui/aura/client/tooltip_client.h)6
-rw-r--r--ui/wm/public/transient_window_client.cc (renamed from ui/aura/client/transient_window_client.cc)2
-rw-r--r--ui/wm/public/transient_window_client.h (renamed from ui/aura/client/transient_window_client.h)6
-rw-r--r--ui/wm/public/window_move_client.cc (renamed from ui/aura/client/window_move_client.cc)2
-rw-r--r--ui/wm/public/window_move_client.h (renamed from ui/aura/client/window_move_client.h)6
62 files changed, 133 insertions, 129 deletions
diff --git a/ui/aura/aura.gyp b/ui/aura/aura.gyp
index cc94586..6bf7b2e 100644
--- a/ui/aura/aura.gyp
+++ b/ui/aura/aura.gyp
@@ -27,14 +27,6 @@
'AURA_IMPLEMENTATION',
],
'sources': [
- 'client/activation_change_observer.h',
- 'client/activation_change_observer.cc',
- 'client/activation_client.cc',
- 'client/activation_client.h',
- 'client/activation_delegate.cc',
- 'client/activation_delegate.h',
- 'client/animation_host.cc',
- 'client/animation_host.h',
'client/aura_constants.cc',
'client/aura_constants.h',
'client/capture_client.cc',
@@ -48,30 +40,16 @@
'client/default_activation_client.h',
'client/default_capture_client.cc',
'client/default_capture_client.h',
- 'client/dispatcher_client.cc',
- 'client/dispatcher_client.h',
- 'client/drag_drop_client.cc',
- 'client/drag_drop_client.h',
- 'client/drag_drop_delegate.cc',
- 'client/drag_drop_delegate.h',
'client/event_client.cc',
'client/event_client.h',
'client/focus_change_observer.cc',
'client/focus_change_observer.h',
'client/focus_client.cc',
'client/focus_client.h',
- 'client/scoped_tooltip_disabler.cc',
- 'client/scoped_tooltip_disabler.h',
'client/screen_position_client.cc',
'client/screen_position_client.h',
- 'client/tooltip_client.cc',
- 'client/tooltip_client.h',
- 'client/transient_window_client.cc',
- 'client/transient_window_client.h',
'client/visibility_client.cc',
'client/visibility_client.h',
- 'client/window_move_client.cc',
- 'client/window_move_client.h',
'client/window_stacking_client.cc',
'client/window_stacking_client.h',
'client/window_tree_client.cc',
@@ -114,6 +92,28 @@
'window_tree_host_win.h',
'window_tree_host_x11.cc',
'window_tree_host_x11.h',
+ '../wm/public/activation_change_observer.h',
+ '../wm/public/activation_change_observer.cc',
+ '../wm/public/activation_client.cc',
+ '../wm/public/activation_client.h',
+ '../wm/public/activation_delegate.cc',
+ '../wm/public/activation_delegate.h',
+ '../wm/public/animation_host.cc',
+ '../wm/public/animation_host.h',
+ '../wm/public/dispatcher_client.cc',
+ '../wm/public/dispatcher_client.h',
+ '../wm/public/drag_drop_client.cc',
+ '../wm/public/drag_drop_client.h',
+ '../wm/public/drag_drop_delegate.cc',
+ '../wm/public/drag_drop_delegate.h',
+ '../wm/public/scoped_tooltip_disabler.cc',
+ '../wm/public/scoped_tooltip_disabler.h',
+ '../wm/public/tooltip_client.cc',
+ '../wm/public/tooltip_client.h',
+ '../wm/public/transient_window_client.cc',
+ '../wm/public/transient_window_client.h',
+ '../wm/public/window_move_client.cc',
+ '../wm/public/window_move_client.h',
],
'conditions': [
['use_x11==1', {
diff --git a/ui/aura/client/default_activation_client.cc b/ui/aura/client/default_activation_client.cc
index ccb660b..b11d7bf 100644
--- a/ui/aura/client/default_activation_client.cc
+++ b/ui/aura/client/default_activation_client.cc
@@ -4,9 +4,9 @@
#include "ui/aura/client/default_activation_client.h"
-#include "ui/aura/client/activation_change_observer.h"
-#include "ui/aura/client/activation_delegate.h"
#include "ui/aura/window.h"
+#include "ui/wm/public/activation_change_observer.h"
+#include "ui/wm/public/activation_delegate.h"
namespace aura {
namespace client {
diff --git a/ui/aura/client/default_activation_client.h b/ui/aura/client/default_activation_client.h
index 842ee90..47e19dbc 100644
--- a/ui/aura/client/default_activation_client.h
+++ b/ui/aura/client/default_activation_client.h
@@ -11,8 +11,8 @@
#include "base/logging.h"
#include "base/observer_list.h"
#include "ui/aura/aura_export.h"
-#include "ui/aura/client/activation_client.h"
#include "ui/aura/window_observer.h"
+#include "ui/wm/public/activation_client.h"
namespace aura {
namespace client {
diff --git a/ui/views/controls/menu/menu_controller.cc b/ui/views/controls/menu/menu_controller.cc
index 16f2ad3..5d58c69 100644
--- a/ui/views/controls/menu/menu_controller.cc
+++ b/ui/views/controls/menu/menu_controller.cc
@@ -13,7 +13,6 @@
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
-#include "ui/aura/client/dispatcher_client.h"
#include "ui/aura/env.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
@@ -44,6 +43,7 @@
#include "ui/views/widget/root_view.h"
#include "ui/views/widget/tooltip_manager.h"
#include "ui/views/widget/widget.h"
+#include "ui/wm/public/dispatcher_client.h"
#if defined(OS_WIN)
#include "ui/base/win/internal_constants.h"
diff --git a/ui/views/controls/menu/menu_controller_aura.cc b/ui/views/controls/menu/menu_controller_aura.cc
index 726b8c4..ec402c7 100644
--- a/ui/views/controls/menu/menu_controller_aura.cc
+++ b/ui/views/controls/menu/menu_controller_aura.cc
@@ -5,14 +5,14 @@
#include "ui/views/controls/menu/menu_controller.h"
#include "base/run_loop.h"
-#include "ui/aura/client/activation_change_observer.h"
-#include "ui/aura/client/activation_client.h"
-#include "ui/aura/client/dispatcher_client.h"
-#include "ui/aura/client/drag_drop_client.h"
#include "ui/aura/window.h"
#include "ui/aura/window_observer.h"
#include "ui/gfx/screen.h"
#include "ui/views/widget/widget.h"
+#include "ui/wm/public/activation_change_observer.h"
+#include "ui/wm/public/activation_client.h"
+#include "ui/wm/public/dispatcher_client.h"
+#include "ui/wm/public/drag_drop_client.h"
namespace views {
diff --git a/ui/views/corewm/tooltip_controller.cc b/ui/views/corewm/tooltip_controller.cc
index c5e621b..500466f 100644
--- a/ui/views/corewm/tooltip_controller.cc
+++ b/ui/views/corewm/tooltip_controller.cc
@@ -10,7 +10,6 @@
#include "base/time/time.h"
#include "ui/aura/client/capture_client.h"
#include "ui/aura/client/cursor_client.h"
-#include "ui/aura/client/drag_drop_client.h"
#include "ui/aura/client/screen_position_client.h"
#include "ui/aura/env.h"
#include "ui/aura/window.h"
@@ -20,6 +19,7 @@
#include "ui/gfx/screen.h"
#include "ui/views/corewm/tooltip.h"
#include "ui/views/widget/tooltip_manager.h"
+#include "ui/wm/public/drag_drop_client.h"
namespace views {
namespace corewm {
diff --git a/ui/views/corewm/tooltip_controller.h b/ui/views/corewm/tooltip_controller.h
index e75a1e6..9815df1 100644
--- a/ui/views/corewm/tooltip_controller.h
+++ b/ui/views/corewm/tooltip_controller.h
@@ -10,11 +10,11 @@
#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "base/timer/timer.h"
-#include "ui/aura/client/tooltip_client.h"
#include "ui/aura/window_observer.h"
#include "ui/events/event_handler.h"
#include "ui/gfx/point.h"
#include "ui/views/views_export.h"
+#include "ui/wm/public/tooltip_client.h"
namespace aura {
class Window;
diff --git a/ui/views/corewm/tooltip_controller_unittest.cc b/ui/views/corewm/tooltip_controller_unittest.cc
index 39cab8e..152a5a2 100644
--- a/ui/views/corewm/tooltip_controller_unittest.cc
+++ b/ui/views/corewm/tooltip_controller_unittest.cc
@@ -7,7 +7,6 @@
#include "base/strings/utf_string_conversions.h"
#include "ui/aura/client/cursor_client.h"
#include "ui/aura/client/screen_position_client.h"
-#include "ui/aura/client/tooltip_client.h"
#include "ui/aura/env.h"
#include "ui/aura/test/aura_test_base.h"
#include "ui/aura/test/event_generator.h"
@@ -27,6 +26,7 @@
#include "ui/views/widget/tooltip_manager.h"
#include "ui/views/widget/widget.h"
#include "ui/wm/core/wm_state.h"
+#include "ui/wm/public/tooltip_client.h"
#include "ui/wm/public/window_types.h"
#if defined(OS_WIN)
diff --git a/ui/views/drag_utils.cc b/ui/views/drag_utils.cc
index 27f6d58..840d75f 100644
--- a/ui/views/drag_utils.cc
+++ b/ui/views/drag_utils.cc
@@ -4,7 +4,6 @@
#include "ui/views/drag_utils.h"
-#include "ui/aura/client/drag_drop_client.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/gfx/canvas.h"
@@ -12,6 +11,7 @@
#include "ui/gfx/screen.h"
#include "ui/gfx/size.h"
#include "ui/views/widget/widget.h"
+#include "ui/wm/public/drag_drop_client.h"
float GetDeviceScaleForNativeView(views::Widget* widget) {
float device_scale = 1.0f;
diff --git a/ui/views/widget/desktop_aura/desktop_dispatcher_client.h b/ui/views/widget/desktop_aura/desktop_dispatcher_client.h
index 0d01df2..5351d8a 100644
--- a/ui/views/widget/desktop_aura/desktop_dispatcher_client.h
+++ b/ui/views/widget/desktop_aura/desktop_dispatcher_client.h
@@ -8,8 +8,8 @@
#include "base/basictypes.h"
#include "base/callback.h"
#include "base/memory/weak_ptr.h"
-#include "ui/aura/client/dispatcher_client.h"
#include "ui/views/views_export.h"
+#include "ui/wm/public/dispatcher_client.h"
namespace views {
diff --git a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc
index 0fcebdc..109c052 100644
--- a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc
+++ b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc
@@ -10,8 +10,6 @@
#include "base/lazy_instance.h"
#include "base/message_loop/message_loop.h"
#include "base/message_loop/message_pump_dispatcher.h"
-#include "ui/aura/client/drag_drop_client.h"
-#include "ui/aura/client/drag_drop_delegate.h"
#include "ui/aura/window.h"
#include "ui/aura/window_tree_host.h"
#include "ui/base/dragdrop/drag_drop_types.h"
@@ -22,6 +20,8 @@
#include "ui/base/x/x11_util.h"
#include "ui/events/event.h"
#include "ui/views/widget/desktop_aura/desktop_native_cursor_manager.h"
+#include "ui/wm/public/drag_drop_client.h"
+#include "ui/wm/public/drag_drop_delegate.h"
using aura::client::DragDropDelegate;
using ui::OSExchangeData;
diff --git a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
index f77e60fe..4f492e4 100644
--- a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
+++ b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
@@ -11,7 +11,6 @@
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
-#include "ui/aura/client/drag_drop_client.h"
#include "ui/aura/window_observer.h"
#include "ui/base/cursor/cursor.h"
#include "ui/gfx/point.h"
@@ -19,6 +18,7 @@
#include "ui/views/views_export.h"
#include "ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h"
#include "ui/views/widget/desktop_aura/x11_whole_screen_move_loop_delegate.h"
+#include "ui/wm/public/drag_drop_client.h"
namespace aura {
namespace client {
diff --git a/ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h b/ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h
index eda12e0..a8051ca 100644
--- a/ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h
+++ b/ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h
@@ -7,8 +7,8 @@
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
-#include "ui/aura/client/drag_drop_client.h"
#include "ui/views/views_export.h"
+#include "ui/wm/public/drag_drop_client.h"
namespace ui {
class DragSourceWin;
diff --git a/ui/views/widget/desktop_aura/desktop_drop_target_win.cc b/ui/views/widget/desktop_aura/desktop_drop_target_win.cc
index f1409f8..1369b62 100644
--- a/ui/views/widget/desktop_aura/desktop_drop_target_win.cc
+++ b/ui/views/widget/desktop_aura/desktop_drop_target_win.cc
@@ -5,14 +5,14 @@
#include "ui/views/widget/desktop_aura/desktop_drop_target_win.h"
#include "base/win/win_util.h"
-#include "ui/aura/client/drag_drop_client.h"
-#include "ui/aura/client/drag_drop_delegate.h"
#include "ui/aura/window.h"
#include "ui/aura/window_tree_host.h"
#include "ui/base/dragdrop/drag_drop_types.h"
#include "ui/base/dragdrop/drop_target_event.h"
#include "ui/base/dragdrop/os_exchange_data_provider_win.h"
#include "ui/events/event_constants.h"
+#include "ui/wm/public/drag_drop_client.h"
+#include "ui/wm/public/drag_drop_delegate.h"
using aura::client::DragDropDelegate;
using ui::OSExchangeData;
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
index 0caeab2..c14d1ce 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
@@ -6,10 +6,8 @@
#include "base/bind.h"
#include "base/debug/trace_event.h"
-#include "ui/aura/client/activation_client.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/client/cursor_client.h"
-#include "ui/aura/client/drag_drop_client.h"
#include "ui/aura/client/focus_client.h"
#include "ui/aura/client/window_tree_client.h"
#include "ui/aura/window.h"
@@ -55,6 +53,8 @@
#include "ui/wm/core/shadow_types.h"
#include "ui/wm/core/visibility_controller.h"
#include "ui/wm/core/window_modality_controller.h"
+#include "ui/wm/public/activation_client.h"
+#include "ui/wm/public/drag_drop_client.h"
#if defined(OS_WIN)
#include "ui/base/win/shell.h"
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.h b/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
index 05573b9..3f8b0a9 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
@@ -6,9 +6,6 @@
#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
#include "base/memory/weak_ptr.h"
-#include "ui/aura/client/activation_change_observer.h"
-#include "ui/aura/client/activation_delegate.h"
-#include "ui/aura/client/drag_drop_delegate.h"
#include "ui/aura/client/focus_change_observer.h"
#include "ui/aura/window_delegate.h"
#include "ui/aura/window_tree_host_observer.h"
@@ -16,6 +13,9 @@
#include "ui/views/ime/input_method_delegate.h"
#include "ui/views/widget/native_widget_private.h"
#include "ui/wm/core/compound_event_filter.h"
+#include "ui/wm/public/activation_change_observer.h"
+#include "ui/wm/public/activation_delegate.h"
+#include "ui/wm/public/drag_drop_delegate.h"
namespace aura {
class WindowEventDispatcher;
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc
index 6752cfb..30dc551 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc
@@ -6,12 +6,12 @@
#include "base/bind.h"
#include "ui/aura/client/cursor_client.h"
-#include "ui/aura/client/dispatcher_client.h"
#include "ui/aura/test/test_window_delegate.h"
#include "ui/aura/window.h"
#include "ui/aura/window_tree_host.h"
#include "ui/views/test/views_test_base.h"
#include "ui/views/widget/widget.h"
+#include "ui/wm/public/dispatcher_client.h"
namespace views {
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
index 47bd630..2fc499b 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
@@ -10,7 +10,6 @@
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/client/cursor_client.h"
#include "ui/aura/client/focus_client.h"
-#include "ui/aura/client/scoped_tooltip_disabler.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/aura/window_property.h"
#include "ui/base/cursor/cursor_loader_win.h"
@@ -40,6 +39,7 @@
#include "ui/wm/core/compound_event_filter.h"
#include "ui/wm/core/input_method_event_filter.h"
#include "ui/wm/core/window_animations.h"
+#include "ui/wm/public/scoped_tooltip_disabler.h"
namespace views {
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.h b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
index a510ed3..dc8a218 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
@@ -5,11 +5,11 @@
#ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
-#include "ui/aura/client/animation_host.h"
#include "ui/aura/window_tree_host.h"
#include "ui/views/views_export.h"
#include "ui/views/widget/desktop_aura/desktop_window_tree_host.h"
#include "ui/views/win/hwnd_message_handler_delegate.h"
+#include "ui/wm/public/animation_host.h"
namespace aura {
namespace client {
diff --git a/ui/views/widget/desktop_aura/x11_desktop_window_move_client.h b/ui/views/widget/desktop_aura/x11_desktop_window_move_client.h
index 12e5928..42b7d02 100644
--- a/ui/views/widget/desktop_aura/x11_desktop_window_move_client.h
+++ b/ui/views/widget/desktop_aura/x11_desktop_window_move_client.h
@@ -11,11 +11,11 @@
#include "base/compiler_specific.h"
#include "base/message_loop/message_loop.h"
#include "base/timer/timer.h"
-#include "ui/aura/client/window_move_client.h"
#include "ui/gfx/point.h"
#include "ui/views/views_export.h"
#include "ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h"
#include "ui/views/widget/desktop_aura/x11_whole_screen_move_loop_delegate.h"
+#include "ui/wm/public/window_move_client.h"
namespace aura {
class WindowTreeHost;
diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc
index 30f2aea..4463e6a 100644
--- a/ui/views/widget/native_widget_aura.cc
+++ b/ui/views/widget/native_widget_aura.cc
@@ -7,13 +7,10 @@
#include "base/bind.h"
#include "base/strings/string_util.h"
#include "third_party/skia/include/core/SkRegion.h"
-#include "ui/aura/client/activation_client.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/client/cursor_client.h"
-#include "ui/aura/client/drag_drop_client.h"
#include "ui/aura/client/focus_client.h"
#include "ui/aura/client/screen_position_client.h"
-#include "ui/aura/client/window_move_client.h"
#include "ui/aura/client/window_tree_client.h"
#include "ui/aura/env.h"
#include "ui/aura/window.h"
@@ -39,6 +36,9 @@
#include "ui/views/widget/widget_delegate.h"
#include "ui/views/widget/window_reorderer.h"
#include "ui/wm/core/window_util.h"
+#include "ui/wm/public/activation_client.h"
+#include "ui/wm/public/drag_drop_client.h"
+#include "ui/wm/public/window_move_client.h"
#include "ui/wm/public/window_types.h"
#if defined(OS_WIN)
diff --git a/ui/views/widget/native_widget_aura.h b/ui/views/widget/native_widget_aura.h
index f5082f0..ea85012 100644
--- a/ui/views/widget/native_widget_aura.h
+++ b/ui/views/widget/native_widget_aura.h
@@ -7,9 +7,6 @@
#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
-#include "ui/aura/client/activation_change_observer.h"
-#include "ui/aura/client/activation_delegate.h"
-#include "ui/aura/client/drag_drop_delegate.h"
#include "ui/aura/client/focus_change_observer.h"
#include "ui/aura/window_delegate.h"
#include "ui/base/cursor/cursor.h"
@@ -17,6 +14,9 @@
#include "ui/views/ime/input_method_delegate.h"
#include "ui/views/views_export.h"
#include "ui/views/widget/native_widget_private.h"
+#include "ui/wm/public/activation_change_observer.h"
+#include "ui/wm/public/activation_delegate.h"
+#include "ui/wm/public/drag_drop_delegate.h"
namespace aura {
class Window;
diff --git a/ui/views/widget/tooltip_manager_aura.cc b/ui/views/widget/tooltip_manager_aura.cc
index fa04cb0..986ea5d 100644
--- a/ui/views/widget/tooltip_manager_aura.cc
+++ b/ui/views/widget/tooltip_manager_aura.cc
@@ -6,13 +6,13 @@
#include "base/logging.h"
#include "ui/aura/client/screen_position_client.h"
-#include "ui/aura/client/tooltip_client.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/aura/window_tree_host.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/screen.h"
#include "ui/views/widget/widget.h"
+#include "ui/wm/public/tooltip_client.h"
namespace views {
diff --git a/ui/views/widget/widget_interactive_uitest.cc b/ui/views/widget/widget_interactive_uitest.cc
index 232e88a..6aa255f 100644
--- a/ui/views/widget/widget_interactive_uitest.cc
+++ b/ui/views/widget/widget_interactive_uitest.cc
@@ -6,7 +6,6 @@
#include "base/bind.h"
#include "base/path_service.h"
#include "base/run_loop.h"
-#include "ui/aura/client/activation_client.h"
#include "ui/aura/client/focus_client.h"
#include "ui/aura/env.h"
#include "ui/aura/window.h"
@@ -19,6 +18,7 @@
#include "ui/views/test/widget_test.h"
#include "ui/views/widget/widget.h"
#include "ui/views/window/dialog_delegate.h"
+#include "ui/wm/public/activation_client.h"
#if !defined(OS_CHROMEOS)
#include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
diff --git a/ui/wm/core/base_focus_rules.cc b/ui/wm/core/base_focus_rules.cc
index bb90941..e7160b7 100644
--- a/ui/wm/core/base_focus_rules.cc
+++ b/ui/wm/core/base_focus_rules.cc
@@ -4,12 +4,12 @@
#include "ui/wm/core/base_focus_rules.h"
-#include "ui/aura/client/activation_delegate.h"
#include "ui/aura/client/focus_client.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/wm/core/window_modality_controller.h"
#include "ui/wm/core/window_util.h"
+#include "ui/wm/public/activation_delegate.h"
namespace wm {
namespace {
diff --git a/ui/wm/core/compound_event_filter.cc b/ui/wm/core/compound_event_filter.cc
index 620babd..711d7e4 100644
--- a/ui/wm/core/compound_event_filter.cc
+++ b/ui/wm/core/compound_event_filter.cc
@@ -6,9 +6,7 @@
#include "base/containers/hash_tables.h"
#include "base/logging.h"
-#include "ui/aura/client/activation_client.h"
#include "ui/aura/client/cursor_client.h"
-#include "ui/aura/client/drag_drop_client.h"
#include "ui/aura/env.h"
#include "ui/aura/window.h"
#include "ui/aura/window_delegate.h"
@@ -16,6 +14,8 @@
#include "ui/aura/window_tracker.h"
#include "ui/base/hit_test.h"
#include "ui/events/event.h"
+#include "ui/wm/public/activation_client.h"
+#include "ui/wm/public/drag_drop_client.h"
#if defined(OS_CHROMEOS) && defined(USE_X11)
#include "ui/events/x/touch_factory_x11.h"
diff --git a/ui/wm/core/compound_event_filter_unittest.cc b/ui/wm/core/compound_event_filter_unittest.cc
index a0d193e..9cc9b60 100644
--- a/ui/wm/core/compound_event_filter_unittest.cc
+++ b/ui/wm/core/compound_event_filter_unittest.cc
@@ -4,7 +4,6 @@
#include "ui/wm/core/compound_event_filter.h"
-#include "ui/aura/client/activation_client.h"
#include "ui/aura/client/cursor_client.h"
#include "ui/aura/env.h"
#include "ui/aura/test/aura_test_base.h"
@@ -15,6 +14,7 @@
#include "ui/aura/window_event_dispatcher.h"
#include "ui/events/event.h"
#include "ui/events/event_utils.h"
+#include "ui/wm/public/activation_client.h"
namespace {
diff --git a/ui/wm/core/easy_resize_window_targeter.cc b/ui/wm/core/easy_resize_window_targeter.cc
index 24d5760..d352e52 100644
--- a/ui/wm/core/easy_resize_window_targeter.cc
+++ b/ui/wm/core/easy_resize_window_targeter.cc
@@ -4,10 +4,10 @@
#include "ui/wm/core/easy_resize_window_targeter.h"
-#include "ui/aura/client/transient_window_client.h"
#include "ui/aura/window.h"
#include "ui/gfx/geometry/insets_f.h"
#include "ui/gfx/geometry/rect.h"
+#include "ui/wm/public/transient_window_client.h"
namespace wm {
diff --git a/ui/wm/core/focus_controller.cc b/ui/wm/core/focus_controller.cc
index 38e8920..f4d3f3f 100644
--- a/ui/wm/core/focus_controller.cc
+++ b/ui/wm/core/focus_controller.cc
@@ -5,7 +5,6 @@
#include "ui/wm/core/focus_controller.h"
#include "base/auto_reset.h"
-#include "ui/aura/client/activation_change_observer.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/client/capture_client.h"
#include "ui/aura/client/focus_change_observer.h"
@@ -14,6 +13,7 @@
#include "ui/events/event.h"
#include "ui/wm/core/focus_rules.h"
#include "ui/wm/core/window_util.h"
+#include "ui/wm/public/activation_change_observer.h"
namespace wm {
namespace {
diff --git a/ui/wm/core/focus_controller.h b/ui/wm/core/focus_controller.h
index aa97d4d..fecdd2e 100644
--- a/ui/wm/core/focus_controller.h
+++ b/ui/wm/core/focus_controller.h
@@ -9,11 +9,11 @@
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "base/scoped_observer.h"
-#include "ui/aura/client/activation_client.h"
#include "ui/aura/client/focus_client.h"
#include "ui/aura/window_observer.h"
#include "ui/events/event_handler.h"
#include "ui/wm/core/wm_core_export.h"
+#include "ui/wm/public/activation_client.h"
namespace wm {
diff --git a/ui/wm/core/focus_controller_unittest.cc b/ui/wm/core/focus_controller_unittest.cc
index 8a0ba29..d460100 100644
--- a/ui/wm/core/focus_controller_unittest.cc
+++ b/ui/wm/core/focus_controller_unittest.cc
@@ -6,8 +6,6 @@
#include <map>
-#include "ui/aura/client/activation_change_observer.h"
-#include "ui/aura/client/activation_client.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/client/default_capture_client.h"
#include "ui/aura/client/focus_change_observer.h"
@@ -21,6 +19,8 @@
#include "ui/events/event_handler.h"
#include "ui/wm/core/base_focus_rules.h"
#include "ui/wm/core/wm_state.h"
+#include "ui/wm/public/activation_change_observer.h"
+#include "ui/wm/public/activation_client.h"
namespace wm {
diff --git a/ui/wm/core/input_method_event_filter_unittest.cc b/ui/wm/core/input_method_event_filter_unittest.cc
index 71dbcce..038ec00 100644
--- a/ui/wm/core/input_method_event_filter_unittest.cc
+++ b/ui/wm/core/input_method_event_filter_unittest.cc
@@ -5,7 +5,6 @@
#include "ui/wm/core/input_method_event_filter.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "ui/aura/client/activation_client.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/test/aura_test_base.h"
#include "ui/aura/test/event_generator.h"
@@ -13,6 +12,7 @@
#include "ui/aura/window_event_dispatcher.h"
#include "ui/events/test/test_event_handler.h"
#include "ui/wm/core/compound_event_filter.h"
+#include "ui/wm/public/activation_client.h"
#if !defined(OS_WIN) && !defined(USE_X11)
// On platforms except Windows and X11, aura::test::EventGenerator::PressKey
diff --git a/ui/wm/core/shadow_controller.cc b/ui/wm/core/shadow_controller.cc
index 31fb140..c809389 100644
--- a/ui/wm/core/shadow_controller.cc
+++ b/ui/wm/core/shadow_controller.cc
@@ -10,7 +10,6 @@
#include "base/logging.h"
#include "base/memory/linked_ptr.h"
#include "base/scoped_observer.h"
-#include "ui/aura/client/activation_client.h"
#include "ui/aura/env.h"
#include "ui/aura/env_observer.h"
#include "ui/aura/window.h"
@@ -20,6 +19,7 @@
#include "ui/wm/core/shadow.h"
#include "ui/wm/core/shadow_types.h"
#include "ui/wm/core/window_util.h"
+#include "ui/wm/public/activation_client.h"
using std::make_pair;
diff --git a/ui/wm/core/shadow_controller.h b/ui/wm/core/shadow_controller.h
index d9451e7..47aa743 100644
--- a/ui/wm/core/shadow_controller.h
+++ b/ui/wm/core/shadow_controller.h
@@ -10,8 +10,8 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
-#include "ui/aura/client/activation_change_observer.h"
#include "ui/wm/core/wm_core_export.h"
+#include "ui/wm/public/activation_change_observer.h"
namespace aura {
class Window;
diff --git a/ui/wm/core/shadow_controller_unittest.cc b/ui/wm/core/shadow_controller_unittest.cc
index 3f31b2f..60d571e 100644
--- a/ui/wm/core/shadow_controller_unittest.cc
+++ b/ui/wm/core/shadow_controller_unittest.cc
@@ -8,7 +8,6 @@
#include <vector>
#include "base/memory/scoped_ptr.h"
-#include "ui/aura/client/activation_client.h"
#include "ui/aura/client/window_tree_client.h"
#include "ui/aura/test/aura_test_base.h"
#include "ui/aura/window.h"
@@ -18,6 +17,7 @@
#include "ui/wm/core/shadow_types.h"
#include "ui/wm/core/window_util.h"
#include "ui/wm/core/wm_state.h"
+#include "ui/wm/public/activation_client.h"
namespace wm {
diff --git a/ui/wm/core/transient_window_controller.h b/ui/wm/core/transient_window_controller.h
index 598904e..125cd28 100644
--- a/ui/wm/core/transient_window_controller.h
+++ b/ui/wm/core/transient_window_controller.h
@@ -5,8 +5,8 @@
#ifndef UI_WM_CORE_TRANSIENT_WINDOW_CONTROLLER_H_
#define UI_WM_CORE_TRANSIENT_WINDOW_CONTROLLER_H_
-#include "ui/aura/client/transient_window_client.h"
#include "ui/wm/core/wm_core_export.h"
+#include "ui/wm/public/transient_window_client.h"
namespace wm {
diff --git a/ui/wm/core/window_animations.cc b/ui/wm/core/window_animations.cc
index e072867..c7b9c63 100644
--- a/ui/wm/core/window_animations.cc
+++ b/ui/wm/core/window_animations.cc
@@ -15,7 +15,6 @@
#include "base/message_loop/message_loop.h"
#include "base/stl_util.h"
#include "base/time/time.h"
-#include "ui/aura/client/animation_host.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/window.h"
#include "ui/aura/window_delegate.h"
@@ -36,6 +35,7 @@
#include "ui/gfx/vector3d_f.h"
#include "ui/wm/core/window_util.h"
#include "ui/wm/core/wm_core_switches.h"
+#include "ui/wm/public/animation_host.h"
DECLARE_WINDOW_PROPERTY_TYPE(int)
DECLARE_WINDOW_PROPERTY_TYPE(wm::WindowVisibilityAnimationType)
diff --git a/ui/wm/core/window_animations_unittest.cc b/ui/wm/core/window_animations_unittest.cc
index 5ca3e42..5968bf3 100644
--- a/ui/wm/core/window_animations_unittest.cc
+++ b/ui/wm/core/window_animations_unittest.cc
@@ -5,7 +5,6 @@
#include "ui/wm/core/window_animations.h"
#include "base/time/time.h"
-#include "ui/aura/client/animation_host.h"
#include "ui/aura/test/aura_test_base.h"
#include "ui/aura/test/test_windows.h"
#include "ui/aura/window.h"
@@ -17,6 +16,7 @@
#include "ui/wm/core/transient_window_manager.h"
#include "ui/wm/core/transient_window_stacking_client.h"
#include "ui/wm/core/window_util.h"
+#include "ui/wm/public/animation_host.h"
using aura::Window;
using ui::Layer;
diff --git a/ui/wm/core/window_util.cc b/ui/wm/core/window_util.cc
index dff8339..598d7bf 100644
--- a/ui/wm/core/window_util.cc
+++ b/ui/wm/core/window_util.cc
@@ -4,12 +4,12 @@
#include "ui/wm/core/window_util.h"
-#include "ui/aura/client/activation_client.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/layer_tree_owner.h"
#include "ui/wm/core/transient_window_manager.h"
+#include "ui/wm/public/activation_client.h"
namespace {
diff --git a/ui/wm/public/DEPS b/ui/wm/public/DEPS
new file mode 100644
index 0000000..1e9f248
--- /dev/null
+++ b/ui/wm/public/DEPS
@@ -0,0 +1,9 @@
+include_rules = [
+ "+ui/base/dragdrop/drag_drop_types.h",
+]
+
+specific_include_rules = {
+ "drag_drop_client.h": [
+ "+ui/base/dragdrop/drag_drop_types.h",
+ ],
+}
diff --git a/ui/aura/client/activation_change_observer.cc b/ui/wm/public/activation_change_observer.cc
index db9f332..7fcbb7a 100644
--- a/ui/aura/client/activation_change_observer.cc
+++ b/ui/wm/public/activation_change_observer.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/aura/client/activation_change_observer.h"
+#include "ui/wm/public/activation_change_observer.h"
#include "ui/aura/window.h"
#include "ui/aura/window_property.h"
diff --git a/ui/aura/client/activation_change_observer.h b/ui/wm/public/activation_change_observer.h
index 2f247db..68d5b8a 100644
--- a/ui/aura/client/activation_change_observer.h
+++ b/ui/wm/public/activation_change_observer.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_AURA_CLIENT_ACTIVATION_CHANGE_OBSERVER_H_
-#define UI_AURA_CLIENT_ACTIVATION_CHANGE_OBSERVER_H_
+#ifndef UI_WM_PUBLIC_ACTIVATION_CHANGE_OBSERVER_H_
+#define UI_WM_PUBLIC_ACTIVATION_CHANGE_OBSERVER_H_
#include "ui/aura/aura_export.h"
@@ -42,4 +42,4 @@ AURA_EXPORT ActivationChangeObserver* GetActivationChangeObserver(
} // namespace client
} // namespace aura
-#endif // UI_AURA_CLIENT_ACTIVATION_CHANGE_OBSERVER_H_
+#endif // UI_WM_PUBLIC_ACTIVATION_CHANGE_OBSERVER_H_
diff --git a/ui/aura/client/activation_client.cc b/ui/wm/public/activation_client.cc
index 71d079b..6a47554 100644
--- a/ui/aura/client/activation_client.cc
+++ b/ui/wm/public/activation_client.cc
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/aura/client/activation_client.h"
+#include "ui/wm/public/activation_client.h"
-#include "ui/aura/window_event_dispatcher.h"
+#include "ui/aura/window.h"
#include "ui/aura/window_property.h"
DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(AURA_EXPORT, aura::Window*)
diff --git a/ui/aura/client/activation_client.h b/ui/wm/public/activation_client.h
index 054829e..fc35131 100644
--- a/ui/aura/client/activation_client.h
+++ b/ui/wm/public/activation_client.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_AURA_CLIENT_ACTIVATION_CLIENT_H_
-#define UI_AURA_CLIENT_ACTIVATION_CLIENT_H_
+#ifndef UI_WM_PUBLIC_ACTIVATION_CLIENT_H_
+#define UI_WM_PUBLIC_ACTIVATION_CLIENT_H_
#include "ui/aura/aura_export.h"
@@ -74,4 +74,4 @@ AURA_EXPORT bool GetHideOnDeactivate(Window* window);
} // namespace clients
} // namespace aura
-#endif // UI_AURA_CLIENT_ACTIVATION_CLIENT_H_
+#endif // UI_WM_PUBLIC_ACTIVATION_CLIENT_H_
diff --git a/ui/aura/client/activation_delegate.cc b/ui/wm/public/activation_delegate.cc
index 51b22b0..2a9bbc9 100644
--- a/ui/aura/client/activation_delegate.cc
+++ b/ui/wm/public/activation_delegate.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/aura/client/activation_delegate.h"
+#include "ui/wm/public/activation_delegate.h"
#include "ui/aura/window.h"
#include "ui/aura/window_property.h"
diff --git a/ui/aura/client/activation_delegate.h b/ui/wm/public/activation_delegate.h
index 0ce8638..3c5b3ae 100644
--- a/ui/aura/client/activation_delegate.h
+++ b/ui/wm/public/activation_delegate.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_AURA_CLIENT_ACTIVATION_DELEGATE_H_
-#define UI_AURA_CLIENT_ACTIVATION_DELEGATE_H_
+#ifndef UI_WM_PUBLIC_ACTIVATION_DELEGATE_H_
+#define UI_WM_PUBLIC_ACTIVATION_DELEGATE_H_
#include "ui/aura/aura_export.h"
@@ -34,4 +34,4 @@ AURA_EXPORT ActivationDelegate* GetActivationDelegate(Window* window);
} // namespace client
} // namespace aura
-#endif // UI_AURA_CLIENT_ACTIVATION_DELEGATE_H_
+#endif // UI_WM_PUBLIC_ACTIVATION_DELEGATE_H_
diff --git a/ui/aura/client/animation_host.cc b/ui/wm/public/animation_host.cc
index 0afe583..0d90f9c 100644
--- a/ui/aura/client/animation_host.cc
+++ b/ui/wm/public/animation_host.cc
@@ -2,13 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/aura/client/animation_host.h"
+#include "ui/wm/public/animation_host.h"
-#include "base/compiler_specific.h"
-#include "ui/aura/aura_export.h"
-
-#include "ui/aura/env.h"
-#include "ui/aura/window_event_dispatcher.h"
+#include "ui/aura/window.h"
#include "ui/aura/window_property.h"
DECLARE_WINDOW_PROPERTY_TYPE(aura::client::AnimationHost*)
diff --git a/ui/aura/client/animation_host.h b/ui/wm/public/animation_host.h
index c433b6d..71f9f4d 100644
--- a/ui/aura/client/animation_host.h
+++ b/ui/wm/public/animation_host.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_AURA_CLIENT_ANIMATION_HOST_H_
-#define UI_AURA_CLIENT_ANIMATION_HOST_H_
+#ifndef UI_WM_PUBLIC_ANIMATION_HOST_H_
+#define UI_WM_PUBLIC_ANIMATION_HOST_H_
#include "base/compiler_specific.h"
#include "ui/aura/aura_export.h"
@@ -45,4 +45,4 @@ AURA_EXPORT AnimationHost* GetAnimationHost(Window* window);
} // namespace client
} // namespace aura
-#endif // UI_AURA_CLIENT_ANIMATION_HOST_H_
+#endif // UI_WM_PUBLIC_ANIMATION_HOST_H_
diff --git a/ui/aura/client/dispatcher_client.cc b/ui/wm/public/dispatcher_client.cc
index 55eda0e..cec4a8a 100644
--- a/ui/aura/client/dispatcher_client.cc
+++ b/ui/wm/public/dispatcher_client.cc
@@ -2,10 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/aura/client/dispatcher_client.h"
+#include "ui/wm/public/dispatcher_client.h"
#include "ui/aura/window.h"
-#include "ui/aura/window_event_dispatcher.h"
#include "ui/aura/window_property.h"
DECLARE_WINDOW_PROPERTY_TYPE(aura::client::DispatcherClient*);
diff --git a/ui/aura/client/dispatcher_client.h b/ui/wm/public/dispatcher_client.h
index 42cb25e..9fd9c94 100644
--- a/ui/aura/client/dispatcher_client.h
+++ b/ui/wm/public/dispatcher_client.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_AURA_CLIENT_DISPATCHER_CLIENT_H_
-#define UI_AURA_CLIENT_DISPATCHER_CLIENT_H_
+#ifndef UI_WM_PUBLIC_DISPATCHER_CLIENT_H_
+#define UI_WM_PUBLIC_DISPATCHER_CLIENT_H_
#include "base/message_loop/message_pump_dispatcher.h"
#include "ui/aura/aura_export.h"
@@ -27,4 +27,4 @@ AURA_EXPORT DispatcherClient* GetDispatcherClient(Window* root_window);
} // namespace client
} // namespace aura
-#endif // UI_AURA_CLIENT_DISPATCHER_CLIENT_H_
+#endif // UI_WM_PUBLIC_DISPATCHER_CLIENT_H_
diff --git a/ui/aura/client/drag_drop_client.cc b/ui/wm/public/drag_drop_client.cc
index 56050e8..c452f9e 100644
--- a/ui/aura/client/drag_drop_client.cc
+++ b/ui/wm/public/drag_drop_client.cc
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/aura/client/drag_drop_client.h"
+#include "ui/wm/public/drag_drop_client.h"
-#include "ui/aura/window_event_dispatcher.h"
+#include "ui/aura/window.h"
#include "ui/aura/window_property.h"
DECLARE_WINDOW_PROPERTY_TYPE(aura::client::DragDropClient*)
diff --git a/ui/aura/client/drag_drop_client.h b/ui/wm/public/drag_drop_client.h
index 7277d6b..62a2355 100644
--- a/ui/aura/client/drag_drop_client.h
+++ b/ui/wm/public/drag_drop_client.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_AURA_CLIENT_DRAG_DROP_CLIENT_H_
-#define UI_AURA_CLIENT_DRAG_DROP_CLIENT_H_
+#ifndef UI_WM_PUBLIC_DRAG_DROP_CLIENT_H_
+#define UI_WM_PUBLIC_DRAG_DROP_CLIENT_H_
#include "ui/aura/aura_export.h"
#include "ui/base/dragdrop/drag_drop_types.h"
@@ -59,4 +59,4 @@ AURA_EXPORT DragDropClient* GetDragDropClient(Window* root_window);
} // namespace client
} // namespace aura
-#endif // UI_AURA_CLIENT_DRAG_DROP_CLIENT_H_
+#endif // UI_WM_PUBLIC_DRAG_DROP_CLIENT_H_
diff --git a/ui/aura/client/drag_drop_delegate.cc b/ui/wm/public/drag_drop_delegate.cc
index 92d986b..6380f96 100644
--- a/ui/aura/client/drag_drop_delegate.cc
+++ b/ui/wm/public/drag_drop_delegate.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/aura/client/drag_drop_delegate.h"
+#include "ui/wm/public/drag_drop_delegate.h"
#include "ui/aura/window.h"
#include "ui/aura/window_property.h"
diff --git a/ui/aura/client/drag_drop_delegate.h b/ui/wm/public/drag_drop_delegate.h
index dde7f32..50f6c26 100644
--- a/ui/aura/client/drag_drop_delegate.h
+++ b/ui/wm/public/drag_drop_delegate.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_AURA_CLIENT_DRAG_DROP_DELEGATE_H_
-#define UI_AURA_CLIENT_DRAG_DROP_DELEGATE_H_
+#ifndef UI_WM_PUBLIC_DRAG_DROP_DELEGATE_H_
+#define UI_WM_PUBLIC_DRAG_DROP_DELEGATE_H_
#include "ui/aura/aura_export.h"
@@ -48,4 +48,4 @@ AURA_EXPORT DragDropDelegate* GetDragDropDelegate(Window* window);
} // namespace client
} // namespace aura
-#endif // UI_AURA_CLIENT_DRAG_DROP_DELEGATE_H_
+#endif // UI_WM_PUBLIC_DRAG_DROP_DELEGATE_H_
diff --git a/ui/aura/client/scoped_tooltip_disabler.cc b/ui/wm/public/scoped_tooltip_disabler.cc
index d3c1033..45a39ca 100644
--- a/ui/aura/client/scoped_tooltip_disabler.cc
+++ b/ui/wm/public/scoped_tooltip_disabler.cc
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/aura/client/scoped_tooltip_disabler.h"
+#include "ui/wm/public/scoped_tooltip_disabler.h"
-#include "ui/aura/client/tooltip_client.h"
#include "ui/aura/window.h"
+#include "ui/wm/public/tooltip_client.h"
namespace aura {
namespace client {
diff --git a/ui/aura/client/scoped_tooltip_disabler.h b/ui/wm/public/scoped_tooltip_disabler.h
index 5d1b2ea..0fd3e11 100644
--- a/ui/aura/client/scoped_tooltip_disabler.h
+++ b/ui/wm/public/scoped_tooltip_disabler.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_AURA_CLIENT_SCOPED_TOOLTIP_DISABLER_H_
-#define UI_AURA_CLIENT_SCOPED_TOOLTIP_DISABLER_H_
+#ifndef UI_WM_PUBLIC_SCOPED_TOOLTIP_DISABLER_H_
+#define UI_WM_PUBLIC_SCOPED_TOOLTIP_DISABLER_H_
#include "ui/aura/window_observer.h"
@@ -36,4 +36,4 @@ class AURA_EXPORT ScopedTooltipDisabler : aura::WindowObserver {
} // namespace client
} // namespace aura
-#endif // UI_AURA_CLIENT_SCOPED_TOOLTIP_DISABLER_H_
+#endif // UI_WM_PUBLIC_SCOPED_TOOLTIP_DISABLER_H_
diff --git a/ui/aura/client/tooltip_client.cc b/ui/wm/public/tooltip_client.cc
index 770be41..b473238 100644
--- a/ui/aura/client/tooltip_client.cc
+++ b/ui/wm/public/tooltip_client.cc
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/aura/client/tooltip_client.h"
+#include "ui/wm/public/tooltip_client.h"
-#include "ui/aura/window_event_dispatcher.h"
+#include "ui/aura/window.h"
#include "ui/aura/window_property.h"
DECLARE_WINDOW_PROPERTY_TYPE(aura::client::TooltipClient*)
diff --git a/ui/aura/client/tooltip_client.h b/ui/wm/public/tooltip_client.h
index 875e0e2..f592b21 100644
--- a/ui/aura/client/tooltip_client.h
+++ b/ui/wm/public/tooltip_client.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_AURA_CLIENT_TOOLTIP_CLIENT_H_
-#define UI_AURA_CLIENT_TOOLTIP_CLIENT_H_
+#ifndef UI_WM_PUBLIC_TOOLTIP_CLIENT_H_
+#define UI_WM_PUBLIC_TOOLTIP_CLIENT_H_
#include "ui/aura/aura_export.h"
#include "ui/gfx/font.h"
@@ -42,4 +42,4 @@ AURA_EXPORT const base::string16 GetTooltipText(Window* window);
} // namespace client
} // namespace aura
-#endif // UI_AURA_CLIENT_TOOLTIP_CLIENT_H_
+#endif // UI_WM_PUBLIC_TOOLTIP_CLIENT_H_
diff --git a/ui/aura/client/transient_window_client.cc b/ui/wm/public/transient_window_client.cc
index 47b50b9..aab8e51 100644
--- a/ui/aura/client/transient_window_client.cc
+++ b/ui/wm/public/transient_window_client.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/aura/client/transient_window_client.h"
+#include "ui/wm/public/transient_window_client.h"
namespace aura {
namespace client {
diff --git a/ui/aura/client/transient_window_client.h b/ui/wm/public/transient_window_client.h
index 96434d7..2086100 100644
--- a/ui/aura/client/transient_window_client.h
+++ b/ui/wm/public/transient_window_client.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_AURA_CLIENT_TRANSIENT_WINDOW_CLIENT_H_
-#define UI_AURA_CLIENT_TRANSIENT_WINDOW_CLIENT_H_
+#ifndef UI_WM_PUBLIC_TRANSIENT_WINDOW_CLIENT_H_
+#define UI_WM_PUBLIC_TRANSIENT_WINDOW_CLIENT_H_
#include "base/basictypes.h"
#include "ui/aura/aura_export.h"
@@ -44,4 +44,4 @@ AURA_EXPORT TransientWindowClient* GetTransientWindowClient();
} // namespace client
} // namespace aura
-#endif // UI_AURA_CLIENT_TRANSIENT_WINDOW_CLIENT_H_
+#endif // UI_WM_PUBLIC_TRANSIENT_WINDOW_CLIENT_H_
diff --git a/ui/aura/client/window_move_client.cc b/ui/wm/public/window_move_client.cc
index c65452d..44ccca9 100644
--- a/ui/aura/client/window_move_client.cc
+++ b/ui/wm/public/window_move_client.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/aura/client/window_move_client.h"
+#include "ui/wm/public/window_move_client.h"
#include "ui/aura/window.h"
#include "ui/aura/window_property.h"
diff --git a/ui/aura/client/window_move_client.h b/ui/wm/public/window_move_client.h
index 15e4245..b8943d3 100644
--- a/ui/aura/client/window_move_client.h
+++ b/ui/wm/public/window_move_client.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_AURA_CLIENT_WINDOW_MOVE_CLIENT_H_
-#define UI_AURA_CLIENT_WINDOW_MOVE_CLIENT_H_
+#ifndef UI_WM_PUBLIC_WINDOW_MOVE_CLIENT_H_
+#define UI_WM_PUBLIC_WINDOW_MOVE_CLIENT_H_
#include "ui/aura/aura_export.h"
#include "ui/gfx/vector2d.h"
@@ -53,4 +53,4 @@ AURA_EXPORT WindowMoveClient* GetWindowMoveClient(Window* window);
} // namespace client
} // namespace aura
-#endif // UI_AURA_CLIENT_WINDOW_MOVE_CLIENT_H_
+#endif // UI_WM_PUBLIC_WINDOW_MOVE_CLIENT_H_