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

Side by Side Diff: chrome/browser/web_contents.h

Issue 11318: Beginnings of a new InfoBar system. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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/browser/views/infobars/infobars.cc ('k') | chrome/browser/web_contents.cc » ('j') | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_WEB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_WEB_CONTENTS_H_
6 #define CHROME_BROWSER_WEB_CONTENTS_H_ 6 #define CHROME_BROWSER_WEB_CONTENTS_H_
7 7
8 #include "base/hash_tables.h" 8 #include "base/hash_tables.h"
9 #include "chrome/browser/download/save_package.h" 9 #include "chrome/browser/download/save_package.h"
10 #include "chrome/browser/fav_icon_helper.h" 10 #include "chrome/browser/fav_icon_helper.h"
(...skipping 12 matching lines...) Expand all
23 class RenderViewHostFactory; 23 class RenderViewHostFactory;
24 class RenderWidgetHost; 24 class RenderWidgetHost;
25 class WebContentsView; 25 class WebContentsView;
26 26
27 // WebContents represents the contents of a tab that shows web pages. It embeds 27 // WebContents represents the contents of a tab that shows web pages. It embeds
28 // a RenderViewHost (via RenderViewHostManager) to actually display the page. 28 // a RenderViewHost (via RenderViewHostManager) to actually display the page.
29 class WebContents : public TabContents, 29 class WebContents : public TabContents,
30 public RenderViewHostDelegate, 30 public RenderViewHostDelegate,
31 public RenderViewHostManager::Delegate, 31 public RenderViewHostManager::Delegate,
32 public SelectFileDialog::Listener, 32 public SelectFileDialog::Listener,
33 public NotificationObserver,
34 public WebApp::Observer { 33 public WebApp::Observer {
35 public: 34 public:
36 // If instance is NULL, then creates a new process for this view. Otherwise 35 // If instance is NULL, then creates a new process for this view. Otherwise
37 // initialize with a process already created for a different WebContents. 36 // initialize with a process already created for a different WebContents.
38 // This will share the process between views in the same instance. If 37 // This will share the process between views in the same instance. If
39 // render_view_factory is NULL, this will create RenderViewHost objects 38 // render_view_factory is NULL, this will create RenderViewHost objects
40 // directly. 39 // directly.
41 WebContents(Profile* profile, 40 WebContents(Profile* profile,
42 SiteInstance* instance, 41 SiteInstance* instance,
43 RenderViewHostFactory* render_view_factory, 42 RenderViewHostFactory* render_view_factory,
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 net::LoadState load_state_; 560 net::LoadState load_state_;
562 std::wstring load_state_host_; 561 std::wstring load_state_host_;
563 562
564 // Non-null if we're displaying content for a web app. 563 // Non-null if we're displaying content for a web app.
565 scoped_refptr<WebApp> web_app_; 564 scoped_refptr<WebApp> web_app_;
566 565
567 DISALLOW_COPY_AND_ASSIGN(WebContents); 566 DISALLOW_COPY_AND_ASSIGN(WebContents);
568 }; 567 };
569 568
570 #endif // CHROME_BROWSER_WEB_CONTENTS_H_ 569 #endif // CHROME_BROWSER_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/infobars/infobars.cc ('k') | chrome/browser/web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698