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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.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
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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/i18n/rtl.h"
13 #include "base/process/kill.h" 12 #include "base/process/kill.h"
14 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
15 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
16 #include "content/public/common/media_stream_request.h" 15 #include "content/public/common/media_stream_request.h"
17 #include "content/public/common/page_transition_types.h" 16 #include "content/public/common/page_transition_types.h"
18 #include "net/base/load_states.h" 17 #include "net/base/load_states.h"
19 #include "third_party/WebKit/public/web/WebPopupType.h" 18 #include "third_party/WebKit/public/web/WebPopupType.h"
20 #include "ui/base/window_open_disposition.h" 19 #include "ui/base/window_open_disposition.h"
21 20
22 class GURL; 21 class GURL;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 105
107 // The RenderView is going to be deleted. This is called when each 106 // The RenderView is going to be deleted. This is called when each
108 // RenderView is going to be destroyed 107 // RenderView is going to be destroyed
109 virtual void RenderViewDeleted(RenderViewHost* render_view_host) {} 108 virtual void RenderViewDeleted(RenderViewHost* render_view_host) {}
110 109
111 // The state for the page changed and should be updated. 110 // The state for the page changed and should be updated.
112 virtual void UpdateState(RenderViewHost* render_view_host, 111 virtual void UpdateState(RenderViewHost* render_view_host,
113 int32 page_id, 112 int32 page_id,
114 const PageState& state) {} 113 const PageState& state) {}
115 114
116 // The page's title was changed and should be updated.
117 virtual void UpdateTitle(RenderViewHost* render_view_host,
118 int32 page_id,
119 const base::string16& title,
120 base::i18n::TextDirection title_direction) {}
121
122 // The page's encoding was changed and should be updated.
123 virtual void UpdateEncoding(RenderViewHost* render_view_host,
124 const std::string& encoding) {}
125
126 // The destination URL has changed should be updated 115 // The destination URL has changed should be updated
127 virtual void UpdateTargetURL(int32 page_id, const GURL& url) {} 116 virtual void UpdateTargetURL(int32 page_id, const GURL& url) {}
128 117
129 // The page is trying to close the RenderView's representation in the client. 118 // The page is trying to close the RenderView's representation in the client.
130 virtual void Close(RenderViewHost* render_view_host) {} 119 virtual void Close(RenderViewHost* render_view_host) {}
131 120
132 // The page is trying to move the RenderView's representation in the client. 121 // The page is trying to move the RenderView's representation in the client.
133 virtual void RequestMove(const gfx::Rect& new_bounds) {} 122 virtual void RequestMove(const gfx::Rect& new_bounds) {}
134 123
135 // The pending page load was canceled. 124 // The pending page load was canceled.
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 virtual void AccessibilityEventReceived( 297 virtual void AccessibilityEventReceived(
309 const std::vector<AXEventNotificationDetails>& details) {} 298 const std::vector<AXEventNotificationDetails>& details) {}
310 299
311 protected: 300 protected:
312 virtual ~RenderViewHostDelegate() {} 301 virtual ~RenderViewHostDelegate() {}
313 }; 302 };
314 303
315 } // namespace content 304 } // namespace content
316 305
317 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 306 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/renderer_host/render_view_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698