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 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 | 553 |
554 // Tell the browser about the actions permitted for a new touch point. | 554 // Tell the browser about the actions permitted for a new touch point. |
555 void setTouchAction(blink::WebTouchAction touch_action) override; | 555 void setTouchAction(blink::WebTouchAction touch_action) override; |
556 | 556 |
557 // Called when value of focused text field gets dirty, e.g. value is modified | 557 // Called when value of focused text field gets dirty, e.g. value is modified |
558 // by script, not by user input. | 558 // by script, not by user input. |
559 void didUpdateTextOfFocusedElementByNonUserInput() override; | 559 void didUpdateTextOfFocusedElementByNonUserInput() override; |
560 | 560 |
561 // Creates a 3D context associated with this view. | 561 // Creates a 3D context associated with this view. |
562 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D( | 562 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D( |
563 GpuChannelHost* gpu_channel_host); | 563 gpu::GpuChannelHost* gpu_channel_host); |
564 | 564 |
565 // Sends an ACK to the browser process during the next compositor frame. | 565 // Sends an ACK to the browser process during the next compositor frame. |
566 void OnWaitNextFrameForTests(int routing_id); | 566 void OnWaitNextFrameForTests(int routing_id); |
567 | 567 |
568 // Routing ID that allows us to communicate to the parent browser process | 568 // Routing ID that allows us to communicate to the parent browser process |
569 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. | 569 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. |
570 int32_t routing_id_; | 570 int32_t routing_id_; |
571 | 571 |
572 // Dependencies for initializing a compositor, including flags for optional | 572 // Dependencies for initializing a compositor, including flags for optional |
573 // features. | 573 // features. |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
770 private: | 770 private: |
771 // When emulated, this returns original device scale factor. | 771 // When emulated, this returns original device scale factor. |
772 float GetOriginalDeviceScaleFactor() const; | 772 float GetOriginalDeviceScaleFactor() const; |
773 | 773 |
774 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 774 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
775 }; | 775 }; |
776 | 776 |
777 } // namespace content | 777 } // namespace content |
778 | 778 |
779 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 779 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |