OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 | 402 |
403 // RenderWidgetHost public overrides. | 403 // RenderWidgetHost public overrides. |
404 virtual void Shutdown(); | 404 virtual void Shutdown(); |
405 virtual bool IsRenderView() const { return true; } | 405 virtual bool IsRenderView() const { return true; } |
406 virtual void OnMessageReceived(const IPC::Message& msg); | 406 virtual void OnMessageReceived(const IPC::Message& msg); |
407 virtual void GotFocus(); | 407 virtual void GotFocus(); |
408 virtual bool CanBlur() const; | 408 virtual bool CanBlur() const; |
409 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event); | 409 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event); |
410 virtual void ForwardEditCommand(const std::string& name, | 410 virtual void ForwardEditCommand(const std::string& name, |
411 const std::string& value); | 411 const std::string& value); |
| 412 virtual void ForwardEditCommandsForNextKeyEvent( |
| 413 const EditCommands& edit_commands); |
412 virtual gfx::Rect GetRootWindowResizerRect() const; | 414 virtual gfx::Rect GetRootWindowResizerRect() const; |
413 | 415 |
414 // Creates a new RenderView with the given route id. | 416 // Creates a new RenderView with the given route id. |
415 void CreateNewWindow(int route_id, ModalDialogEvent modal_dialog_event); | 417 void CreateNewWindow(int route_id, ModalDialogEvent modal_dialog_event); |
416 | 418 |
417 // Creates a new RenderWidget with the given route id. | 419 // Creates a new RenderWidget with the given route id. |
418 void CreateNewWidget(int route_id, bool activatable); | 420 void CreateNewWidget(int route_id, bool activatable); |
419 | 421 |
420 // Send the response to an extension api call. | 422 // Send the response to an extension api call. |
421 void SendExtensionResponse(int request_id, bool success, | 423 void SendExtensionResponse(int request_id, bool success, |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 // While in this mode, mouse click is converted into InspectElement | 654 // While in this mode, mouse click is converted into InspectElement |
653 // command. | 655 // command. |
654 bool in_inspect_element_mode_; | 656 bool in_inspect_element_mode_; |
655 | 657 |
656 NotificationRegistrar registrar_; | 658 NotificationRegistrar registrar_; |
657 | 659 |
658 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 660 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
659 }; | 661 }; |
660 | 662 |
661 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 663 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |