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

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

Issue 29943002: Limit display of the virtual keyboard to state changes triggered from a user gesture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit tests for input methods on Windows. Created 6 years, 11 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 | Annotate | Revision Log
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 <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 441
442 void WillToggleFullscreen(); 442 void WillToggleFullscreen();
443 void DidToggleFullscreen(); 443 void DidToggleFullscreen();
444 444
445 bool next_paint_is_resize_ack() const; 445 bool next_paint_is_resize_ack() const;
446 bool next_paint_is_restore_ack() const; 446 bool next_paint_is_restore_ack() const;
447 void set_next_paint_is_resize_ack(); 447 void set_next_paint_is_resize_ack();
448 void set_next_paint_is_restore_ack(); 448 void set_next_paint_is_restore_ack();
449 void set_next_paint_is_repaint_ack(); 449 void set_next_paint_is_repaint_ack();
450 450
451 #if defined(OS_ANDROID) 451 #if defined(OS_ANDROID) || defined(USE_AURA)
452 // |show_ime_if_needed| should be true iff the update may cause the ime to be 452 // |show_ime_if_needed| should be true iff the update may cause the ime to be
453 // displayed, e.g. after a tap on an input field on mobile. 453 // displayed, e.g. after a tap on an input field on mobile.
454 // |send_ime_ack| should be true iff the browser side is required to 454 // |send_ime_ack| should be true iff the browser side is required to
455 // acknowledge the change before the renderer handles any more IME events. 455 // acknowledge the change before the renderer handles any more IME events.
456 // This is when the event did not originate from the browser side IME, such as 456 // This is when the event did not originate from the browser side IME, such as
457 // changes from JavaScript or autofill. 457 // changes from JavaScript or autofill.
458 void UpdateTextInputState(bool show_ime_if_needed, bool send_ime_ack); 458 void UpdateTextInputState(bool show_ime_if_needed, bool send_ime_ack);
459 #endif 459 #endif
460 460
461 // Override point to obtain that the current input method state and caret 461 // Override point to obtain that the current input method state and caret
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 float popup_origin_scale_for_emulation_; 789 float popup_origin_scale_for_emulation_;
790 790
791 scoped_ptr<ResizingModeSelector> resizing_mode_selector_; 791 scoped_ptr<ResizingModeSelector> resizing_mode_selector_;
792 792
793 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 793 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
794 }; 794 };
795 795
796 } // namespace content 796 } // namespace content
797 797
798 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 798 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698