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

Side by Side Diff: content/shell/browser/shell_platform_data_aura.cc

Issue 1927463002: Rename gfx::Display/Screen to display::Display/Screen in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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 | « content/shell/browser/shell_aura.cc ('k') | content/shell/browser/shell_views.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 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 "base/macros.h" 7 #include "base/macros.h"
8 #include "content/shell/browser/shell.h" 8 #include "content/shell/browser/shell.h"
9 #include "ui/aura/client/default_capture_client.h" 9 #include "ui/aura/client/default_capture_client.h"
10 #include "ui/aura/env.h" 10 #include "ui/aura/env.h"
11 #include "ui/aura/layout_manager.h" 11 #include "ui/aura/layout_manager.h"
12 #include "ui/aura/test/test_focus_client.h" 12 #include "ui/aura/test/test_focus_client.h"
13 #include "ui/aura/test/test_window_tree_client.h" 13 #include "ui/aura/test/test_window_tree_client.h"
14 #include "ui/aura/window.h" 14 #include "ui/aura/window.h"
15 #include "ui/aura/window_event_dispatcher.h" 15 #include "ui/aura/window_event_dispatcher.h"
16 #include "ui/base/ime/input_method.h" 16 #include "ui/base/ime/input_method.h"
17 #include "ui/base/ime/input_method_delegate.h" 17 #include "ui/base/ime/input_method_delegate.h"
18 #include "ui/base/ime/input_method_factory.h" 18 #include "ui/base/ime/input_method_factory.h"
19 #include "ui/gfx/screen.h"
20 #include "ui/wm/core/default_activation_client.h" 19 #include "ui/wm/core/default_activation_client.h"
21 20
22 namespace content { 21 namespace content {
23 22
24 namespace { 23 namespace {
25 24
26 class FillLayout : public aura::LayoutManager { 25 class FillLayout : public aura::LayoutManager {
27 public: 26 public:
28 explicit FillLayout(aura::Window* root) 27 explicit FillLayout(aura::Window* root)
29 : root_(root) { 28 : root_(root) {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 80
82 void ShellPlatformDataAura::ShowWindow() { 81 void ShellPlatformDataAura::ShowWindow() {
83 host_->Show(); 82 host_->Show();
84 } 83 }
85 84
86 void ShellPlatformDataAura::ResizeWindow(const gfx::Size& size) { 85 void ShellPlatformDataAura::ResizeWindow(const gfx::Size& size) {
87 host_->SetBounds(gfx::Rect(size)); 86 host_->SetBounds(gfx::Rect(size));
88 } 87 }
89 88
90 } // namespace content 89 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/browser/shell_aura.cc ('k') | content/shell/browser/shell_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698