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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 const ui::LatencyInfo& latency_info) override; | 465 const ui::LatencyInfo& latency_info) override; |
466 GURL GetURLForGraphicsContext3D() override; | 466 GURL GetURLForGraphicsContext3D() override; |
467 void OnImeSetComposition( | 467 void OnImeSetComposition( |
468 const base::string16& text, | 468 const base::string16& text, |
469 const std::vector<blink::WebCompositionUnderline>& underlines, | 469 const std::vector<blink::WebCompositionUnderline>& underlines, |
470 const gfx::Range& replacement_range, | 470 const gfx::Range& replacement_range, |
471 int selection_start, | 471 int selection_start, |
472 int selection_end) override; | 472 int selection_end) override; |
473 void OnImeConfirmComposition(const base::string16& text, | 473 void OnImeConfirmComposition(const base::string16& text, |
474 const gfx::Range& replacement_range, | 474 const gfx::Range& replacement_range, |
475 bool keep_selection) override; | 475 bool keep_selection, |
| 476 int newCursorPosition = 1) override; |
476 void OnOrientationChange() override; | 477 void OnOrientationChange() override; |
477 ui::TextInputType GetTextInputType() override; | 478 ui::TextInputType GetTextInputType() override; |
478 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; | 479 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; |
479 void GetCompositionCharacterBounds( | 480 void GetCompositionCharacterBounds( |
480 std::vector<gfx::Rect>* character_bounds_in_window) override; | 481 std::vector<gfx::Rect>* character_bounds_in_window) override; |
481 void GetCompositionRange(gfx::Range* range) override; | 482 void GetCompositionRange(gfx::Range* range) override; |
482 bool CanComposeInline() override; | 483 bool CanComposeInline() override; |
483 void DidCommitCompositorFrame() override; | 484 void DidCommitCompositorFrame() override; |
484 void DidCompletePageScaleAnimation() override; | 485 void DidCompletePageScaleAnimation() override; |
485 void OnDeviceScaleFactorChanged() override; | 486 void OnDeviceScaleFactorChanged() override; |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
966 // use the Observer interface to filter IPC messages and receive frame change | 967 // use the Observer interface to filter IPC messages and receive frame change |
967 // notifications. | 968 // notifications. |
968 // --------------------------------------------------------------------------- | 969 // --------------------------------------------------------------------------- |
969 | 970 |
970 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 971 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
971 }; | 972 }; |
972 | 973 |
973 } // namespace content | 974 } // namespace content |
974 | 975 |
975 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 976 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |