| 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 blink::WebRect windowRect() override; | 250 blink::WebRect windowRect() override; |
| 251 void setToolTipText(const blink::WebString& text, | 251 void setToolTipText(const blink::WebString& text, |
| 252 blink::WebTextDirection hint) override; | 252 blink::WebTextDirection hint) override; |
| 253 void setWindowRect(const blink::WebRect&) override; | 253 void setWindowRect(const blink::WebRect&) override; |
| 254 blink::WebRect windowResizerRect() override; | 254 blink::WebRect windowResizerRect() override; |
| 255 blink::WebRect rootWindowRect() override; | 255 blink::WebRect rootWindowRect() override; |
| 256 blink::WebScreenInfo screenInfo() override; | 256 blink::WebScreenInfo screenInfo() override; |
| 257 void resetInputMethod() override; | 257 void resetInputMethod() override; |
| 258 void didHandleGestureEvent(const blink::WebGestureEvent& event, | 258 void didHandleGestureEvent(const blink::WebGestureEvent& event, |
| 259 bool event_cancelled) override; | 259 bool event_cancelled) override; |
| 260 void didOverscroll(const blink::WebFloatSize& unusedDelta, | 260 void didOverscroll(const blink::WebFloatSize& overscrollDelta, |
| 261 const blink::WebFloatSize& accumulatedRootOverScroll, | 261 const blink::WebFloatSize& accumulatedOverscroll, |
| 262 const blink::WebFloatPoint& position, | 262 const blink::WebFloatPoint& position, |
| 263 const blink::WebFloatSize& velocity) override; | 263 const blink::WebFloatSize& velocity) override; |
| 264 void showImeIfNeeded() override; | 264 void showImeIfNeeded() override; |
| 265 void convertViewportToWindow(blink::WebRect* rect) override; | 265 void convertViewportToWindow(blink::WebRect* rect) override; |
| 266 void convertWindowToViewport(blink::WebFloatRect* rect) override; | 266 void convertWindowToViewport(blink::WebFloatRect* rect) override; |
| 267 | 267 |
| 268 // Override point to obtain that the current input method state and caret | 268 // Override point to obtain that the current input method state and caret |
| 269 // position. | 269 // position. |
| 270 virtual ui::TextInputType GetTextInputType(); | 270 virtual ui::TextInputType GetTextInputType(); |
| 271 virtual ui::TextInputType WebKitToUiTextInputType( | 271 virtual ui::TextInputType WebKitToUiTextInputType( |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 773 private: | 773 private: |
| 774 // When emulated, this returns original device scale factor. | 774 // When emulated, this returns original device scale factor. |
| 775 float GetOriginalDeviceScaleFactor() const; | 775 float GetOriginalDeviceScaleFactor() const; |
| 776 | 776 |
| 777 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 777 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 778 }; | 778 }; |
| 779 | 779 |
| 780 } // namespace content | 780 } // namespace content |
| 781 | 781 |
| 782 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 782 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |