| OLD | NEW |
| 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_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 virtual base::PropertyBag* GetPropertyBag() OVERRIDE; | 128 virtual base::PropertyBag* GetPropertyBag() OVERRIDE; |
| 129 virtual content::WebContentsDelegate* GetDelegate() OVERRIDE; | 129 virtual content::WebContentsDelegate* GetDelegate() OVERRIDE; |
| 130 virtual void SetDelegate(content::WebContentsDelegate* delegate) OVERRIDE; | 130 virtual void SetDelegate(content::WebContentsDelegate* delegate) OVERRIDE; |
| 131 virtual content::NavigationController& GetController() OVERRIDE; | 131 virtual content::NavigationController& GetController() OVERRIDE; |
| 132 virtual const content::NavigationController& GetController() const OVERRIDE; | 132 virtual const content::NavigationController& GetController() const OVERRIDE; |
| 133 virtual content::BrowserContext* GetBrowserContext() const OVERRIDE; | 133 virtual content::BrowserContext* GetBrowserContext() const OVERRIDE; |
| 134 virtual void SetViewType(content::ViewType type) OVERRIDE; | 134 virtual void SetViewType(content::ViewType type) OVERRIDE; |
| 135 virtual content::ViewType GetViewType() const OVERRIDE; | 135 virtual content::ViewType GetViewType() const OVERRIDE; |
| 136 virtual content::RenderProcessHost* GetRenderProcessHost() const OVERRIDE; | 136 virtual content::RenderProcessHost* GetRenderProcessHost() const OVERRIDE; |
| 137 virtual RenderViewHost* GetRenderViewHost() const OVERRIDE; | 137 virtual RenderViewHost* GetRenderViewHost() const OVERRIDE; |
| 138 virtual RenderWidgetHostView* GetRenderWidgetHostView() const OVERRIDE; | 138 virtual content::RenderWidgetHostView* |
| 139 GetRenderWidgetHostView() const OVERRIDE; |
| 139 virtual content::WebContentsView* GetView() const OVERRIDE; | 140 virtual content::WebContentsView* GetView() const OVERRIDE; |
| 140 virtual content::WebUI* CreateWebUI(const GURL& url) OVERRIDE; | 141 virtual content::WebUI* CreateWebUI(const GURL& url) OVERRIDE; |
| 141 virtual content::WebUI* GetWebUI() const OVERRIDE; | 142 virtual content::WebUI* GetWebUI() const OVERRIDE; |
| 142 virtual content::WebUI* GetCommittedWebUI() const OVERRIDE; | 143 virtual content::WebUI* GetCommittedWebUI() const OVERRIDE; |
| 143 virtual const string16& GetTitle() const OVERRIDE; | 144 virtual const string16& GetTitle() const OVERRIDE; |
| 144 virtual int32 GetMaxPageID() OVERRIDE; | 145 virtual int32 GetMaxPageID() OVERRIDE; |
| 145 virtual int32 GetMaxPageIDForSiteInstance( | 146 virtual int32 GetMaxPageIDForSiteInstance( |
| 146 content::SiteInstance* site_instance) OVERRIDE; | 147 content::SiteInstance* site_instance) OVERRIDE; |
| 147 virtual content::SiteInstance* GetSiteInstance() const OVERRIDE; | 148 virtual content::SiteInstance* GetSiteInstance() const OVERRIDE; |
| 148 virtual content::SiteInstance* GetPendingSiteInstance() const OVERRIDE; | 149 virtual content::SiteInstance* GetPendingSiteInstance() const OVERRIDE; |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 // (full-page plugins for now only) permissions. | 645 // (full-page plugins for now only) permissions. |
| 645 int content_restrictions_; | 646 int content_restrictions_; |
| 646 | 647 |
| 647 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. | 648 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. |
| 648 content::ViewType view_type_; | 649 content::ViewType view_type_; |
| 649 | 650 |
| 650 DISALLOW_COPY_AND_ASSIGN(TabContents); | 651 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 651 }; | 652 }; |
| 652 | 653 |
| 653 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 654 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |