| 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 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 // has been called. | 582 // has been called. |
| 583 virtual bool FillAutoFillFormData(int query_id, | 583 virtual bool FillAutoFillFormData(int query_id, |
| 584 const webkit_glue::FormData& form, | 584 const webkit_glue::FormData& form, |
| 585 const webkit_glue::FormField& field, | 585 const webkit_glue::FormField& field, |
| 586 int unique_id) = 0; | 586 int unique_id) = 0; |
| 587 | 587 |
| 588 // Called when the user selects the 'AutoFill Options...' suggestions in the | 588 // Called when the user selects the 'AutoFill Options...' suggestions in the |
| 589 // AutoFill popup. | 589 // AutoFill popup. |
| 590 virtual void ShowAutoFillDialog() = 0; | 590 virtual void ShowAutoFillDialog() = 0; |
| 591 | 591 |
| 592 // Reset cache in AutoFillManager. | |
| 593 virtual void Reset() = 0; | |
| 594 | |
| 595 protected: | 592 protected: |
| 596 virtual ~AutoFill() {} | 593 virtual ~AutoFill() {} |
| 597 }; | 594 }; |
| 598 | 595 |
| 599 // BookmarkDrag -------------------------------------------------------------- | 596 // BookmarkDrag -------------------------------------------------------------- |
| 600 // Interface for forwarding bookmark drag and drop to extenstions. | 597 // Interface for forwarding bookmark drag and drop to extenstions. |
| 601 | 598 |
| 602 class BookmarkDrag { | 599 class BookmarkDrag { |
| 603 public: | 600 public: |
| 604 virtual void OnDragEnter(const BookmarkNodeData& data) = 0; | 601 virtual void OnDragEnter(const BookmarkNodeData& data) = 0; |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 879 bool remember) {} | 876 bool remember) {} |
| 880 | 877 |
| 881 // Update the content restrictions, i.e. disable print/copy. | 878 // Update the content restrictions, i.e. disable print/copy. |
| 882 virtual void UpdateContentRestrictions(int restrictions) {} | 879 virtual void UpdateContentRestrictions(int restrictions) {} |
| 883 | 880 |
| 884 protected: | 881 protected: |
| 885 virtual ~RenderViewHostDelegate() {} | 882 virtual ~RenderViewHostDelegate() {} |
| 886 }; | 883 }; |
| 887 | 884 |
| 888 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 885 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |