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

Side by Side Diff: extensions/shell/browser/shell_desktop_controller.cc

Issue 558253003: display: Move ui/display/types/chromeos/* to ui/display/types/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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 | « athena/env/athena_env_impl.cc ('k') | ui/display/chromeos/display_configurator.h » ('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 "extensions/shell/browser/shell_desktop_controller.h" 5 #include "extensions/shell/browser/shell_desktop_controller.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 18 matching lines...) Expand all
29 #include "ui/wm/core/cursor_manager.h" 29 #include "ui/wm/core/cursor_manager.h"
30 #include "ui/wm/core/focus_controller.h" 30 #include "ui/wm/core/focus_controller.h"
31 #include "ui/wm/core/input_method_event_filter.h" 31 #include "ui/wm/core/input_method_event_filter.h"
32 #include "ui/wm/core/native_cursor_manager.h" 32 #include "ui/wm/core/native_cursor_manager.h"
33 #include "ui/wm/core/native_cursor_manager_delegate.h" 33 #include "ui/wm/core/native_cursor_manager_delegate.h"
34 #include "ui/wm/core/user_activity_detector.h" 34 #include "ui/wm/core/user_activity_detector.h"
35 35
36 #if defined(OS_CHROMEOS) 36 #if defined(OS_CHROMEOS)
37 #include "chromeos/dbus/dbus_thread_manager.h" 37 #include "chromeos/dbus/dbus_thread_manager.h"
38 #include "ui/chromeos/user_activity_power_manager_notifier.h" 38 #include "ui/chromeos/user_activity_power_manager_notifier.h"
39 #include "ui/display/types/chromeos/display_mode.h" 39 #include "ui/display/types/display_mode.h"
40 #include "ui/display/types/chromeos/display_snapshot.h" 40 #include "ui/display/types/display_snapshot.h"
41 #endif 41 #endif
42 42
43 namespace extensions { 43 namespace extensions {
44 namespace { 44 namespace {
45 45
46 // A simple layout manager that makes each new window fill its parent. 46 // A simple layout manager that makes each new window fill its parent.
47 class FillLayout : public aura::LayoutManager { 47 class FillLayout : public aura::LayoutManager {
48 public: 48 public:
49 FillLayout() {} 49 FillLayout() {}
50 virtual ~FillLayout() {} 50 virtual ~FillLayout() {}
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 if (displays.empty()) 340 if (displays.empty())
341 return gfx::Size(); 341 return gfx::Size();
342 const ui::DisplayMode* mode = displays[0].display->current_mode(); 342 const ui::DisplayMode* mode = displays[0].display->current_mode();
343 return mode ? mode->size() : gfx::Size(); 343 return mode ? mode->size() : gfx::Size();
344 #else 344 #else
345 return gfx::Size(); 345 return gfx::Size();
346 #endif 346 #endif
347 } 347 }
348 348
349 } // namespace extensions 349 } // namespace extensions
OLDNEW
« no previous file with comments | « athena/env/athena_env_impl.cc ('k') | ui/display/chromeos/display_configurator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698