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