| OLD | NEW |
| 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_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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 virtual TabContents* OpenURL(const OpenURLParams& params) OVERRIDE; | 227 virtual TabContents* OpenURL(const OpenURLParams& params) OVERRIDE; |
| 228 | 228 |
| 229 // RenderViewHostDelegate ---------------------------------------------------- | 229 // RenderViewHostDelegate ---------------------------------------------------- |
| 230 | 230 |
| 231 virtual RenderViewHostDelegate::View* GetViewDelegate() OVERRIDE; | 231 virtual RenderViewHostDelegate::View* GetViewDelegate() OVERRIDE; |
| 232 virtual RenderViewHostDelegate::RendererManagement* | 232 virtual RenderViewHostDelegate::RendererManagement* |
| 233 GetRendererManagementDelegate() OVERRIDE; | 233 GetRendererManagementDelegate() OVERRIDE; |
| 234 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 234 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 235 virtual const GURL& GetURL() const OVERRIDE; | 235 virtual const GURL& GetURL() const OVERRIDE; |
| 236 virtual TabContents* GetAsTabContents() OVERRIDE; | 236 virtual TabContents* GetAsTabContents() OVERRIDE; |
| 237 virtual WebContents* GetAsWebContents() OVERRIDE; |
| 237 virtual content::ViewType GetRenderViewType() const OVERRIDE; | 238 virtual content::ViewType GetRenderViewType() const OVERRIDE; |
| 238 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; | 239 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; |
| 239 virtual void RenderViewReady(RenderViewHost* render_view_host) OVERRIDE; | 240 virtual void RenderViewReady(RenderViewHost* render_view_host) OVERRIDE; |
| 240 virtual void RenderViewGone(RenderViewHost* render_view_host, | 241 virtual void RenderViewGone(RenderViewHost* render_view_host, |
| 241 base::TerminationStatus status, | 242 base::TerminationStatus status, |
| 242 int error_code) OVERRIDE; | 243 int error_code) OVERRIDE; |
| 243 virtual void RenderViewDeleted(RenderViewHost* render_view_host) OVERRIDE; | 244 virtual void RenderViewDeleted(RenderViewHost* render_view_host) OVERRIDE; |
| 244 virtual void DidNavigate( | 245 virtual void DidNavigate( |
| 245 RenderViewHost* render_view_host, | 246 RenderViewHost* render_view_host, |
| 246 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; | 247 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; |
| (...skipping 397 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 |