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

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

Issue 11576003: [content shell] run headless when in layout test mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/shell/shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_SHELL_SHELL_H_ 5 #ifndef CONTENT_SHELL_SHELL_H_
6 #define CONTENT_SHELL_SHELL_H_ 6 #define CONTENT_SHELL_SHELL_H_
7 7
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 int content_height_; 235 int content_height_;
236 #elif defined(OS_ANDROID) 236 #elif defined(OS_ANDROID)
237 base::android::ScopedJavaGlobalRef<jobject> java_object_; 237 base::android::ScopedJavaGlobalRef<jobject> java_object_;
238 #elif defined(USE_AURA) 238 #elif defined(USE_AURA)
239 static aura::client::StackingClient* stacking_client_; 239 static aura::client::StackingClient* stacking_client_;
240 static views::ViewsDelegate* views_delegate_; 240 static views::ViewsDelegate* views_delegate_;
241 241
242 views::Widget* window_widget_; 242 views::Widget* window_widget_;
243 #endif 243 #endif
244 244
245 bool headless_;
246
245 // A container of all the open windows. We use a vector so we can keep track 247 // A container of all the open windows. We use a vector so we can keep track
246 // of ordering. 248 // of ordering.
247 static std::vector<Shell*> windows_; 249 static std::vector<Shell*> windows_;
248 250
249 static base::Callback<void(Shell*)> shell_created_callback_; 251 static base::Callback<void(Shell*)> shell_created_callback_;
250 252
251 // True if the destructur of Shell should post a quit closure on the current 253 // True if the destructur of Shell should post a quit closure on the current
252 // message loop if the destructed Shell object was the last one. 254 // message loop if the destructed Shell object was the last one.
253 static bool quit_message_loop_; 255 static bool quit_message_loop_;
254 }; 256 };
255 257
256 } // namespace content 258 } // namespace content
257 259
258 #endif // CONTENT_SHELL_SHELL_H_ 260 #endif // CONTENT_SHELL_SHELL_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698