| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 // Notifies the Listener that one or more files have been chosen by the user | 186 // Notifies the Listener that one or more files have been chosen by the user |
| 187 // from a file chooser dialog for the form. |permissions| is the file | 187 // from a file chooser dialog for the form. |permissions| is the file |
| 188 // selection mode in which the chooser dialog was created. | 188 // selection mode in which the chooser dialog was created. |
| 189 virtual void FilesSelectedInChooser( | 189 virtual void FilesSelectedInChooser( |
| 190 const std::vector<content::FileChooserFileInfo>& files, | 190 const std::vector<content::FileChooserFileInfo>& files, |
| 191 FileChooserParams::Mode permissions) = 0; | 191 FileChooserParams::Mode permissions) = 0; |
| 192 | 192 |
| 193 private: | 193 private: |
| 194 // This interface should only be implemented inside content. | 194 // This interface should only be implemented inside content. |
| 195 friend class RenderFrameHostImpl; | 195 friend class RenderFrameHostImpl; |
| 196 friend class MockRenderFrameHost; |
| 196 RenderFrameHost() {} | 197 RenderFrameHost() {} |
| 197 }; | 198 }; |
| 198 | 199 |
| 199 } // namespace content | 200 } // namespace content |
| 200 | 201 |
| 201 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ | 202 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
| OLD | NEW |