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

Side by Side Diff: content/browser/tab_contents/tab_contents.h

Issue 9030010: Move most of the remaining users of WebContentsObserver::tab_contents() to use web_contents(). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 12 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
« no previous file with comments | « content/browser/ssl/ssl_manager.cc ('k') | content/browser/tab_contents/tab_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) 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
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
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_
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_manager.cc ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698