| 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 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 void setTouchAction(blink::WebTouchAction touch_action) override; | 564 void setTouchAction(blink::WebTouchAction touch_action) override; |
| 565 | 565 |
| 566 // Called when value of focused text field gets dirty, e.g. value is modified | 566 // Called when value of focused text field gets dirty, e.g. value is modified |
| 567 // by script, not by user input. | 567 // by script, not by user input. |
| 568 void didUpdateTextOfFocusedElementByNonUserInput() override; | 568 void didUpdateTextOfFocusedElementByNonUserInput() override; |
| 569 | 569 |
| 570 // Creates a 3D context associated with this view. | 570 // Creates a 3D context associated with this view. |
| 571 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D( | 571 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D( |
| 572 bool compositor); | 572 bool compositor); |
| 573 | 573 |
| 574 void UpdateTextInputStateInternal(ShowIme show_ime, |
| 575 ChangeSource change_source); |
| 576 |
| 574 // Routing ID that allows us to communicate to the parent browser process | 577 // Routing ID that allows us to communicate to the parent browser process |
| 575 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. | 578 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. |
| 576 int32 routing_id_; | 579 int32 routing_id_; |
| 577 | 580 |
| 578 // Dependencies for initializing a compositor, including flags for optional | 581 // Dependencies for initializing a compositor, including flags for optional |
| 579 // features. | 582 // features. |
| 580 CompositorDependencies* const compositor_deps_; | 583 CompositorDependencies* const compositor_deps_; |
| 581 | 584 |
| 582 // We are responsible for destroying this object via its Close method. | 585 // We are responsible for destroying this object via its Close method. |
| 583 // May be NULL when the window is closing. | 586 // May be NULL when the window is closing. |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 788 ui::MenuSourceType context_menu_source_type_; | 791 ui::MenuSourceType context_menu_source_type_; |
| 789 bool has_host_context_menu_location_; | 792 bool has_host_context_menu_location_; |
| 790 gfx::Point host_context_menu_location_; | 793 gfx::Point host_context_menu_location_; |
| 791 | 794 |
| 792 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 795 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 793 }; | 796 }; |
| 794 | 797 |
| 795 } // namespace content | 798 } // namespace content |
| 796 | 799 |
| 797 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 800 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |