| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event); | 414 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event); |
| 415 virtual void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event); | 415 virtual void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event); |
| 416 virtual void ForwardEditCommand(const std::string& name, | 416 virtual void ForwardEditCommand(const std::string& name, |
| 417 const std::string& value); | 417 const std::string& value); |
| 418 virtual void ForwardEditCommandsForNextKeyEvent( | 418 virtual void ForwardEditCommandsForNextKeyEvent( |
| 419 const EditCommands& edit_commands); | 419 const EditCommands& edit_commands); |
| 420 virtual gfx::Rect GetRootWindowResizerRect() const; | 420 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 421 | 421 |
| 422 // Creates a new RenderView with the given route id. | 422 // Creates a new RenderView with the given route id. |
| 423 void CreateNewWindow(int route_id, | 423 void CreateNewWindow(int route_id, |
| 424 WindowContainerType window_container_type); | 424 WindowContainerType window_container_type, |
| 425 const string16& frame_name); |
| 425 | 426 |
| 426 // Creates a new RenderWidget with the given route id. |popup_type| indicates | 427 // Creates a new RenderWidget with the given route id. |popup_type| indicates |
| 427 // if this widget is a popup and what kind of popup it is (select, autofill). | 428 // if this widget is a popup and what kind of popup it is (select, autofill). |
| 428 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); | 429 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); |
| 429 | 430 |
| 430 // Sends the response to an extension api call. | 431 // Sends the response to an extension api call. |
| 431 void SendExtensionResponse(int request_id, bool success, | 432 void SendExtensionResponse(int request_id, bool success, |
| 432 const std::string& response, | 433 const std::string& response, |
| 433 const std::string& error); | 434 const std::string& error); |
| 434 | 435 |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 int64 session_storage_namespace_id_; | 710 int64 session_storage_namespace_id_; |
| 710 | 711 |
| 711 // Whether this render view will be used for extensions. This controls | 712 // Whether this render view will be used for extensions. This controls |
| 712 // what process type we use. | 713 // what process type we use. |
| 713 bool is_extension_process_; | 714 bool is_extension_process_; |
| 714 | 715 |
| 715 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 716 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 716 }; | 717 }; |
| 717 | 718 |
| 718 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 719 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |