Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 8 #pragma once |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/string_piece.h" | 14 #include "base/string_piece.h" |
| 15 #include "content/public/browser/web_contents_delegate.h" | 15 #include "content/public/browser/web_contents_delegate.h" |
| 16 #include "ui/gfx/native_widget_types.h" | 16 #include "ui/gfx/native_widget_types.h" |
| 17 | 17 |
| 18 #if defined(OS_WIN) | |
| 19 // Define this value to test embedded message loop integration. | |
|
jam
2012/01/12 18:07:18
adding test code in production code isn't how we d
| |
| 20 #define TEST_EMBEDDED_MESSAGE_LOOP | |
| 21 #endif | |
| 22 | |
| 18 class GURL; | 23 class GURL; |
| 19 class SiteInstance; | 24 class SiteInstance; |
| 20 class TabContents; | 25 class TabContents; |
| 21 | 26 |
| 22 namespace content { | 27 namespace content { |
| 23 | 28 |
| 24 class BrowserContext; | 29 class BrowserContext; |
| 25 | 30 |
| 26 // This represents one window of the Content Shell, i.e. all the UI including | 31 // This represents one window of the Content Shell, i.e. all the UI including |
| 27 // buttons and url bar, as well as the web content area. | 32 // buttons and url bar, as well as the web content area. |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 107 #endif | 112 #endif |
| 108 | 113 |
| 109 // A container of all the open windows. We use a vector so we can keep track | 114 // A container of all the open windows. We use a vector so we can keep track |
| 110 // of ordering. | 115 // of ordering. |
| 111 static std::vector<Shell*> windows_; | 116 static std::vector<Shell*> windows_; |
| 112 }; | 117 }; |
| 113 | 118 |
| 114 } // namespace content | 119 } // namespace content |
| 115 | 120 |
| 116 #endif // CONTENT_SHELL_SHELL_H_ | 121 #endif // CONTENT_SHELL_SHELL_H_ |
| OLD | NEW |