| 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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); | 430 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); |
| 431 void OnMsgRunModal(IPC::Message* reply_msg); | 431 void OnMsgRunModal(IPC::Message* reply_msg); |
| 432 void OnMsgRendererReady(); | 432 void OnMsgRendererReady(); |
| 433 void OnMsgRendererGone(); | 433 void OnMsgRendererGone(); |
| 434 void OnMsgNavigate(const IPC::Message& msg); | 434 void OnMsgNavigate(const IPC::Message& msg); |
| 435 void OnMsgUpdateState(int32 page_id, | 435 void OnMsgUpdateState(int32 page_id, |
| 436 const std::string& state); | 436 const std::string& state); |
| 437 void OnMsgUpdateTitle(int32 page_id, const std::wstring& title); | 437 void OnMsgUpdateTitle(int32 page_id, const std::wstring& title); |
| 438 void OnMsgUpdateEncoding(const std::wstring& encoding); | 438 void OnMsgUpdateEncoding(const std::wstring& encoding); |
| 439 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); | 439 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); |
| 440 void OnMsgThumbnail(const IPC::Message& msg); | 440 void OnMsgThumbnail(const GURL& url, |
| 441 const ThumbnailScore& score, |
| 442 const SkBitmap& bitmap); |
| 441 void OnMsgClose(); | 443 void OnMsgClose(); |
| 442 void OnMsgRequestMove(const gfx::Rect& pos); | 444 void OnMsgRequestMove(const gfx::Rect& pos); |
| 443 void OnMsgDidRedirectProvisionalLoad(int32 page_id, | 445 void OnMsgDidRedirectProvisionalLoad(int32 page_id, |
| 444 const GURL& source_url, | 446 const GURL& source_url, |
| 445 const GURL& target_url); | 447 const GURL& target_url); |
| 446 void OnMsgDidStartLoading(int32 page_id); | 448 void OnMsgDidStartLoading(int32 page_id); |
| 447 void OnMsgDidStopLoading(int32 page_id); | 449 void OnMsgDidStopLoading(int32 page_id); |
| 448 void OnMsgDidLoadResourceFromMemoryCache(const GURL& url, | 450 void OnMsgDidLoadResourceFromMemoryCache(const GURL& url, |
| 449 const std::string& security_info); | 451 const std::string& security_info); |
| 450 void OnMsgDidStartProvisionalLoadForFrame(bool main_frame, | 452 void OnMsgDidStartProvisionalLoadForFrame(bool main_frame, |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 618 virtual ~RenderViewHostFactory() {} | 620 virtual ~RenderViewHostFactory() {} |
| 619 | 621 |
| 620 virtual RenderViewHost* CreateRenderViewHost( | 622 virtual RenderViewHost* CreateRenderViewHost( |
| 621 SiteInstance* instance, | 623 SiteInstance* instance, |
| 622 RenderViewHostDelegate* delegate, | 624 RenderViewHostDelegate* delegate, |
| 623 int routing_id, | 625 int routing_id, |
| 624 base::WaitableEvent* modal_dialog_event) = 0; | 626 base::WaitableEvent* modal_dialog_event) = 0; |
| 625 }; | 627 }; |
| 626 | 628 |
| 627 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ | 629 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ |
| OLD | NEW |