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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 int active_match_ordinal, | 486 int active_match_ordinal, |
487 bool final_update); | 487 bool final_update); |
488 void OnMsgUpdateFavIconURL(int32 page_id, const GURL& icon_url); | 488 void OnMsgUpdateFavIconURL(int32 page_id, const GURL& icon_url); |
489 void OnMsgDidDownloadImage(int id, | 489 void OnMsgDidDownloadImage(int id, |
490 const GURL& image_url, | 490 const GURL& image_url, |
491 bool errored, | 491 bool errored, |
492 const SkBitmap& image_data); | 492 const SkBitmap& image_data); |
493 void OnMsgContextMenu(const ContextMenuParams& params); | 493 void OnMsgContextMenu(const ContextMenuParams& params); |
494 void OnMsgOpenURL(const GURL& url, const GURL& referrer, | 494 void OnMsgOpenURL(const GURL& url, const GURL& referrer, |
495 WindowOpenDisposition disposition); | 495 WindowOpenDisposition disposition); |
| 496 void OnMsgDidContentsPreferredWidthChange(const int pref_width); |
496 void OnMsgDomOperationResponse(const std::string& json_string, | 497 void OnMsgDomOperationResponse(const std::string& json_string, |
497 int automation_id); | 498 int automation_id); |
498 void OnMsgDOMUISend(const std::string& message, | 499 void OnMsgDOMUISend(const std::string& message, |
499 const std::string& content); | 500 const std::string& content); |
500 void OnMsgForwardMessageToExternalHost(const std::string& message, | 501 void OnMsgForwardMessageToExternalHost(const std::string& message, |
501 const std::string& origin, | 502 const std::string& origin, |
502 const std::string& target); | 503 const std::string& target); |
503 #ifdef CHROME_PERSONALIZATION | 504 #ifdef CHROME_PERSONALIZATION |
504 void OnPersonalizationEvent(const std::string& message, | 505 void OnPersonalizationEvent(const std::string& message, |
505 const std::string& content); | 506 const std::string& content); |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 virtual ~RenderViewHostFactory() {} | 659 virtual ~RenderViewHostFactory() {} |
659 | 660 |
660 virtual RenderViewHost* CreateRenderViewHost( | 661 virtual RenderViewHost* CreateRenderViewHost( |
661 SiteInstance* instance, | 662 SiteInstance* instance, |
662 RenderViewHostDelegate* delegate, | 663 RenderViewHostDelegate* delegate, |
663 int routing_id, | 664 int routing_id, |
664 base::WaitableEvent* modal_dialog_event) = 0; | 665 base::WaitableEvent* modal_dialog_event) = 0; |
665 }; | 666 }; |
666 | 667 |
667 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 668 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |