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

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

Issue 2540313002: Split //ui/display and create //ui/display/manager. (Closed)
Patch Set: Cleanup export header. Created 4 years 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 | « extensions/shell/browser/shell_desktop_controller_aura.h ('k') | media/gpu/BUILD.gn » ('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_aura.h" 5 #include "extensions/shell/browser/shell_desktop_controller_aura.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 29 matching lines...) Expand all
40 #include "ui/wm/core/native_cursor_manager.h" 40 #include "ui/wm/core/native_cursor_manager.h"
41 #include "ui/wm/core/native_cursor_manager_delegate.h" 41 #include "ui/wm/core/native_cursor_manager_delegate.h"
42 42
43 #if defined(OS_CHROMEOS) 43 #if defined(OS_CHROMEOS)
44 #include "chromeos/dbus/dbus_thread_manager.h" 44 #include "chromeos/dbus/dbus_thread_manager.h"
45 #include "ui/chromeos/user_activity_power_manager_notifier.h" 45 #include "ui/chromeos/user_activity_power_manager_notifier.h"
46 #include "ui/display/types/display_mode.h" 46 #include "ui/display/types/display_mode.h"
47 #include "ui/display/types/display_snapshot.h" 47 #include "ui/display/types/display_snapshot.h"
48 48
49 #if defined(USE_X11) 49 #if defined(USE_X11)
50 #include "ui/display/chromeos/x11/native_display_delegate_x11.h" 50 #include "ui/display/manager/chromeos/x11/native_display_delegate_x11.h"
51 #endif 51 #endif
52 52
53 #if defined(USE_OZONE) 53 #if defined(USE_OZONE)
54 #include "ui/display/types/native_display_delegate.h" 54 #include "ui/display/types/native_display_delegate.h"
55 #include "ui/ozone/public/ozone_platform.h" 55 #include "ui/ozone/public/ozone_platform.h"
56 #endif 56 #endif
57 57
58 #endif // defined(OS_CHROMEOS) 58 #endif // defined(OS_CHROMEOS)
59 59
60 namespace extensions { 60 namespace extensions {
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 if (displays.empty()) 359 if (displays.empty())
360 return gfx::Size(); 360 return gfx::Size();
361 const ui::DisplayMode* mode = displays[0]->current_mode(); 361 const ui::DisplayMode* mode = displays[0]->current_mode();
362 return mode ? mode->size() : gfx::Size(); 362 return mode ? mode->size() : gfx::Size();
363 #else 363 #else
364 return gfx::Size(); 364 return gfx::Size();
365 #endif 365 #endif
366 } 366 }
367 367
368 } // namespace extensions 368 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_desktop_controller_aura.h ('k') | media/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698