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