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

Side by Side Diff: content/renderer/render_widget.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_impl.cc ('k') | content/renderer/render_widget.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_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 void OnChangeResizeRect(const gfx::Rect& resizer_rect); 428 void OnChangeResizeRect(const gfx::Rect& resizer_rect);
429 virtual void OnWasHidden(); 429 virtual void OnWasHidden();
430 virtual void OnWasShown(bool needs_repainting, 430 virtual void OnWasShown(bool needs_repainting,
431 const ui::LatencyInfo& latency_info); 431 const ui::LatencyInfo& latency_info);
432 void OnCreateVideoAck(int32_t video_id); 432 void OnCreateVideoAck(int32_t video_id);
433 void OnUpdateVideoAck(int32_t video_id); 433 void OnUpdateVideoAck(int32_t video_id);
434 void OnRequestMoveAck(); 434 void OnRequestMoveAck();
435 virtual void OnImeSetComposition( 435 virtual void OnImeSetComposition(
436 const base::string16& text, 436 const base::string16& text,
437 const std::vector<blink::WebCompositionUnderline>& underlines, 437 const std::vector<blink::WebCompositionUnderline>& underlines,
438 const gfx::Range& replacement_range,
438 int selection_start, 439 int selection_start,
439 int selection_end); 440 int selection_end);
440 virtual void OnImeConfirmComposition(const base::string16& text, 441 virtual void OnImeConfirmComposition(const base::string16& text,
441 const gfx::Range& replacement_range, 442 const gfx::Range& replacement_range,
442 bool keep_selection); 443 bool keep_selection);
443 // Called when the device scale factor is changed, or the layer tree is 444 // Called when the device scale factor is changed, or the layer tree is
444 // initialized. 445 // initialized.
445 virtual void OnDeviceScaleFactorChanged(); 446 virtual void OnDeviceScaleFactorChanged();
446 447
447 void OnRepaint(gfx::Size size_to_paint); 448 void OnRepaint(gfx::Size size_to_paint);
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 754
754 scoped_ptr<scheduler::RenderWidgetSchedulingState> 755 scoped_ptr<scheduler::RenderWidgetSchedulingState>
755 render_widget_scheduling_state_; 756 render_widget_scheduling_state_;
756 757
757 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 758 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
758 }; 759 };
759 760
760 } // namespace content 761 } // namespace content
761 762
762 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 763 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698