| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 | 446 |
| 447 // Creates a new RenderView with the given route id. | 447 // Creates a new RenderView with the given route id. |
| 448 void CreateNewWindow(int route_id, | 448 void CreateNewWindow(int route_id, |
| 449 const ViewHostMsg_CreateWindow_Params& params); | 449 const ViewHostMsg_CreateWindow_Params& params); |
| 450 | 450 |
| 451 // Creates a new RenderWidget with the given route id. |popup_type| indicates | 451 // Creates a new RenderWidget with the given route id. |popup_type| indicates |
| 452 // if this widget is a popup and what kind of popup it is (select, autofill). | 452 // if this widget is a popup and what kind of popup it is (select, autofill). |
| 453 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); | 453 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); |
| 454 | 454 |
| 455 // Creates a full screen RenderWidget. | 455 // Creates a full screen RenderWidget. |
| 456 void CreateNewFullscreenWidget(int route_id, WebKit::WebPopupType popup_type); | 456 void CreateNewFullscreenWidget(int route_id); |
| 457 | 457 |
| 458 // Sends the response to an extension api call. | 458 // Sends the response to an extension api call. |
| 459 void SendExtensionResponse(int request_id, bool success, | 459 void SendExtensionResponse(int request_id, bool success, |
| 460 const std::string& response, | 460 const std::string& response, |
| 461 const std::string& error); | 461 const std::string& error); |
| 462 | 462 |
| 463 // Sends a response to an extension api call that it was blocked for lack of | 463 // Sends a response to an extension api call that it was blocked for lack of |
| 464 // permission. | 464 // permission. |
| 465 void BlockExtensionRequest(int request_id); | 465 void BlockExtensionRequest(int request_id); |
| 466 | 466 |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 730 // The termination status of the last render view that terminated. | 730 // The termination status of the last render view that terminated. |
| 731 base::TerminationStatus render_view_termination_status_; | 731 base::TerminationStatus render_view_termination_status_; |
| 732 | 732 |
| 733 // The enabled/disabled states of various commands. | 733 // The enabled/disabled states of various commands. |
| 734 std::map<RenderViewCommand, CommandState> command_states_; | 734 std::map<RenderViewCommand, CommandState> command_states_; |
| 735 | 735 |
| 736 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 736 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 737 }; | 737 }; |
| 738 | 738 |
| 739 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 739 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |