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

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

Issue 9190018: Support sharing of ContentMain and BrowserMain code with embedded use cases. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 months 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
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698