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

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

Issue 8820016: Don't attempt to forward declare StringPiece. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix include order. Created 9 years 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
« no previous file with comments | « chrome/test/base/v8_unit_test.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "content/browser/tab_contents/tab_contents_delegate.h" 15 #include "content/browser/tab_contents/tab_contents_delegate.h"
15 #include "ui/gfx/native_widget_types.h" 16 #include "ui/gfx/native_widget_types.h"
16 17
17 class GURL; 18 class GURL;
18 class SiteInstance; 19 class SiteInstance;
19 class TabContents; 20 class TabContents;
20 21
21 namespace base {
22 class StringPiece;
23 }
24
25 namespace content { 22 namespace content {
26 23
27 class BrowserContext; 24 class BrowserContext;
28 25
29 // This represents one window of the Content Shell, i.e. all the UI including 26 // This represents one window of the Content Shell, i.e. all the UI including
30 // buttons and url bar, as well as the web content area. 27 // buttons and url bar, as well as the web content area.
31 class Shell : public TabContentsDelegate { 28 class Shell : public TabContentsDelegate {
32 public: 29 public:
33 virtual ~Shell(); 30 virtual ~Shell();
34 31
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 #endif 107 #endif
111 108
112 // A container of all the open windows. We use a vector so we can keep track 109 // A container of all the open windows. We use a vector so we can keep track
113 // of ordering. 110 // of ordering.
114 static std::vector<Shell*> windows_; 111 static std::vector<Shell*> windows_;
115 }; 112 };
116 113
117 } // namespace content 114 } // namespace content
118 115
119 #endif // CONTENT_SHELL_SHELL_H_ 116 #endif // CONTENT_SHELL_SHELL_H_
OLDNEW
« no previous file with comments | « chrome/test/base/v8_unit_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698