| 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 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 virtual ~SSL() {} | 598 virtual ~SSL() {} |
| 599 }; | 599 }; |
| 600 | 600 |
| 601 // FileSelect ---------------------------------------------------------------- | 601 // FileSelect ---------------------------------------------------------------- |
| 602 // Interface for handling file selection. | 602 // Interface for handling file selection. |
| 603 | 603 |
| 604 class FileSelect { | 604 class FileSelect { |
| 605 public: | 605 public: |
| 606 // A file chooser should be shown. | 606 // A file chooser should be shown. |
| 607 virtual void RunFileChooser( | 607 virtual void RunFileChooser( |
| 608 RenderViewHost* render_view_host, |
| 608 const ViewHostMsg_RunFileChooser_Params& params) = 0; | 609 const ViewHostMsg_RunFileChooser_Params& params) = 0; |
| 609 | 610 |
| 610 protected: | 611 protected: |
| 611 virtual ~FileSelect() {} | 612 virtual ~FileSelect() {} |
| 612 }; | 613 }; |
| 613 | 614 |
| 614 // --------------------------------------------------------------------------- | 615 // --------------------------------------------------------------------------- |
| 615 | 616 |
| 616 // Returns the current delegate associated with a feature. May return NULL if | 617 // Returns the current delegate associated with a feature. May return NULL if |
| 617 // there is no corresponding delegate. | 618 // there is no corresponding delegate. |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 virtual void FocusedNodeChanged() {} | 819 virtual void FocusedNodeChanged() {} |
| 819 | 820 |
| 820 // The content being displayed is a PDF. | 821 // The content being displayed is a PDF. |
| 821 virtual void SetDisplayingPDFContent() {} | 822 virtual void SetDisplayingPDFContent() {} |
| 822 | 823 |
| 823 protected: | 824 protected: |
| 824 virtual ~RenderViewHostDelegate() {} | 825 virtual ~RenderViewHostDelegate() {} |
| 825 }; | 826 }; |
| 826 | 827 |
| 827 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 828 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |