| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 virtual void OnMessageReceived(const IPC::Message& msg); | 438 virtual void OnMessageReceived(const IPC::Message& msg); |
| 439 virtual void GotFocus(); | 439 virtual void GotFocus(); |
| 440 virtual void LostCapture(); | 440 virtual void LostCapture(); |
| 441 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event); | 441 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event); |
| 442 virtual void OnMouseActivate(); | 442 virtual void OnMouseActivate(); |
| 443 virtual void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event); | 443 virtual void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event); |
| 444 virtual void ForwardEditCommand(const std::string& name, | 444 virtual void ForwardEditCommand(const std::string& name, |
| 445 const std::string& value); | 445 const std::string& value); |
| 446 virtual void ForwardEditCommandsForNextKeyEvent( | 446 virtual void ForwardEditCommandsForNextKeyEvent( |
| 447 const EditCommands& edit_commands); | 447 const EditCommands& edit_commands); |
| 448 virtual gfx::Rect GetRootWindowResizerRect() const; | |
| 449 | 448 |
| 450 // Creates a new RenderView with the given route id. | 449 // Creates a new RenderView with the given route id. |
| 451 void CreateNewWindow(int route_id, | 450 void CreateNewWindow(int route_id, |
| 452 WindowContainerType window_container_type, | 451 WindowContainerType window_container_type, |
| 453 const string16& frame_name); | 452 const string16& frame_name); |
| 454 | 453 |
| 455 // Creates a new RenderWidget with the given route id. |popup_type| indicates | 454 // Creates a new RenderWidget with the given route id. |popup_type| indicates |
| 456 // if this widget is a popup and what kind of popup it is (select, autofill). | 455 // if this widget is a popup and what kind of popup it is (select, autofill). |
| 457 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); | 456 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); |
| 458 | 457 |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 // Whether the accessibility tree should be saved, for unit testing. | 800 // Whether the accessibility tree should be saved, for unit testing. |
| 802 bool save_accessibility_tree_for_testing_; | 801 bool save_accessibility_tree_for_testing_; |
| 803 | 802 |
| 804 // The most recently received accessibility tree - for unit testing only. | 803 // The most recently received accessibility tree - for unit testing only. |
| 805 webkit_glue::WebAccessibility accessibility_tree_; | 804 webkit_glue::WebAccessibility accessibility_tree_; |
| 806 | 805 |
| 807 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 806 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 808 }; | 807 }; |
| 809 | 808 |
| 810 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 809 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |