| 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 "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  Loading... | 
|   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  Loading... | 
|  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 | 
| OLD | NEW |