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_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 | 362 |
363 // TODO(jam): remove these once the IPC handler moves from RenderView to | 363 // TODO(jam): remove these once the IPC handler moves from RenderView to |
364 // RenderFrame. | 364 // RenderFrame. |
365 void OnImeSetComposition( | 365 void OnImeSetComposition( |
366 const base::string16& text, | 366 const base::string16& text, |
367 const std::vector<blink::WebCompositionUnderline>& underlines, | 367 const std::vector<blink::WebCompositionUnderline>& underlines, |
368 int selection_start, | 368 int selection_start, |
369 int selection_end); | 369 int selection_end); |
370 void OnImeConfirmComposition(const base::string16& text, | 370 void OnImeConfirmComposition(const base::string16& text, |
371 const gfx::Range& replacement_range, | 371 const gfx::Range& replacement_range, |
372 bool keep_selection); | 372 bool keep_selection, |
| 373 int relative_cursor_pos); |
373 #endif // defined(ENABLE_PLUGINS) | 374 #endif // defined(ENABLE_PLUGINS) |
374 | 375 |
375 // May return NULL in some cases, especially if userMediaClient() returns | 376 // May return NULL in some cases, especially if userMediaClient() returns |
376 // NULL. | 377 // NULL. |
377 MediaStreamDispatcher* GetMediaStreamDispatcher(); | 378 MediaStreamDispatcher* GetMediaStreamDispatcher(); |
378 | 379 |
379 #if defined(USE_EXTERNAL_POPUP_MENU) | 380 #if defined(USE_EXTERNAL_POPUP_MENU) |
380 void DidHideExternalPopupMenu(); | 381 void DidHideExternalPopupMenu(); |
381 #endif | 382 #endif |
382 | 383 |
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1281 mojom::FrameHostPtr frame_host_; | 1282 mojom::FrameHostPtr frame_host_; |
1282 | 1283 |
1283 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1284 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1284 | 1285 |
1285 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1286 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1286 }; | 1287 }; |
1287 | 1288 |
1288 } // namespace content | 1289 } // namespace content |
1289 | 1290 |
1290 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1291 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |