| OLD | NEW |
| 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_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 const ThumbnailScore& score, | 456 const ThumbnailScore& score, |
| 457 const SkBitmap& bitmap); | 457 const SkBitmap& bitmap); |
| 458 void OnMsgClose(); | 458 void OnMsgClose(); |
| 459 void OnMsgRequestMove(const gfx::Rect& pos); | 459 void OnMsgRequestMove(const gfx::Rect& pos); |
| 460 void OnMsgDidRedirectProvisionalLoad(int32 page_id, | 460 void OnMsgDidRedirectProvisionalLoad(int32 page_id, |
| 461 const GURL& source_url, | 461 const GURL& source_url, |
| 462 const GURL& target_url); | 462 const GURL& target_url); |
| 463 void OnMsgDidStartLoading(int32 page_id); | 463 void OnMsgDidStartLoading(int32 page_id); |
| 464 void OnMsgDidStopLoading(int32 page_id); | 464 void OnMsgDidStopLoading(int32 page_id); |
| 465 void OnMsgDidLoadResourceFromMemoryCache(const GURL& url, | 465 void OnMsgDidLoadResourceFromMemoryCache(const GURL& url, |
| 466 const std::string& frame_origin, |
| 467 const std::string& main_frame_origin, |
| 466 const std::string& security_info); | 468 const std::string& security_info); |
| 467 void OnMsgDidStartProvisionalLoadForFrame(bool main_frame, | 469 void OnMsgDidStartProvisionalLoadForFrame(bool main_frame, |
| 468 const GURL& url); | 470 const GURL& url); |
| 469 void OnMsgDidFailProvisionalLoadWithError(bool main_frame, | 471 void OnMsgDidFailProvisionalLoadWithError(bool main_frame, |
| 470 int error_code, | 472 int error_code, |
| 471 const GURL& url, | 473 const GURL& url, |
| 472 bool showing_repost_interstitial); | 474 bool showing_repost_interstitial); |
| 473 void OnMsgFindReply(int request_id, | 475 void OnMsgFindReply(int request_id, |
| 474 int number_of_matches, | 476 int number_of_matches, |
| 475 const gfx::Rect& selection_rect, | 477 const gfx::Rect& selection_rect, |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 virtual ~RenderViewHostFactory() {} | 645 virtual ~RenderViewHostFactory() {} |
| 644 | 646 |
| 645 virtual RenderViewHost* CreateRenderViewHost( | 647 virtual RenderViewHost* CreateRenderViewHost( |
| 646 SiteInstance* instance, | 648 SiteInstance* instance, |
| 647 RenderViewHostDelegate* delegate, | 649 RenderViewHostDelegate* delegate, |
| 648 int routing_id, | 650 int routing_id, |
| 649 base::WaitableEvent* modal_dialog_event) = 0; | 651 base::WaitableEvent* modal_dialog_event) = 0; |
| 650 }; | 652 }; |
| 651 | 653 |
| 652 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 654 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |