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 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 unsigned long estimated_size, | 693 unsigned long estimated_size, |
694 bool blocked_by_policy); | 694 bool blocked_by_policy); |
695 void OnUpdateZoomLimits(int minimum_percent, | 695 void OnUpdateZoomLimits(int minimum_percent, |
696 int maximum_percent, | 696 int maximum_percent, |
697 bool remember); | 697 bool remember); |
698 void OnSetSuggestions(int32 page_id, | 698 void OnSetSuggestions(int32 page_id, |
699 const std::vector<std::string>& suggestions); | 699 const std::vector<std::string>& suggestions); |
700 void OnInstantSupportDetermined(int32 page_id, bool result); | 700 void OnInstantSupportDetermined(int32 page_id, bool result); |
701 void OnDetectedPhishingSite(const GURL& phishing_url, double phishing_score); | 701 void OnDetectedPhishingSite(const GURL& phishing_url, double phishing_score); |
702 void OnScriptEvalResponse(int id, const ListValue& result); | 702 void OnScriptEvalResponse(int id, const ListValue& result); |
703 void OnUpdateContentRestrictions(int restrictions); | |
704 void OnPagesReadyForPreview( | 703 void OnPagesReadyForPreview( |
705 const ViewHostMsg_DidPreviewDocument_Params& params); | 704 const ViewHostMsg_DidPreviewDocument_Params& params); |
706 | 705 |
707 #if defined(OS_MACOSX) | 706 #if defined(OS_MACOSX) |
708 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 707 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
709 #endif | 708 #endif |
710 | 709 |
711 private: | 710 private: |
712 friend class TestRenderViewHost; | 711 friend class TestRenderViewHost; |
713 | 712 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
788 // The most recently received accessibility tree - for unit testing only. | 787 // The most recently received accessibility tree - for unit testing only. |
789 webkit_glue::WebAccessibility accessibility_tree_; | 788 webkit_glue::WebAccessibility accessibility_tree_; |
790 | 789 |
791 // The termination status of the last render view that terminated. | 790 // The termination status of the last render view that terminated. |
792 base::TerminationStatus render_view_termination_status_; | 791 base::TerminationStatus render_view_termination_status_; |
793 | 792 |
794 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 793 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
795 }; | 794 }; |
796 | 795 |
797 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 796 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |