Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 1635953002: Added replacement_range to ImeSetComposition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: erikchen's review Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 void DidFlushPaint() override; 472 void DidFlushPaint() override;
473 gfx::Vector2d GetScrollOffset() override; 473 gfx::Vector2d GetScrollOffset() override;
474 void OnSetFocus(bool enable) override; 474 void OnSetFocus(bool enable) override;
475 void OnWasHidden() override; 475 void OnWasHidden() override;
476 void OnWasShown(bool needs_repainting, 476 void OnWasShown(bool needs_repainting,
477 const ui::LatencyInfo& latency_info) override; 477 const ui::LatencyInfo& latency_info) override;
478 GURL GetURLForGraphicsContext3D() override; 478 GURL GetURLForGraphicsContext3D() override;
479 void OnImeSetComposition( 479 void OnImeSetComposition(
480 const base::string16& text, 480 const base::string16& text,
481 const std::vector<blink::WebCompositionUnderline>& underlines, 481 const std::vector<blink::WebCompositionUnderline>& underlines,
482 const gfx::Range& replacement_range,
482 int selection_start, 483 int selection_start,
483 int selection_end) override; 484 int selection_end) override;
484 void OnImeConfirmComposition(const base::string16& text, 485 void OnImeConfirmComposition(const base::string16& text,
485 const gfx::Range& replacement_range, 486 const gfx::Range& replacement_range,
486 bool keep_selection) override; 487 bool keep_selection) override;
487 bool SetDeviceColorProfile(const std::vector<char>& color_profile) override; 488 bool SetDeviceColorProfile(const std::vector<char>& color_profile) override;
488 void OnOrientationChange() override; 489 void OnOrientationChange() override;
489 ui::TextInputType GetTextInputType() override; 490 ui::TextInputType GetTextInputType() override;
490 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; 491 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override;
491 void GetCompositionCharacterBounds( 492 void GetCompositionCharacterBounds(
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 // use the Observer interface to filter IPC messages and receive frame change 1017 // use the Observer interface to filter IPC messages and receive frame change
1017 // notifications. 1018 // notifications.
1018 // --------------------------------------------------------------------------- 1019 // ---------------------------------------------------------------------------
1019 1020
1020 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1021 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1021 }; 1022 };
1022 1023
1023 } // namespace content 1024 } // namespace content
1024 1025
1025 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1026 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698