| 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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 #endif | 517 #endif |
| 518 | 518 |
| 519 protected: | 519 protected: |
| 520 // RenderWidgetHost protected overrides. | 520 // RenderWidgetHost protected overrides. |
| 521 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 521 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 522 bool* is_keyboard_shortcut); | 522 bool* is_keyboard_shortcut); |
| 523 virtual void UnhandledKeyboardEvent(const NativeWebKeyboardEvent& event); | 523 virtual void UnhandledKeyboardEvent(const NativeWebKeyboardEvent& event); |
| 524 virtual void OnUserGesture(); | 524 virtual void OnUserGesture(); |
| 525 virtual void NotifyRendererUnresponsive(); | 525 virtual void NotifyRendererUnresponsive(); |
| 526 virtual void NotifyRendererResponsive(); | 526 virtual void NotifyRendererResponsive(); |
| 527 virtual void OnMsgFocusedNodeChanged(); | 527 virtual void OnMsgFocusedNodeChanged(bool is_editable_node); |
| 528 virtual void OnMsgFocus(); | 528 virtual void OnMsgFocus(); |
| 529 virtual void OnMsgBlur(); | 529 virtual void OnMsgBlur(); |
| 530 | 530 |
| 531 // IPC message handlers. | 531 // IPC message handlers. |
| 532 void OnMsgShowView(int route_id, | 532 void OnMsgShowView(int route_id, |
| 533 WindowOpenDisposition disposition, | 533 WindowOpenDisposition disposition, |
| 534 const gfx::Rect& initial_pos, | 534 const gfx::Rect& initial_pos, |
| 535 bool user_gesture); | 535 bool user_gesture); |
| 536 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); | 536 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); |
| 537 void OnMsgShowFullscreenWidget(int route_id); | 537 void OnMsgShowFullscreenWidget(int route_id); |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 803 // Whether the accessibility tree should be saved, for unit testing. | 803 // Whether the accessibility tree should be saved, for unit testing. |
| 804 bool save_accessibility_tree_for_testing_; | 804 bool save_accessibility_tree_for_testing_; |
| 805 | 805 |
| 806 // The most recently received accessibility tree - for unit testing only. | 806 // The most recently received accessibility tree - for unit testing only. |
| 807 webkit_glue::WebAccessibility accessibility_tree_; | 807 webkit_glue::WebAccessibility accessibility_tree_; |
| 808 | 808 |
| 809 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 809 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 810 }; | 810 }; |
| 811 | 811 |
| 812 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 812 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |