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 #pragma once | |
9 | 8 |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
14 #include "base/string_piece.h" | 13 #include "base/string_piece.h" |
15 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
16 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
17 #include "content/public/browser/web_contents_delegate.h" | 16 #include "content/public/browser/web_contents_delegate.h" |
18 #include "ipc/ipc_channel.h" | 17 #include "ipc/ipc_channel.h" |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 static std::vector<Shell*> windows_; | 193 static std::vector<Shell*> windows_; |
195 | 194 |
196 // True if the destructur of Shell should post a quit closure on the current | 195 // True if the destructur of Shell should post a quit closure on the current |
197 // message loop if the destructed Shell object was the last one. | 196 // message loop if the destructed Shell object was the last one. |
198 static bool quit_message_loop_; | 197 static bool quit_message_loop_; |
199 }; | 198 }; |
200 | 199 |
201 } // namespace content | 200 } // namespace content |
202 | 201 |
203 #endif // CONTENT_SHELL_SHELL_H_ | 202 #endif // CONTENT_SHELL_SHELL_H_ |
OLD | NEW |