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

Side by Side Diff: chrome/browser/renderer_host/render_view_host_delegate.h

Issue 150069: Move RenderViewHostManager back to tab_contents. Moving it to renderer_host... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | chrome/browser/renderer_host/render_view_host_manager.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/gfx/rect.h" 13 #include "base/gfx/rect.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "chrome/common/native_web_keyboard_event.h" 15 #include "chrome/common/native_web_keyboard_event.h"
16 #include "chrome/common/renderer_preferences.h" 16 #include "chrome/common/renderer_preferences.h"
17 #include "net/base/load_states.h" 17 #include "net/base/load_states.h"
18 #include "webkit/glue/password_form.h" 18 #include "webkit/glue/password_form.h"
19 #include "webkit/glue/webpreferences.h" 19 #include "webkit/glue/webpreferences.h"
20 #include "webkit/glue/window_open_disposition.h" 20 #include "webkit/glue/window_open_disposition.h"
21 21
22 class AutofillForm; 22 class AutofillForm;
23 class NavigationEntry; 23 class NavigationEntry;
24 class Profile; 24 class Profile;
25 class RenderProcessHost; 25 class RenderProcessHost;
26 class RenderViewHost; 26 class RenderViewHost;
27 class ResourceRequestDetails;
27 class SkBitmap; 28 class SkBitmap;
28 class TabContents; 29 class TabContents;
29 class WebKeyboardEvent; 30 class WebKeyboardEvent;
30 struct ThumbnailScore; 31 struct ThumbnailScore;
31 struct ContextMenuParams; 32 struct ContextMenuParams;
32 struct ViewHostMsg_DidPrintPage_Params; 33 struct ViewHostMsg_DidPrintPage_Params;
33 struct ViewHostMsg_FrameNavigate_Params; 34 struct ViewHostMsg_FrameNavigate_Params;
34 struct WebDropData; 35 struct WebDropData;
35 36
36 namespace base { 37 namespace base {
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 215
215 // The RenderView stopped loading a page. This corresponds to WebKit's 216 // The RenderView stopped loading a page. This corresponds to WebKit's
216 // notion of the throbber stopping. 217 // notion of the throbber stopping.
217 virtual void DidStopLoading(RenderViewHost* render_view_host) { } 218 virtual void DidStopLoading(RenderViewHost* render_view_host) { }
218 219
219 // The RenderView is starting a provisional load. 220 // The RenderView is starting a provisional load.
220 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, 221 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host,
221 bool is_main_frame, 222 bool is_main_frame,
222 const GURL& url) { } 223 const GURL& url) { }
223 224
225 // Notification by the resource loading system (not the renderer) that it has
226 // started receiving a resource response. This is different than
227 // DidStartProvisionalLoadForFrame above because this is called for every
228 // resource (images, automatically loaded subframes, etc.) and provisional
229 // loads are only for user-initiated navigations.
230 //
231 // The pointer ownership is NOT transferred.
232 virtual void DidStartReceivingResourceResponse(
233 ResourceRequestDetails* details) {}
234
224 // Sent when a provisional load is redirected. 235 // Sent when a provisional load is redirected.
225 virtual void DidRedirectProvisionalLoad(int32 page_id, 236 virtual void DidRedirectProvisionalLoad(int32 page_id,
226 const GURL& source_url, 237 const GURL& source_url,
227 const GURL& target_url) { } 238 const GURL& target_url) { }
228 239
240 // Notification by the resource loading system (not the renderer) that a
241 // resource was redirected. This is different than DidRedirectProvisionalLoad
242 // above because this is called for every resource (images, automatically
243 // loaded subframes, etc.) and provisional loads are only for user-initiated
244 // navigations.
245 //
246 // The pointer ownership is NOT transferred.
247 virtual void DidRedirectResource(ResourceRequestDetails* details) {}
248
229 // The RenderView loaded a resource from an in-memory cache. 249 // The RenderView loaded a resource from an in-memory cache.
230 // |security_info| contains the security info if this resource was originally 250 // |security_info| contains the security info if this resource was originally
231 // loaded over a secure connection. 251 // loaded over a secure connection.
232 virtual void DidLoadResourceFromMemoryCache( 252 virtual void DidLoadResourceFromMemoryCache(
233 const GURL& url, 253 const GURL& url,
234 const std::string& frame_origin, 254 const std::string& frame_origin,
235 const std::string& main_frame_origin, 255 const std::string& main_frame_origin,
236 const std::string& security_info) { } 256 const std::string& security_info) { }
237 257
238 // The RenderView failed a provisional load with an error. 258 // The RenderView failed a provisional load with an error.
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 int number_of_matches, 461 int number_of_matches,
442 const gfx::Rect& selection_rect, 462 const gfx::Rect& selection_rect,
443 int active_match_ordinal, 463 int active_match_ordinal,
444 bool final_update) { } 464 bool final_update) { }
445 465
446 // The RenderView has inserted one css file into page. 466 // The RenderView has inserted one css file into page.
447 virtual void DidInsertCSS() { } 467 virtual void DidInsertCSS() { }
448 }; 468 };
449 469
450 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 470 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_view_host_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698