| 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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 | 429 |
| 430 // Called by the AutoFillManager when the FormData has been filled out. | 430 // Called by the AutoFillManager when the FormData has been filled out. |
| 431 void AutoFillFormDataFilled(int query_id, const webkit_glue::FormData& form); | 431 void AutoFillFormDataFilled(int query_id, const webkit_glue::FormData& form); |
| 432 | 432 |
| 433 // Notifies the Renderer that a move or resize of its containing window has | 433 // Notifies the Renderer that a move or resize of its containing window has |
| 434 // started (this is used to hide the autocomplete popups if any). | 434 // started (this is used to hide the autocomplete popups if any). |
| 435 void WindowMoveOrResizeStarted(); | 435 void WindowMoveOrResizeStarted(); |
| 436 | 436 |
| 437 // RenderWidgetHost public overrides. | 437 // RenderWidgetHost public overrides. |
| 438 virtual void Shutdown(); | 438 virtual void Shutdown(); |
| 439 virtual bool IsRenderView() const { return true; } | 439 virtual bool IsRenderView() const; |
| 440 virtual void OnMessageReceived(const IPC::Message& msg); | 440 virtual void OnMessageReceived(const IPC::Message& msg); |
| 441 virtual void GotFocus(); | 441 virtual void GotFocus(); |
| 442 virtual void LostCapture(); | 442 virtual void LostCapture(); |
| 443 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event); | 443 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event); |
| 444 virtual void OnMouseActivate(); | 444 virtual void OnMouseActivate(); |
| 445 virtual void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event); | 445 virtual void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event); |
| 446 virtual void ForwardEditCommand(const std::string& name, | 446 virtual void ForwardEditCommand(const std::string& name, |
| 447 const std::string& value); | 447 const std::string& value); |
| 448 virtual void ForwardEditCommandsForNextKeyEvent( | 448 virtual void ForwardEditCommandsForNextKeyEvent( |
| 449 const EditCommands& edit_commands); | 449 const EditCommands& edit_commands); |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 // Whether the accessibility tree should be saved, for unit testing. | 816 // Whether the accessibility tree should be saved, for unit testing. |
| 817 bool save_accessibility_tree_for_testing_; | 817 bool save_accessibility_tree_for_testing_; |
| 818 | 818 |
| 819 // The most recently received accessibility tree - for unit testing only. | 819 // The most recently received accessibility tree - for unit testing only. |
| 820 webkit_glue::WebAccessibility accessibility_tree_; | 820 webkit_glue::WebAccessibility accessibility_tree_; |
| 821 | 821 |
| 822 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 822 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 823 }; | 823 }; |
| 824 | 824 |
| 825 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 825 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |