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

Side by Side Diff: content/browser/frame_host/interstitial_page_impl.h

Issue 274883002: Move didReceiveTitle and related stuff to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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 | « no previous file | content/browser/frame_host/interstitial_page_impl.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 RenderFrameHost* render_frame_host) OVERRIDE; 108 RenderFrameHost* render_frame_host) OVERRIDE;
109 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 109 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
110 virtual void WebContentsDestroyed() OVERRIDE; 110 virtual void WebContentsDestroyed() OVERRIDE;
111 virtual void NavigationEntryCommitted( 111 virtual void NavigationEntryCommitted(
112 const LoadCommittedDetails& load_details) OVERRIDE; 112 const LoadCommittedDetails& load_details) OVERRIDE;
113 113
114 // RenderFrameHostDelegate implementation: 114 // RenderFrameHostDelegate implementation:
115 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, 115 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host,
116 const IPC::Message& message) OVERRIDE; 116 const IPC::Message& message) OVERRIDE;
117 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; 117 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE;
118 virtual void UpdateTitle(RenderFrameHost* render_frame_host,
119 int32 page_id,
120 const base::string16& title,
121 base::i18n::TextDirection title_direction) OVERRIDE;
118 122
119 // RenderViewHostDelegate implementation: 123 // RenderViewHostDelegate implementation:
120 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; 124 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE;
121 virtual bool OnMessageReceived(RenderViewHost* render_view_host, 125 virtual bool OnMessageReceived(RenderViewHost* render_view_host,
122 const IPC::Message& message) OVERRIDE; 126 const IPC::Message& message) OVERRIDE;
123 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE; 127 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE;
124 virtual void RenderViewTerminated(RenderViewHost* render_view_host, 128 virtual void RenderViewTerminated(RenderViewHost* render_view_host,
125 base::TerminationStatus status, 129 base::TerminationStatus status,
126 int error_code) OVERRIDE; 130 int error_code) OVERRIDE;
127 virtual void UpdateTitle(RenderViewHost* render_view_host,
128 int32 page_id,
129 const base::string16& title,
130 base::i18n::TextDirection title_direction) OVERRIDE;
131 virtual RendererPreferences GetRendererPrefs( 131 virtual RendererPreferences GetRendererPrefs(
132 BrowserContext* browser_context) const OVERRIDE; 132 BrowserContext* browser_context) const OVERRIDE;
133 virtual WebPreferences GetWebkitPrefs() OVERRIDE; 133 virtual WebPreferences GetWebkitPrefs() OVERRIDE;
134 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; 134 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
135 virtual void CreateNewWindow( 135 virtual void CreateNewWindow(
136 int render_process_id, 136 int render_process_id,
137 int route_id, 137 int route_id,
138 int main_frame_route_id, 138 int main_frame_route_id,
139 const ViewHostMsg_CreateWindow_Params& params, 139 const ViewHostMsg_CreateWindow_Params& params,
140 SessionStorageNamespace* session_storage_namespace) OVERRIDE; 140 SessionStorageNamespace* session_storage_namespace) OVERRIDE;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; 284 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
285 285
286 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; 286 scoped_refptr<SessionStorageNamespace> session_storage_namespace_;
287 287
288 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 288 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
289 }; 289 };
290 290
291 } // namespace content 291 } // namespace content
292 292
293 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 293 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/interstitial_page_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698