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 GURL& url, | 439 void OnMsgThumbnail(const IPC::Message& msg); |
440 const ThumbnailScore& score, | |
441 const SkBitmap& bitmap); | |
442 void OnMsgClose(); | 440 void OnMsgClose(); |
443 void OnMsgRequestMove(const gfx::Rect& pos); | 441 void OnMsgRequestMove(const gfx::Rect& pos); |
444 void OnMsgDidRedirectProvisionalLoad(int32 page_id, | 442 void OnMsgDidRedirectProvisionalLoad(int32 page_id, |
445 const GURL& source_url, | 443 const GURL& source_url, |
446 const GURL& target_url); | 444 const GURL& target_url); |
447 void OnMsgDidStartLoading(int32 page_id); | 445 void OnMsgDidStartLoading(int32 page_id); |
448 void OnMsgDidStopLoading(int32 page_id); | 446 void OnMsgDidStopLoading(int32 page_id); |
449 void OnMsgDidLoadResourceFromMemoryCache(const GURL& url, | 447 void OnMsgDidLoadResourceFromMemoryCache(const GURL& url, |
450 const std::string& security_info); | 448 const std::string& security_info); |
451 void OnMsgDidStartProvisionalLoadForFrame(bool main_frame, | 449 void OnMsgDidStartProvisionalLoadForFrame(bool main_frame, |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 virtual ~RenderViewHostFactory() {} | 617 virtual ~RenderViewHostFactory() {} |
620 | 618 |
621 virtual RenderViewHost* CreateRenderViewHost( | 619 virtual RenderViewHost* CreateRenderViewHost( |
622 SiteInstance* instance, | 620 SiteInstance* instance, |
623 RenderViewHostDelegate* delegate, | 621 RenderViewHostDelegate* delegate, |
624 int routing_id, | 622 int routing_id, |
625 base::WaitableEvent* modal_dialog_event) = 0; | 623 base::WaitableEvent* modal_dialog_event) = 0; |
626 }; | 624 }; |
627 | 625 |
628 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ | 626 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ |
OLD | NEW |