| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 | 543 |
| 544 // Tell the browser about the actions permitted for a new touch point. | 544 // Tell the browser about the actions permitted for a new touch point. |
| 545 void setTouchAction(blink::WebTouchAction touch_action) override; | 545 void setTouchAction(blink::WebTouchAction touch_action) override; |
| 546 | 546 |
| 547 // Called when value of focused text field gets dirty, e.g. value is modified | 547 // Called when value of focused text field gets dirty, e.g. value is modified |
| 548 // by script, not by user input. | 548 // by script, not by user input. |
| 549 void didUpdateTextOfFocusedElementByNonUserInput() override; | 549 void didUpdateTextOfFocusedElementByNonUserInput() override; |
| 550 | 550 |
| 551 // Creates a 3D context associated with this view. | 551 // Creates a 3D context associated with this view. |
| 552 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D( | 552 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D( |
| 553 bool compositor); | 553 GpuChannelHost* gpu_channel_host); |
| 554 | 554 |
| 555 // Routing ID that allows us to communicate to the parent browser process | 555 // Routing ID that allows us to communicate to the parent browser process |
| 556 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. | 556 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. |
| 557 int32_t routing_id_; | 557 int32_t routing_id_; |
| 558 | 558 |
| 559 // Dependencies for initializing a compositor, including flags for optional | 559 // Dependencies for initializing a compositor, including flags for optional |
| 560 // features. | 560 // features. |
| 561 CompositorDependencies* const compositor_deps_; | 561 CompositorDependencies* const compositor_deps_; |
| 562 | 562 |
| 563 // We are responsible for destroying this object via its Close method. | 563 // We are responsible for destroying this object via its Close method. |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 754 | 754 |
| 755 scoped_ptr<scheduler::RenderWidgetSchedulingState> | 755 scoped_ptr<scheduler::RenderWidgetSchedulingState> |
| 756 render_widget_scheduling_state_; | 756 render_widget_scheduling_state_; |
| 757 | 757 |
| 758 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 758 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 759 }; | 759 }; |
| 760 | 760 |
| 761 } // namespace content | 761 } // namespace content |
| 762 | 762 |
| 763 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 763 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |