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_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
749 virtual void FocusedNodeChanged(bool is_editable_node) {} | 749 virtual void FocusedNodeChanged(bool is_editable_node) {} |
750 | 750 |
751 // Updates the minimum and maximum zoom percentages. | 751 // Updates the minimum and maximum zoom percentages. |
752 virtual void UpdateZoomLimits(int minimum_percent, | 752 virtual void UpdateZoomLimits(int minimum_percent, |
753 int maximum_percent, | 753 int maximum_percent, |
754 bool remember) {} | 754 bool remember) {} |
755 | 755 |
756 // Update the content restrictions, i.e. disable print/copy. | 756 // Update the content restrictions, i.e. disable print/copy. |
757 virtual void UpdateContentRestrictions(int restrictions) {} | 757 virtual void UpdateContentRestrictions(int restrictions) {} |
758 | 758 |
759 virtual void DetectedPhishingSite(const GURL& phishing_url, | |
Brian Ryner
2011/01/20 23:36:40
Add a comment for this method?
| |
760 double phishing_score) {} | |
761 | |
759 protected: | 762 protected: |
760 virtual ~RenderViewHostDelegate() {} | 763 virtual ~RenderViewHostDelegate() {} |
761 }; | 764 }; |
762 | 765 |
763 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 766 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |