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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 void didChangeCursor(const blink::WebCursorInfo&) override; | 180 void didChangeCursor(const blink::WebCursorInfo&) override; |
181 void closeWidgetSoon() override; | 181 void closeWidgetSoon() override; |
182 void show(blink::WebNavigationPolicy) override; | 182 void show(blink::WebNavigationPolicy) override; |
183 blink::WebRect windowRect() override; | 183 blink::WebRect windowRect() override; |
184 void setToolTipText(const blink::WebString& text, | 184 void setToolTipText(const blink::WebString& text, |
185 blink::WebTextDirection hint) override; | 185 blink::WebTextDirection hint) override; |
186 void setWindowRect(const blink::WebRect&) override; | 186 void setWindowRect(const blink::WebRect&) override; |
187 blink::WebRect windowResizerRect() override; | 187 blink::WebRect windowResizerRect() override; |
188 blink::WebRect rootWindowRect() override; | 188 blink::WebRect rootWindowRect() override; |
189 blink::WebScreenInfo screenInfo() override; | 189 blink::WebScreenInfo screenInfo() override; |
190 float deviceScaleFactor() override; | |
191 void resetInputMethod() override; | 190 void resetInputMethod() override; |
192 void didHandleGestureEvent(const blink::WebGestureEvent& event, | 191 void didHandleGestureEvent(const blink::WebGestureEvent& event, |
193 bool event_cancelled) override; | 192 bool event_cancelled) override; |
194 void didOverscroll(const blink::WebFloatSize& unusedDelta, | 193 void didOverscroll(const blink::WebFloatSize& unusedDelta, |
195 const blink::WebFloatSize& accumulatedRootOverScroll, | 194 const blink::WebFloatSize& accumulatedRootOverScroll, |
196 const blink::WebFloatPoint& position, | 195 const blink::WebFloatPoint& position, |
197 const blink::WebFloatSize& velocity) override; | 196 const blink::WebFloatSize& velocity) override; |
198 void showImeIfNeeded() override; | 197 void showImeIfNeeded() override; |
199 | 198 |
200 #if defined(OS_ANDROID) | 199 #if defined(OS_ANDROID) |
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 | 796 |
798 scoped_ptr<scheduler::RenderWidgetSchedulingState> | 797 scoped_ptr<scheduler::RenderWidgetSchedulingState> |
799 render_widget_scheduling_state_; | 798 render_widget_scheduling_state_; |
800 | 799 |
801 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 800 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
802 }; | 801 }; |
803 | 802 |
804 } // namespace content | 803 } // namespace content |
805 | 804 |
806 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 805 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |