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 |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ptr_util.h" |
14 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
15 #include "base/threading/thread_task_runner_handle.h" | 16 #include "base/threading/thread_task_runner_handle.h" |
16 #include "build/build_config.h" | 17 #include "build/build_config.h" |
17 #include "extensions/browser/app_window/app_window.h" | 18 #include "extensions/browser/app_window/app_window.h" |
18 #include "extensions/browser/app_window/native_app_window.h" | 19 #include "extensions/browser/app_window/native_app_window.h" |
19 #include "extensions/shell/browser/input_method_event_handler.h" | 20 #include "extensions/shell/browser/input_method_event_handler.h" |
20 #include "extensions/shell/browser/shell_app_delegate.h" | 21 #include "extensions/shell/browser/shell_app_delegate.h" |
21 #include "extensions/shell/browser/shell_app_window_client.h" | 22 #include "extensions/shell/browser/shell_app_window_client.h" |
22 #include "extensions/shell/browser/shell_screen.h" | 23 #include "extensions/shell/browser/shell_screen.h" |
23 #include "extensions/shell/common/switches.h" | 24 #include "extensions/shell/common/switches.h" |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 if (displays.empty()) | 391 if (displays.empty()) |
391 return gfx::Size(); | 392 return gfx::Size(); |
392 const ui::DisplayMode* mode = displays[0]->current_mode(); | 393 const ui::DisplayMode* mode = displays[0]->current_mode(); |
393 return mode ? mode->size() : gfx::Size(); | 394 return mode ? mode->size() : gfx::Size(); |
394 #else | 395 #else |
395 return gfx::Size(); | 396 return gfx::Size(); |
396 #endif | 397 #endif |
397 } | 398 } |
398 | 399 |
399 } // namespace extensions | 400 } // namespace extensions |
OLD | NEW |