| 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_RENDER_VIEW_HOST_H__ | 5 #ifndef CHROME_BROWSER_RENDER_VIEW_HOST_H__ |
| 6 #define CHROME_BROWSER_RENDER_VIEW_HOST_H__ | 6 #define CHROME_BROWSER_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 int number_of_matches, | 430 int number_of_matches, |
| 431 const gfx::Rect& selection_rect, | 431 const gfx::Rect& selection_rect, |
| 432 int active_match_ordinal, | 432 int active_match_ordinal, |
| 433 bool final_update); | 433 bool final_update); |
| 434 void OnMsgUpdateFavIconURL(int32 page_id, const GURL& icon_url); | 434 void OnMsgUpdateFavIconURL(int32 page_id, const GURL& icon_url); |
| 435 void OnMsgDidDownloadImage(int id, | 435 void OnMsgDidDownloadImage(int id, |
| 436 const GURL& image_url, | 436 const GURL& image_url, |
| 437 bool errored, | 437 bool errored, |
| 438 const SkBitmap& image_data); | 438 const SkBitmap& image_data); |
| 439 void OnMsgContextMenu(const ViewHostMsg_ContextMenu_Params& params); | 439 void OnMsgContextMenu(const ViewHostMsg_ContextMenu_Params& params); |
| 440 void OnMsgOpenURL(const GURL& url, WindowOpenDisposition disposition); | 440 void OnMsgOpenURL(const GURL& url, const GURL& referrer, |
| 441 WindowOpenDisposition disposition); |
| 441 void OnMsgDomOperationResponse(const std::string& json_string, | 442 void OnMsgDomOperationResponse(const std::string& json_string, |
| 442 int automation_id); | 443 int automation_id); |
| 443 void OnMsgDOMUISend(const std::string& message, | 444 void OnMsgDOMUISend(const std::string& message, |
| 444 const std::string& content); | 445 const std::string& content); |
| 445 void OnMsgForwardMessageToExternalHost(const std::string& receiver, | 446 void OnMsgForwardMessageToExternalHost(const std::string& receiver, |
| 446 const std::string& message); | 447 const std::string& message); |
| 447 #ifdef CHROME_PERSONALIZATION | 448 #ifdef CHROME_PERSONALIZATION |
| 448 void OnPersonalizationEvent(const std::string& message, | 449 void OnPersonalizationEvent(const std::string& message, |
| 449 const std::string& content); | 450 const std::string& content); |
| 450 #endif | 451 #endif |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 virtual ~RenderViewHostFactory() {} | 577 virtual ~RenderViewHostFactory() {} |
| 577 | 578 |
| 578 virtual RenderViewHost* CreateRenderViewHost( | 579 virtual RenderViewHost* CreateRenderViewHost( |
| 579 SiteInstance* instance, | 580 SiteInstance* instance, |
| 580 RenderViewHostDelegate* delegate, | 581 RenderViewHostDelegate* delegate, |
| 581 int routing_id, | 582 int routing_id, |
| 582 HANDLE modal_dialog_event) = 0; | 583 HANDLE modal_dialog_event) = 0; |
| 583 }; | 584 }; |
| 584 | 585 |
| 585 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_H__ | 586 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_H__ |
| OLD | NEW |