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

Side by Side Diff: content/shell/browser/shell.h

Issue 1964153002: Move Screen, its impls, DisplayObserver and DisplayChangeNotifier to ui/display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_SHELL_BROWSER_SHELL_H_ 4 #ifndef CONTENT_SHELL_BROWSER_SHELL_H_
5 #define CONTENT_SHELL_BROWSER_SHELL_H_ 5 #define CONTENT_SHELL_BROWSER_SHELL_H_
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback_forward.h" 12 #include "base/callback_forward.h"
13 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "content/public/browser/web_contents_delegate.h" 15 #include "content/public/browser/web_contents_delegate.h"
16 #include "content/public/browser/web_contents_observer.h" 16 #include "content/public/browser/web_contents_observer.h"
17 #include "ipc/ipc_channel.h" 17 #include "ipc/ipc_channel.h"
18 #include "ui/gfx/geometry/size.h" 18 #include "ui/gfx/geometry/size.h"
19 #include "ui/gfx/native_widget_types.h" 19 #include "ui/gfx/native_widget_types.h"
20 20
21 #if defined(OS_ANDROID) 21 #if defined(OS_ANDROID)
22 #include "base/android/scoped_java_ref.h" 22 #include "base/android/scoped_java_ref.h"
23 #elif defined(USE_AURA) 23 #elif defined(USE_AURA)
24 #if defined(OS_CHROMEOS) 24 #if defined(OS_CHROMEOS)
25 namespace gfx { 25
26 namespace display {
26 class Screen; 27 class Screen;
27 } 28 }
28 namespace display {
29 using Screen = gfx::Screen;
30 }
31 29
32 namespace wm { 30 namespace wm {
33 class WMTestHelper; 31 class WMTestHelper;
34 } 32 }
35 #endif // defined(OS_CHROMEOS) 33 #endif // defined(OS_CHROMEOS)
36 namespace views { 34 namespace views {
37 class Widget; 35 class Widget;
38 class ViewsDelegate; 36 class ViewsDelegate;
39 } 37 }
40 #endif // defined(USE_AURA) 38 #endif // defined(USE_AURA)
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 static base::Callback<void(Shell*)> shell_created_callback_; 269 static base::Callback<void(Shell*)> shell_created_callback_;
272 270
273 // True if the destructur of Shell should post a quit closure on the current 271 // True if the destructur of Shell should post a quit closure on the current
274 // message loop if the destructed Shell object was the last one. 272 // message loop if the destructed Shell object was the last one.
275 static bool quit_message_loop_; 273 static bool quit_message_loop_;
276 }; 274 };
277 275
278 } // namespace content 276 } // namespace content
279 277
280 #endif // CONTENT_SHELL_BROWSER_SHELL_H_ 278 #endif // CONTENT_SHELL_BROWSER_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698