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