| 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 #endif // ENABLE_PLUGINS | 317 #endif // ENABLE_PLUGINS |
| 318 | 318 |
| 319 void TransferActiveWheelFlingAnimation( | 319 void TransferActiveWheelFlingAnimation( |
| 320 const blink::WebActiveWheelFlingParameters& params); | 320 const blink::WebActiveWheelFlingParameters& params); |
| 321 | 321 |
| 322 // Returns true if the focused element is editable text from the perspective | 322 // Returns true if the focused element is editable text from the perspective |
| 323 // of IME support (also used for on-screen keyboard). Works correctly inside | 323 // of IME support (also used for on-screen keyboard). Works correctly inside |
| 324 // supported PPAPI plug-ins. | 324 // supported PPAPI plug-ins. |
| 325 bool HasIMETextFocus(); | 325 bool HasIMETextFocus(); |
| 326 | 326 |
| 327 // Called after WebUIMojoContextState has run the 'main' module. |
| 328 void WebUIMojoMainRan(); |
| 329 |
| 327 // Callback for use with GetWindowSnapshot. | 330 // Callback for use with GetWindowSnapshot. |
| 328 typedef base::Callback<void( | 331 typedef base::Callback<void( |
| 329 const gfx::Size&, const std::vector<unsigned char>&)> | 332 const gfx::Size&, const std::vector<unsigned char>&)> |
| 330 WindowSnapshotCallback; | 333 WindowSnapshotCallback; |
| 331 | 334 |
| 332 void GetWindowSnapshot(const WindowSnapshotCallback& callback); | 335 void GetWindowSnapshot(const WindowSnapshotCallback& callback); |
| 333 | 336 |
| 334 // Dispatches the current navigation state to the browser. Called on a | 337 // Dispatches the current navigation state to the browser. Called on a |
| 335 // periodic timer so we don't send too many messages. | 338 // periodic timer so we don't send too many messages. |
| 336 void SyncNavigationState(); | 339 void SyncNavigationState(); |
| (...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1164 // use the Observer interface to filter IPC messages and receive frame change | 1167 // use the Observer interface to filter IPC messages and receive frame change |
| 1165 // notifications. | 1168 // notifications. |
| 1166 // --------------------------------------------------------------------------- | 1169 // --------------------------------------------------------------------------- |
| 1167 | 1170 |
| 1168 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1171 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1169 }; | 1172 }; |
| 1170 | 1173 |
| 1171 } // namespace content | 1174 } // namespace content |
| 1172 | 1175 |
| 1173 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1176 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |