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

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

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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
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
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/memory/ptr_util.h"
15 #include "base/message_loop/message_loop.h"
15 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
16 #include "base/threading/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
17 #include "build/build_config.h" 18 #include "build/build_config.h"
18 #include "extensions/browser/app_window/app_window.h" 19 #include "extensions/browser/app_window/app_window.h"
19 #include "extensions/browser/app_window/native_app_window.h" 20 #include "extensions/browser/app_window/native_app_window.h"
20 #include "extensions/shell/browser/input_method_event_handler.h" 21 #include "extensions/shell/browser/input_method_event_handler.h"
21 #include "extensions/shell/browser/shell_app_delegate.h" 22 #include "extensions/shell/browser/shell_app_delegate.h"
22 #include "extensions/shell/browser/shell_app_window_client.h" 23 #include "extensions/shell/browser/shell_app_window_client.h"
23 #include "extensions/shell/browser/shell_screen.h" 24 #include "extensions/shell/browser/shell_screen.h"
24 #include "extensions/shell/common/switches.h" 25 #include "extensions/shell/common/switches.h"
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 if (displays.empty()) 391 if (displays.empty())
391 return gfx::Size(); 392 return gfx::Size();
392 const display::DisplayMode* mode = displays[0]->current_mode(); 393 const display::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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698