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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 // IPC::Sender | 119 // IPC::Sender |
120 virtual bool Send(IPC::Message* msg) OVERRIDE; | 120 virtual bool Send(IPC::Message* msg) OVERRIDE; |
121 | 121 |
122 // blink::WebWidgetClient | 122 // blink::WebWidgetClient |
123 virtual void suppressCompositorScheduling(bool enable); | 123 virtual void suppressCompositorScheduling(bool enable); |
124 virtual void willBeginCompositorFrame(); | 124 virtual void willBeginCompositorFrame(); |
125 virtual void didInvalidateRect(const blink::WebRect&); | 125 virtual void didInvalidateRect(const blink::WebRect&); |
126 virtual void didScrollRect(int dx, int dy, | 126 virtual void didScrollRect(int dx, int dy, |
127 const blink::WebRect& clipRect); | 127 const blink::WebRect& clipRect); |
128 virtual void didAutoResize(const blink::WebSize& new_size); | 128 virtual void didAutoResize(const blink::WebSize& new_size); |
129 // FIXME: To be removed as soon as chromium and blink side changes land | |
130 // didActivateCompositor with parameters is still kept in order to land | |
131 // these changes s-chromium - https://codereview.chromium.org/137893025/. | |
132 // s-blink - https://codereview.chromium.org/138523003/ | |
133 virtual void didActivateCompositor(int input_handler_identifier); | |
134 virtual void didActivateCompositor() OVERRIDE; | 129 virtual void didActivateCompositor() OVERRIDE; |
135 virtual void didDeactivateCompositor(); | 130 virtual void didDeactivateCompositor(); |
136 virtual void initializeLayerTreeView(); | 131 virtual void initializeLayerTreeView(); |
137 virtual blink::WebLayerTreeView* layerTreeView(); | 132 virtual blink::WebLayerTreeView* layerTreeView(); |
138 virtual void didBecomeReadyForAdditionalInput(); | 133 virtual void didBecomeReadyForAdditionalInput(); |
139 virtual void didCommitAndDrawCompositorFrame(); | 134 virtual void didCommitAndDrawCompositorFrame(); |
140 virtual void didCompleteSwapBuffers(); | 135 virtual void didCompleteSwapBuffers(); |
141 virtual void scheduleComposite(); | 136 virtual void scheduleComposite(); |
142 virtual void scheduleAnimation(); | 137 virtual void scheduleAnimation(); |
143 virtual void didFocus(); | 138 virtual void didFocus(); |
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 | 782 |
788 ui::MenuSourceType context_menu_source_type_; | 783 ui::MenuSourceType context_menu_source_type_; |
789 gfx::Point touch_editing_context_menu_location_; | 784 gfx::Point touch_editing_context_menu_location_; |
790 | 785 |
791 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 786 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
792 }; | 787 }; |
793 | 788 |
794 } // namespace content | 789 } // namespace content |
795 | 790 |
796 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 791 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |