| 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 void RevertTranslation(int page_id); | 458 void RevertTranslation(int page_id); |
| 459 | 459 |
| 460 // Informs renderer of updated content settings. | 460 // Informs renderer of updated content settings. |
| 461 void SendContentSettings(const GURL& url, | 461 void SendContentSettings(const GURL& url, |
| 462 const ContentSettings& settings); | 462 const ContentSettings& settings); |
| 463 | 463 |
| 464 // Tells the renderer to notify us when the page contents preferred size | 464 // Tells the renderer to notify us when the page contents preferred size |
| 465 // changed. | 465 // changed. |
| 466 void EnablePreferredSizeChangedMode(); | 466 void EnablePreferredSizeChangedMode(); |
| 467 | 467 |
| 468 // Requests a snapshot of an accessible DOM tree from the renderer. | |
| 469 void RequestAccessibilityTree(); | |
| 470 | |
| 471 protected: | 468 protected: |
| 472 // RenderWidgetHost protected overrides. | 469 // RenderWidgetHost protected overrides. |
| 473 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 470 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 474 bool* is_keyboard_shortcut); | 471 bool* is_keyboard_shortcut); |
| 475 virtual void UnhandledKeyboardEvent(const NativeWebKeyboardEvent& event); | 472 virtual void UnhandledKeyboardEvent(const NativeWebKeyboardEvent& event); |
| 476 virtual void OnUserGesture(); | 473 virtual void OnUserGesture(); |
| 477 virtual void NotifyRendererUnresponsive(); | 474 virtual void NotifyRendererUnresponsive(); |
| 478 virtual void NotifyRendererResponsive(); | 475 virtual void NotifyRendererResponsive(); |
| 479 virtual void OnMsgFocusedNodeChanged(); | 476 virtual void OnMsgFocusedNodeChanged(); |
| 480 | 477 |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 int64 session_storage_namespace_id_; | 707 int64 session_storage_namespace_id_; |
| 711 | 708 |
| 712 // Whether this render view will be used for extensions. This controls | 709 // Whether this render view will be used for extensions. This controls |
| 713 // what process type we use. | 710 // what process type we use. |
| 714 bool is_extension_process_; | 711 bool is_extension_process_; |
| 715 | 712 |
| 716 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 713 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 717 }; | 714 }; |
| 718 | 715 |
| 719 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 716 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |