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 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
650 const webkit_glue::FormData& form, | 650 const webkit_glue::FormData& form, |
651 int unique_id); | 651 int unique_id); |
652 | 652 |
653 void OnShowDesktopNotification( | 653 void OnShowDesktopNotification( |
654 const ViewHostMsg_ShowNotification_Params& params); | 654 const ViewHostMsg_ShowNotification_Params& params); |
655 void OnCancelDesktopNotification(int notification_id); | 655 void OnCancelDesktopNotification(int notification_id); |
656 void OnRequestNotificationPermission(const GURL& origin, int callback_id); | 656 void OnRequestNotificationPermission(const GURL& origin, int callback_id); |
657 | 657 |
658 void OnExtensionRequest(const ViewHostMsg_DomMessage_Params& params); | 658 void OnExtensionRequest(const ViewHostMsg_DomMessage_Params& params); |
659 void OnExtensionPostMessage(int port_id, const std::string& message); | 659 void OnExtensionPostMessage(int port_id, const std::string& message); |
660 void OnAccessibilityFocusChange(int acc_obj_id); | |
661 void OnAccessibilityNotifications( | 660 void OnAccessibilityNotifications( |
662 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); | 661 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); |
663 void OnAccessibilityTree(const webkit_glue::WebAccessibility& tree); | |
664 void OnCSSInserted(); | 662 void OnCSSInserted(); |
665 void OnPageContents(const GURL& url, | 663 void OnPageContents(const GURL& url, |
666 int32 page_id, | 664 int32 page_id, |
667 const string16& contents, | 665 const string16& contents, |
668 const std::string& language, | 666 const std::string& language, |
669 bool page_translatable); | 667 bool page_translatable); |
670 void OnPageTranslated(int32 page_id, | 668 void OnPageTranslated(int32 page_id, |
671 const std::string& original_lang, | 669 const std::string& original_lang, |
672 const std::string& translated_lang, | 670 const std::string& translated_lang, |
673 TranslateErrors::Type error_type); | 671 TranslateErrors::Type error_type); |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 // Whether the accessibility tree should be saved, for unit testing. | 761 // Whether the accessibility tree should be saved, for unit testing. |
764 bool save_accessibility_tree_for_testing_; | 762 bool save_accessibility_tree_for_testing_; |
765 | 763 |
766 // The most recently received accessibility tree - for unit testing only. | 764 // The most recently received accessibility tree - for unit testing only. |
767 webkit_glue::WebAccessibility accessibility_tree_; | 765 webkit_glue::WebAccessibility accessibility_tree_; |
768 | 766 |
769 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 767 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
770 }; | 768 }; |
771 | 769 |
772 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 770 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |