| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VIEW_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 // located at the given point. | 146 // located at the given point. |
| 147 virtual void ExecuteMediaPlayerActionAtLocation( | 147 virtual void ExecuteMediaPlayerActionAtLocation( |
| 148 const gfx::Point& location, | 148 const gfx::Point& location, |
| 149 const blink::WebMediaPlayerAction& action) = 0; | 149 const blink::WebMediaPlayerAction& action) = 0; |
| 150 | 150 |
| 151 // Tells the renderer to perform the given action on the plugin located at | 151 // Tells the renderer to perform the given action on the plugin located at |
| 152 // the given point. | 152 // the given point. |
| 153 virtual void ExecutePluginActionAtLocation( | 153 virtual void ExecutePluginActionAtLocation( |
| 154 const gfx::Point& location, const blink::WebPluginAction& action) = 0; | 154 const gfx::Point& location, const blink::WebPluginAction& action) = 0; |
| 155 | 155 |
| 156 // Asks the renderer to exit fullscreen | |
| 157 virtual void ExitFullscreen() = 0; | |
| 158 | |
| 159 // Notifies the Listener that one or more files have been chosen by the user | 156 // Notifies the Listener that one or more files have been chosen by the user |
| 160 // from a file chooser dialog for the form. |permissions| is the file | 157 // from a file chooser dialog for the form. |permissions| is the file |
| 161 // selection mode in which the chooser dialog was created. | 158 // selection mode in which the chooser dialog was created. |
| 162 virtual void FilesSelectedInChooser( | 159 virtual void FilesSelectedInChooser( |
| 163 const std::vector<content::FileChooserFileInfo>& files, | 160 const std::vector<content::FileChooserFileInfo>& files, |
| 164 FileChooserParams::Mode permissions) = 0; | 161 FileChooserParams::Mode permissions) = 0; |
| 165 | 162 |
| 166 virtual RenderViewHostDelegate* GetDelegate() const = 0; | 163 virtual RenderViewHostDelegate* GetDelegate() const = 0; |
| 167 | 164 |
| 168 // Returns a bitwise OR of bindings types that have been enabled for this | 165 // Returns a bitwise OR of bindings types that have been enabled for this |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 | 223 |
| 227 private: | 224 private: |
| 228 // This interface should only be implemented inside content. | 225 // This interface should only be implemented inside content. |
| 229 friend class RenderViewHostImpl; | 226 friend class RenderViewHostImpl; |
| 230 RenderViewHost() {} | 227 RenderViewHost() {} |
| 231 }; | 228 }; |
| 232 | 229 |
| 233 } // namespace content | 230 } // namespace content |
| 234 | 231 |
| 235 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ | 232 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ |
| OLD | NEW |