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

Side by Side Diff: content/public/browser/web_contents.h

Issue 10106022: TabContents -> WebContentsImpl, part 19. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 8 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) 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_PUBLIC_BROWSER_WEB_CONTENTS_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class RenderWidgetHostView; 43 class RenderWidgetHostView;
44 class SessionStorageNamespace; 44 class SessionStorageNamespace;
45 class SiteInstance; 45 class SiteInstance;
46 class WebContentsDelegate; 46 class WebContentsDelegate;
47 class WebContentsView; 47 class WebContentsView;
48 struct RendererPreferences; 48 struct RendererPreferences;
49 49
50 // Describes what goes in the main content area of a tab. 50 // Describes what goes in the main content area of a tab.
51 class WebContents : public PageNavigator { 51 class WebContents : public PageNavigator {
52 public: 52 public:
53 // |base_tab_contents| is used if we want to size the new WebContents's view 53 // |base_web_contents| is used if we want to size the new WebContents's view
54 // based on the view of an existing WebContents. This can be NULL if not 54 // based on the view of an existing WebContents. This can be NULL if not
55 // needed. 55 // needed.
56 // 56 //
57 // The session storage namespace parameter allows multiple render views and 57 // The session storage namespace parameter allows multiple render views and
58 // web contentses to share the same session storage (part of the WebStorage 58 // web contentses to share the same session storage (part of the WebStorage
59 // spec) space. This is useful when restoring tabs, but most callers should 59 // spec) space. This is useful when restoring tabs, but most callers should
60 // pass in NULL which will cause a new SessionStorageNamespace to be created. 60 // pass in NULL which will cause a new SessionStorageNamespace to be created.
61 CONTENT_EXPORT static WebContents* Create( 61 CONTENT_EXPORT static WebContents* Create(
62 BrowserContext* browser_context, 62 BrowserContext* browser_context,
63 SiteInstance* site_instance, 63 SiteInstance* site_instance,
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 // Focuses the location bar. 372 // Focuses the location bar.
373 virtual void SetFocusToLocationBar(bool select_all) = 0; 373 virtual void SetFocusToLocationBar(bool select_all) = 0;
374 374
375 // Does this have an opener associated with it? 375 // Does this have an opener associated with it?
376 virtual bool HasOpener() const = 0; 376 virtual bool HasOpener() const = 0;
377 }; 377 };
378 378
379 } // namespace content 379 } // namespace content
380 380
381 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 381 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/public/browser/interstitial_page.h ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698