| 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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 // has been called. | 571 // has been called. |
| 572 virtual bool FillAutoFillFormData(int query_id, | 572 virtual bool FillAutoFillFormData(int query_id, |
| 573 const webkit_glue::FormData& form, | 573 const webkit_glue::FormData& form, |
| 574 const webkit_glue::FormField& field, | 574 const webkit_glue::FormField& field, |
| 575 int unique_id) = 0; | 575 int unique_id) = 0; |
| 576 | 576 |
| 577 // Called when the user selects the 'AutoFill Options...' suggestions in the | 577 // Called when the user selects the 'AutoFill Options...' suggestions in the |
| 578 // AutoFill popup. | 578 // AutoFill popup. |
| 579 virtual void ShowAutoFillDialog() = 0; | 579 virtual void ShowAutoFillDialog() = 0; |
| 580 | 580 |
| 581 // Reset cache in AutoFillManager. |
| 582 virtual void Reset() = 0; |
| 583 |
| 581 protected: | 584 protected: |
| 582 virtual ~AutoFill() {} | 585 virtual ~AutoFill() {} |
| 583 }; | 586 }; |
| 584 | 587 |
| 585 // BookmarkDrag -------------------------------------------------------------- | 588 // BookmarkDrag -------------------------------------------------------------- |
| 586 // Interface for forwarding bookmark drag and drop to extenstions. | 589 // Interface for forwarding bookmark drag and drop to extenstions. |
| 587 | 590 |
| 588 class BookmarkDrag { | 591 class BookmarkDrag { |
| 589 public: | 592 public: |
| 590 virtual void OnDragEnter(const BookmarkNodeData& data) = 0; | 593 virtual void OnDragEnter(const BookmarkNodeData& data) = 0; |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 bool remember) {} | 866 bool remember) {} |
| 864 | 867 |
| 865 // Update the content restrictions, i.e. disable print/copy. | 868 // Update the content restrictions, i.e. disable print/copy. |
| 866 virtual void UpdateContentRestrictions(int restrictions) {} | 869 virtual void UpdateContentRestrictions(int restrictions) {} |
| 867 | 870 |
| 868 protected: | 871 protected: |
| 869 virtual ~RenderViewHostDelegate() {} | 872 virtual ~RenderViewHostDelegate() {} |
| 870 }; | 873 }; |
| 871 | 874 |
| 872 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 875 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |