| 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_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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |