| 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_RENDERER_RENDER_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 void PluginFocusChanged(bool focused, int plugin_id); | 285 void PluginFocusChanged(bool focused, int plugin_id); |
| 286 #endif | 286 #endif |
| 287 | 287 |
| 288 #if defined(OS_MACOSX) | 288 #if defined(OS_MACOSX) |
| 289 // Starts plugin IME. | 289 // Starts plugin IME. |
| 290 void StartPluginIme(); | 290 void StartPluginIme(); |
| 291 #endif | 291 #endif |
| 292 | 292 |
| 293 void RegisterPluginDelegate(WebPluginDelegateProxy* delegate); | 293 void RegisterPluginDelegate(WebPluginDelegateProxy* delegate); |
| 294 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); | 294 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); |
| 295 | |
| 296 // Helper function to retrieve information about a plugin for a URL and mime | |
| 297 // type. Returns false if no plugin was found. | |
| 298 // |actual_mime_type| is the actual mime type supported by the | |
| 299 // plugin found that match the URL given (one for each item in | |
| 300 // |info|). | |
| 301 bool GetPluginInfo(const GURL& url, | |
| 302 const GURL& page_url, | |
| 303 const std::string& mime_type, | |
| 304 WebPluginInfo* plugin_info, | |
| 305 std::string* actual_mime_type); | |
| 306 | |
| 307 #endif // ENABLE_PLUGINS | 295 #endif // ENABLE_PLUGINS |
| 308 | 296 |
| 309 void TransferActiveWheelFlingAnimation( | 297 void TransferActiveWheelFlingAnimation( |
| 310 const blink::WebActiveWheelFlingParameters& params); | 298 const blink::WebActiveWheelFlingParameters& params); |
| 311 | 299 |
| 312 // Returns true if the focused element is editable text from the perspective | 300 // Returns true if the focused element is editable text from the perspective |
| 313 // of IME support (also used for on-screen keyboard). Works correctly inside | 301 // of IME support (also used for on-screen keyboard). Works correctly inside |
| 314 // supported PPAPI plug-ins. | 302 // supported PPAPI plug-ins. |
| 315 bool HasIMETextFocus(); | 303 bool HasIMETextFocus(); |
| 316 | 304 |
| (...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1501 // use the Observer interface to filter IPC messages and receive frame change | 1489 // use the Observer interface to filter IPC messages and receive frame change |
| 1502 // notifications. | 1490 // notifications. |
| 1503 // --------------------------------------------------------------------------- | 1491 // --------------------------------------------------------------------------- |
| 1504 | 1492 |
| 1505 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1493 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1506 }; | 1494 }; |
| 1507 | 1495 |
| 1508 } // namespace content | 1496 } // namespace content |
| 1509 | 1497 |
| 1510 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1498 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |