| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "content/shell/browser/shell_platform_data_aura.h" | 5 #include "content/shell/browser/shell_platform_data_aura.h" |
| 6 | 6 |
| 7 #include "content/shell/browser/shell.h" | 7 #include "content/shell/browser/shell.h" |
| 8 #include "ui/aura/client/aura_constants.h" | 8 #include "ui/aura/client/aura_constants.h" |
| 9 #include "ui/aura/client/default_activation_client.h" | 9 #include "ui/aura/client/default_activation_client.h" |
| 10 #include "ui/aura/client/default_capture_client.h" | 10 #include "ui/aura/client/default_capture_client.h" |
| 11 #include "ui/aura/env.h" | 11 #include "ui/aura/env.h" |
| 12 #include "ui/aura/layout_manager.h" | 12 #include "ui/aura/layout_manager.h" |
| 13 #include "ui/aura/root_window.h" | |
| 14 #include "ui/aura/test/test_focus_client.h" | 13 #include "ui/aura/test/test_focus_client.h" |
| 15 #include "ui/aura/test/test_window_tree_client.h" | 14 #include "ui/aura/test/test_window_tree_client.h" |
| 16 #include "ui/aura/window.h" | 15 #include "ui/aura/window.h" |
| 16 #include "ui/aura/window_event_dispatcher.h" |
| 17 #include "ui/base/ime/input_method.h" | 17 #include "ui/base/ime/input_method.h" |
| 18 #include "ui/base/ime/input_method_delegate.h" | 18 #include "ui/base/ime/input_method_delegate.h" |
| 19 #include "ui/base/ime/input_method_factory.h" | 19 #include "ui/base/ime/input_method_factory.h" |
| 20 #include "ui/gfx/screen.h" | 20 #include "ui/gfx/screen.h" |
| 21 | 21 |
| 22 namespace content { | 22 namespace content { |
| 23 | 23 |
| 24 namespace { | 24 namespace { |
| 25 | 25 |
| 26 class FillLayout : public aura::LayoutManager { | 26 class FillLayout : public aura::LayoutManager { |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 dispatcher_->host()->Show(); | 139 dispatcher_->host()->Show(); |
| 140 } | 140 } |
| 141 | 141 |
| 142 void ShellPlatformDataAura::ResizeWindow(const gfx::Size& size) { | 142 void ShellPlatformDataAura::ResizeWindow(const gfx::Size& size) { |
| 143 dispatcher_->host()->SetBounds(gfx::Rect(size)); | 143 dispatcher_->host()->SetBounds(gfx::Rect(size)); |
| 144 } | 144 } |
| 145 | 145 |
| 146 | 146 |
| 147 | 147 |
| 148 } // namespace content | 148 } // namespace content |
| OLD | NEW |