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 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 int unique_id); | 646 int unique_id); |
647 | 647 |
648 void OnShowDesktopNotification( | 648 void OnShowDesktopNotification( |
649 const ViewHostMsg_ShowNotification_Params& params); | 649 const ViewHostMsg_ShowNotification_Params& params); |
650 void OnCancelDesktopNotification(int notification_id); | 650 void OnCancelDesktopNotification(int notification_id); |
651 void OnRequestNotificationPermission(const GURL& origin, int callback_id); | 651 void OnRequestNotificationPermission(const GURL& origin, int callback_id); |
652 | 652 |
653 void OnExtensionRequest(const ViewHostMsg_DomMessage_Params& params); | 653 void OnExtensionRequest(const ViewHostMsg_DomMessage_Params& params); |
654 void OnExtensionPostMessage(int port_id, const std::string& message); | 654 void OnExtensionPostMessage(int port_id, const std::string& message); |
655 void OnAccessibilityFocusChange(int acc_obj_id); | 655 void OnAccessibilityFocusChange(int acc_obj_id); |
656 void OnAccessibilityObjectStateChange(int acc_obj_id); | 656 void OnAccessibilityObjectStateChange( |
| 657 const webkit_glue::WebAccessibility& acc_obj); |
657 void OnAccessibilityObjectChildrenChange( | 658 void OnAccessibilityObjectChildrenChange( |
658 const std::vector<webkit_glue::WebAccessibility>& acc_changes); | 659 const std::vector<webkit_glue::WebAccessibility>& acc_changes); |
659 void OnAccessibilityTree(const webkit_glue::WebAccessibility& tree); | 660 void OnAccessibilityTree(const webkit_glue::WebAccessibility& tree); |
660 void OnCSSInserted(); | 661 void OnCSSInserted(); |
661 void OnPageContents(const GURL& url, | 662 void OnPageContents(const GURL& url, |
662 int32 page_id, | 663 int32 page_id, |
663 const string16& contents, | 664 const string16& contents, |
664 const std::string& language, | 665 const std::string& language, |
665 bool page_translatable); | 666 bool page_translatable); |
666 void OnPageTranslated(int32 page_id, | 667 void OnPageTranslated(int32 page_id, |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
759 // Whether the accessibility tree should be saved, for unit testing. | 760 // Whether the accessibility tree should be saved, for unit testing. |
760 bool save_accessibility_tree_for_testing_; | 761 bool save_accessibility_tree_for_testing_; |
761 | 762 |
762 // The most recently received accessibility tree - for unit testing only. | 763 // The most recently received accessibility tree - for unit testing only. |
763 webkit_glue::WebAccessibility accessibility_tree_; | 764 webkit_glue::WebAccessibility accessibility_tree_; |
764 | 765 |
765 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 766 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
766 }; | 767 }; |
767 | 768 |
768 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 769 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |