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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 // Called by the AutoFillManager when the FormData has been filled out. | 439 // Called by the AutoFillManager when the FormData has been filled out. |
440 void AutoFillFormDataFilled(int query_id, const webkit_glue::FormData& form); | 440 void AutoFillFormDataFilled(int query_id, const webkit_glue::FormData& form); |
441 | 441 |
442 // Notifies the Renderer that a move or resize of its containing window has | 442 // Notifies the Renderer that a move or resize of its containing window has |
443 // started (this is used to hide the autocomplete popups if any). | 443 // started (this is used to hide the autocomplete popups if any). |
444 void WindowMoveOrResizeStarted(); | 444 void WindowMoveOrResizeStarted(); |
445 | 445 |
446 // RenderWidgetHost public overrides. | 446 // RenderWidgetHost public overrides. |
447 virtual void Shutdown(); | 447 virtual void Shutdown(); |
448 virtual bool IsRenderView() const; | 448 virtual bool IsRenderView() const; |
449 virtual void OnMessageReceived(const IPC::Message& msg); | 449 virtual bool OnMessageReceived(const IPC::Message& msg); |
450 virtual void GotFocus(); | 450 virtual void GotFocus(); |
451 virtual void LostCapture(); | 451 virtual void LostCapture(); |
452 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event); | 452 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event); |
453 virtual void OnMouseActivate(); | 453 virtual void OnMouseActivate(); |
454 virtual void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event); | 454 virtual void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event); |
455 virtual void ForwardEditCommand(const std::string& name, | 455 virtual void ForwardEditCommand(const std::string& name, |
456 const std::string& value); | 456 const std::string& value); |
457 virtual void ForwardEditCommandsForNextKeyEvent( | 457 virtual void ForwardEditCommandsForNextKeyEvent( |
458 const EditCommands& edit_commands); | 458 const EditCommands& edit_commands); |
459 | 459 |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
830 // The most recently received accessibility tree - for unit testing only. | 830 // The most recently received accessibility tree - for unit testing only. |
831 webkit_glue::WebAccessibility accessibility_tree_; | 831 webkit_glue::WebAccessibility accessibility_tree_; |
832 | 832 |
833 // The termination status of the last render view that terminated. | 833 // The termination status of the last render view that terminated. |
834 base::TerminationStatus render_view_termination_status_; | 834 base::TerminationStatus render_view_termination_status_; |
835 | 835 |
836 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 836 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
837 }; | 837 }; |
838 | 838 |
839 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 839 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |