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 #ifndef CONTENT_SHELL_SHELL_H_ | 4 #ifndef CONTENT_SHELL_SHELL_H_ |
5 #define CONTENT_SHELL_SHELL_H_ | 5 #define CONTENT_SHELL_SHELL_H_ |
6 | 6 |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/string_piece.h" | 13 #include "base/strings/string_piece.h" |
| 14 #include "content/public/browser/notification_observer.h" |
14 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
15 #include "content/public/browser/notification_observer.h" | |
16 #include "content/public/browser/web_contents_delegate.h" | 16 #include "content/public/browser/web_contents_delegate.h" |
17 #include "ipc/ipc_channel.h" | 17 #include "ipc/ipc_channel.h" |
18 #include "ui/gfx/native_widget_types.h" | 18 #include "ui/gfx/native_widget_types.h" |
19 #include "ui/gfx/size.h" | 19 #include "ui/gfx/size.h" |
20 | 20 |
21 #if defined(TOOLKIT_GTK) | 21 #if defined(TOOLKIT_GTK) |
22 #include <gtk/gtk.h> | 22 #include <gtk/gtk.h> |
23 #include "ui/base/gtk/gtk_signal.h" | 23 #include "ui/base/gtk/gtk_signal.h" |
24 | 24 |
25 typedef struct _GtkToolItem GtkToolItem; | 25 typedef struct _GtkToolItem GtkToolItem; |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 static base::Callback<void(Shell*)> shell_created_callback_; | 260 static base::Callback<void(Shell*)> shell_created_callback_; |
261 | 261 |
262 // True if the destructur of Shell should post a quit closure on the current | 262 // True if the destructur of Shell should post a quit closure on the current |
263 // message loop if the destructed Shell object was the last one. | 263 // message loop if the destructed Shell object was the last one. |
264 static bool quit_message_loop_; | 264 static bool quit_message_loop_; |
265 }; | 265 }; |
266 | 266 |
267 } // namespace content | 267 } // namespace content |
268 | 268 |
269 #endif // CONTENT_SHELL_SHELL_H_ | 269 #endif // CONTENT_SHELL_SHELL_H_ |
OLD | NEW |