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 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 bool blocked_by_policy); | 714 bool blocked_by_policy); |
715 void OnUpdateZoomLimits(int minimum_percent, | 715 void OnUpdateZoomLimits(int minimum_percent, |
716 int maximum_percent, | 716 int maximum_percent, |
717 bool remember); | 717 bool remember); |
718 void OnSetSuggestions(int32 page_id, | 718 void OnSetSuggestions(int32 page_id, |
719 const std::vector<std::string>& suggestions); | 719 const std::vector<std::string>& suggestions); |
720 void OnInstantSupportDetermined(int32 page_id, bool result); | 720 void OnInstantSupportDetermined(int32 page_id, bool result); |
721 void OnDetectedPhishingSite(const GURL& phishing_url, | 721 void OnDetectedPhishingSite(const GURL& phishing_url, |
722 double phishing_score, | 722 double phishing_score, |
723 const SkBitmap& thumbnail); | 723 const SkBitmap& thumbnail); |
724 void OnScriptEvalResponse(int id, bool result); | 724 void OnScriptEvalResponse(int id, const ListValue& result); |
725 void OnUpdateContentRestrictions(int restrictions); | 725 void OnUpdateContentRestrictions(int restrictions); |
726 void OnPagesReadyForPreview(int document_cookie, int fd_in_browser); | 726 void OnPagesReadyForPreview(int document_cookie, int fd_in_browser); |
727 | 727 |
728 #if defined(OS_MACOSX) | 728 #if defined(OS_MACOSX) |
729 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 729 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
730 #endif | 730 #endif |
731 | 731 |
732 private: | 732 private: |
733 friend class TestRenderViewHost; | 733 friend class TestRenderViewHost; |
734 | 734 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
815 // Whether the accessibility tree should be saved, for unit testing. | 815 // Whether the accessibility tree should be saved, for unit testing. |
816 bool save_accessibility_tree_for_testing_; | 816 bool save_accessibility_tree_for_testing_; |
817 | 817 |
818 // The most recently received accessibility tree - for unit testing only. | 818 // The most recently received accessibility tree - for unit testing only. |
819 webkit_glue::WebAccessibility accessibility_tree_; | 819 webkit_glue::WebAccessibility accessibility_tree_; |
820 | 820 |
821 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 821 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
822 }; | 822 }; |
823 | 823 |
824 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 824 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |