OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |