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

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

Issue 1999423002: tyrbot test for commitText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SetHasCompositionTextToTrue Created 4 years, 3 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_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 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 const ui::LatencyInfo& latency_info); 482 const ui::LatencyInfo& latency_info);
483 void OnCreateVideoAck(int32_t video_id); 483 void OnCreateVideoAck(int32_t video_id);
484 void OnUpdateVideoAck(int32_t video_id); 484 void OnUpdateVideoAck(int32_t video_id);
485 void OnRequestMoveAck(); 485 void OnRequestMoveAck();
486 virtual void OnImeSetComposition( 486 virtual void OnImeSetComposition(
487 const base::string16& text, 487 const base::string16& text,
488 const std::vector<blink::WebCompositionUnderline>& underlines, 488 const std::vector<blink::WebCompositionUnderline>& underlines,
489 const gfx::Range& replacement_range, 489 const gfx::Range& replacement_range,
490 int selection_start, 490 int selection_start,
491 int selection_end); 491 int selection_end);
492 virtual void OnImeConfirmComposition(const base::string16& text, 492 virtual void OnImeCommitText(const base::string16& text,
493 const gfx::Range& replacement_range, 493 const gfx::Range& replacement_range,
494 bool keep_selection); 494 int relative_cursor_pos);
495 virtual void OnImeFinishComposingText(bool keep_selection);
496
495 // Called when the device scale factor is changed, or the layer tree is 497 // Called when the device scale factor is changed, or the layer tree is
496 // initialized. 498 // initialized.
497 virtual void OnDeviceScaleFactorChanged(); 499 virtual void OnDeviceScaleFactorChanged();
498 500
499 void OnRepaint(gfx::Size size_to_paint); 501 void OnRepaint(gfx::Size size_to_paint);
500 void OnSyntheticGestureCompleted(); 502 void OnSyntheticGestureCompleted();
501 void OnSetTextDirection(blink::WebTextDirection direction); 503 void OnSetTextDirection(blink::WebTextDirection direction);
502 void OnGetFPS(); 504 void OnGetFPS();
503 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, 505 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
504 const gfx::Rect& window_screen_rect); 506 const gfx::Rect& window_screen_rect);
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 // This reference is set by the RenderFrame and is used to query the IME- 810 // This reference is set by the RenderFrame and is used to query the IME-
809 // related state from the plugin to later send to the browser. 811 // related state from the plugin to later send to the browser.
810 PepperPluginInstanceImpl* focused_pepper_plugin_; 812 PepperPluginInstanceImpl* focused_pepper_plugin_;
811 813
812 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 814 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
813 }; 815 };
814 816
815 } // namespace content 817 } // namespace content
816 818
817 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 819 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698