| 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 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 746 virtual void DidInsertCSS() {} | 746 virtual void DidInsertCSS() {} |
| 747 | 747 |
| 748 // A different node in the page got focused. | 748 // A different node in the page got focused. |
| 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. | |
| 757 virtual void UpdateContentRestrictions(int restrictions) {} | |
| 758 | |
| 759 protected: | 756 protected: |
| 760 virtual ~RenderViewHostDelegate() {} | 757 virtual ~RenderViewHostDelegate() {} |
| 761 }; | 758 }; |
| 762 | 759 |
| 763 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 760 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |