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 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
717 int maximum_percent, | 717 int maximum_percent, |
718 bool remember); | 718 bool remember); |
719 void OnSetSuggestions(int32 page_id, | 719 void OnSetSuggestions(int32 page_id, |
720 const std::vector<std::string>& suggestions); | 720 const std::vector<std::string>& suggestions); |
721 void OnInstantSupportDetermined(int32 page_id, bool result); | 721 void OnInstantSupportDetermined(int32 page_id, bool result); |
722 void OnDetectedPhishingSite(const GURL& phishing_url, | 722 void OnDetectedPhishingSite(const GURL& phishing_url, |
723 double phishing_score, | 723 double phishing_score, |
724 const SkBitmap& thumbnail); | 724 const SkBitmap& thumbnail); |
725 void OnScriptEvalResponse(int id, bool result); | 725 void OnScriptEvalResponse(int id, bool result); |
726 void OnUpdateContentRestrictions(int restrictions); | 726 void OnUpdateContentRestrictions(int restrictions); |
727 TabContents* GetPrintPreviewTab(); | |
Lei Zhang
2010/11/12 02:10:55
Should this be private?
kmadhusu
2010/11/12 22:21:48
Done.
| |
727 #if defined(OS_MACOSX) || defined(OS_WIN) | 728 #if defined(OS_MACOSX) || defined(OS_WIN) |
728 void OnPageReadyForPreview(const ViewHostMsg_DidPrintPage_Params& params); | 729 void OnPageReadyForPreview(const ViewHostMsg_DidPrintPage_Params& params); |
729 #else | 730 #else |
730 void OnPagesReadyForPreview(int fd_in_browser); | 731 void OnPagesReadyForPreview(int fd_in_browser); |
731 #endif | 732 #endif |
732 | 733 |
733 #if defined(OS_MACOSX) | 734 #if defined(OS_MACOSX) |
734 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 735 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
735 #endif | 736 #endif |
736 | 737 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
815 // Whether the accessibility tree should be saved, for unit testing. | 816 // Whether the accessibility tree should be saved, for unit testing. |
816 bool save_accessibility_tree_for_testing_; | 817 bool save_accessibility_tree_for_testing_; |
817 | 818 |
818 // The most recently received accessibility tree - for unit testing only. | 819 // The most recently received accessibility tree - for unit testing only. |
819 webkit_glue::WebAccessibility accessibility_tree_; | 820 webkit_glue::WebAccessibility accessibility_tree_; |
820 | 821 |
821 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 822 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
822 }; | 823 }; |
823 | 824 |
824 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 825 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |