| 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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 // matches the |value|, |unique_id| key. Returns true to indicate that | 565 // matches the |value|, |unique_id| key. Returns true to indicate that |
| 566 // RenderViewHost::AutoFillFormDataFilled has been called. | 566 // RenderViewHost::AutoFillFormDataFilled has been called. |
| 567 virtual bool FillAutoFillFormData(int query_id, | 567 virtual bool FillAutoFillFormData(int query_id, |
| 568 const webkit_glue::FormData& form, | 568 const webkit_glue::FormData& form, |
| 569 int unique_id) = 0; | 569 int unique_id) = 0; |
| 570 | 570 |
| 571 // Called when the user selects the 'AutoFill Options...' suggestions in the | 571 // Called when the user selects the 'AutoFill Options...' suggestions in the |
| 572 // AutoFill popup. | 572 // AutoFill popup. |
| 573 virtual void ShowAutoFillDialog() = 0; | 573 virtual void ShowAutoFillDialog() = 0; |
| 574 | 574 |
| 575 // Reset cache in AutoFillManager. |
| 576 virtual void Reset() = 0; |
| 577 |
| 575 protected: | 578 protected: |
| 576 virtual ~AutoFill() {} | 579 virtual ~AutoFill() {} |
| 577 }; | 580 }; |
| 578 | 581 |
| 579 // BookmarkDrag -------------------------------------------------------------- | 582 // BookmarkDrag -------------------------------------------------------------- |
| 580 // Interface for forwarding bookmark drag and drop to extenstions. | 583 // Interface for forwarding bookmark drag and drop to extenstions. |
| 581 | 584 |
| 582 class BookmarkDrag { | 585 class BookmarkDrag { |
| 583 public: | 586 public: |
| 584 virtual void OnDragEnter(const BookmarkDragData& data) = 0; | 587 virtual void OnDragEnter(const BookmarkDragData& data) = 0; |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 857 bool remember) {} | 860 bool remember) {} |
| 858 | 861 |
| 859 // Update the content restrictions, i.e. disable print/copy. | 862 // Update the content restrictions, i.e. disable print/copy. |
| 860 virtual void UpdateContentRestrictions(int restrictions) {} | 863 virtual void UpdateContentRestrictions(int restrictions) {} |
| 861 | 864 |
| 862 protected: | 865 protected: |
| 863 virtual ~RenderViewHostDelegate() {} | 866 virtual ~RenderViewHostDelegate() {} |
| 864 }; | 867 }; |
| 865 | 868 |
| 866 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 869 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |