| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 virtual void SetWebUIProperty(const std::string& name, | 180 virtual void SetWebUIProperty(const std::string& name, |
| 181 const std::string& value) = 0; | 181 const std::string& value) = 0; |
| 182 | 182 |
| 183 // Changes the zoom level for the current main frame. | 183 // Changes the zoom level for the current main frame. |
| 184 virtual void Zoom(PageZoom zoom) = 0; | 184 virtual void Zoom(PageZoom zoom) = 0; |
| 185 | 185 |
| 186 // Send the renderer process the current preferences supplied by the | 186 // Send the renderer process the current preferences supplied by the |
| 187 // RenderViewHostDelegate. | 187 // RenderViewHostDelegate. |
| 188 virtual void SyncRendererPrefs() = 0; | 188 virtual void SyncRendererPrefs() = 0; |
| 189 | 189 |
| 190 virtual void ToggleSpeechInput() = 0; | |
| 191 | |
| 192 // Returns the current WebKit preferences. | 190 // Returns the current WebKit preferences. |
| 193 virtual WebPreferences GetWebkitPreferences() = 0; | 191 virtual WebPreferences GetWebkitPreferences() = 0; |
| 194 | 192 |
| 195 // Passes a list of Webkit preferences to the renderer. | 193 // Passes a list of Webkit preferences to the renderer. |
| 196 virtual void UpdateWebkitPreferences(const WebPreferences& prefs) = 0; | 194 virtual void UpdateWebkitPreferences(const WebPreferences& prefs) = 0; |
| 197 | 195 |
| 198 // Retrieves the list of AudioOutputController objects associated | 196 // Retrieves the list of AudioOutputController objects associated |
| 199 // with this object and passes it to the callback you specify, on | 197 // with this object and passes it to the callback you specify, on |
| 200 // the same thread on which you called the method. | 198 // the same thread on which you called the method. |
| 201 typedef std::list<scoped_refptr<media::AudioOutputController> > | 199 typedef std::list<scoped_refptr<media::AudioOutputController> > |
| (...skipping 17 matching lines...) Expand all Loading... |
| 219 | 217 |
| 220 private: | 218 private: |
| 221 // This interface should only be implemented inside content. | 219 // This interface should only be implemented inside content. |
| 222 friend class RenderViewHostImpl; | 220 friend class RenderViewHostImpl; |
| 223 RenderViewHost() {} | 221 RenderViewHost() {} |
| 224 }; | 222 }; |
| 225 | 223 |
| 226 } // namespace content | 224 } // namespace content |
| 227 | 225 |
| 228 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ | 226 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ |
| OLD | NEW |