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

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

Issue 2207043002: SetDeviceScaleFactorForTest Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SetDeviceScaleFactorForTest Created 4 years, 4 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>
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 236
237 gfx::NativeWindow window_; 237 gfx::NativeWindow window_;
238 #if defined(OS_MACOSX) 238 #if defined(OS_MACOSX)
239 NSTextField* url_edit_view_; 239 NSTextField* url_edit_view_;
240 #endif 240 #endif
241 241
242 gfx::Size content_size_; 242 gfx::Size content_size_;
243 243
244 #if defined(OS_ANDROID) 244 #if defined(OS_ANDROID)
245 base::android::ScopedJavaGlobalRef<jobject> java_object_; 245 base::android::ScopedJavaGlobalRef<jobject> java_object_;
246 #elif defined(USE_AURA)
247 #if defined(OS_CHROMEOS)
248 static wm::WMTestHelper* wm_test_helper_;
249 static display::Screen* test_screen_;
250 #endif 246 #endif
247
248 #if defined(USE_AURA)
251 #if defined(TOOLKIT_VIEWS) 249 #if defined(TOOLKIT_VIEWS)
252 static views::ViewsDelegate* views_delegate_;
253
254 views::Widget* window_widget_; 250 views::Widget* window_widget_;
255 #endif // defined(TOOLKIT_VIEWS) 251 #endif // defined(TOOLKIT_VIEWS)
256 static ShellPlatformDataAura* platform_; 252 static ShellPlatformDataAura* platform_;
257 #endif // defined(USE_AURA) 253 #endif // defined(USE_AURA)
258 254
259 bool headless_; 255 bool headless_;
260 256
261 // A container of all the open windows. We use a vector so we can keep track 257 // A container of all the open windows. We use a vector so we can keep track
262 // of ordering. 258 // of ordering.
263 static std::vector<Shell*> windows_; 259 static std::vector<Shell*> windows_;
264 260
265 static base::Callback<void(Shell*)> shell_created_callback_; 261 static base::Callback<void(Shell*)> shell_created_callback_;
266 262
267 // True if the destructur of Shell should post a quit closure on the current 263 // True if the destructur of Shell should post a quit closure on the current
268 // message loop if the destructed Shell object was the last one. 264 // message loop if the destructed Shell object was the last one.
269 static bool quit_message_loop_; 265 static bool quit_message_loop_;
270 }; 266 };
271 267
272 } // namespace content 268 } // namespace content
273 269
274 #endif // CONTENT_SHELL_BROWSER_SHELL_H_ 270 #endif // CONTENT_SHELL_BROWSER_SHELL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ('k') | content/shell/browser/shell_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698