| 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_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 // Most methods are handled by RenderWidget. | 291 // Most methods are handled by RenderWidget. |
| 292 void show(blink::WebNavigationPolicy policy) override; | 292 void show(blink::WebNavigationPolicy policy) override; |
| 293 void didHandleGestureEvent(const blink::WebGestureEvent& event, | 293 void didHandleGestureEvent(const blink::WebGestureEvent& event, |
| 294 bool event_cancelled) override; | 294 bool event_cancelled) override; |
| 295 void onMouseDown(const blink::WebNode& mouse_down_node) override; | 295 void onMouseDown(const blink::WebNode& mouse_down_node) override; |
| 296 void initializeLayerTreeView() override; | 296 void initializeLayerTreeView() override; |
| 297 | 297 |
| 298 // TODO(lfg): Remove once WebViewClient no longer inherits from | 298 // TODO(lfg): Remove once WebViewClient no longer inherits from |
| 299 // WebWidgetClient. | 299 // WebWidgetClient. |
| 300 void closeWidgetSoon() override; | 300 void closeWidgetSoon() override; |
| 301 void convertViewportToWindow(blink::WebRect* rect) override; | |
| 302 void convertWindowToViewport(blink::WebFloatRect* rect) override; | |
| 303 void didOverscroll(const blink::WebFloatSize& overscrollDelta, | 301 void didOverscroll(const blink::WebFloatSize& overscrollDelta, |
| 304 const blink::WebFloatSize& accumulatedOverscroll, | 302 const blink::WebFloatSize& accumulatedOverscroll, |
| 305 const blink::WebFloatPoint& positionInViewport, | 303 const blink::WebFloatPoint& positionInViewport, |
| 306 const blink::WebFloatSize& velocityInViewport) override; | 304 const blink::WebFloatSize& velocityInViewport) override; |
| 307 void hasTouchEventHandlers(bool has_handlers) override; | 305 void hasTouchEventHandlers(bool has_handlers) override; |
| 308 void resetInputMethod() override; | 306 void resetInputMethod() override; |
| 309 blink::WebScreenInfo screenInfo() override; | 307 blink::WebScreenInfo screenInfo() override; |
| 310 void setToolTipText(const blink::WebString&, | 308 void setToolTipText(const blink::WebString&, |
| 311 blink::WebTextDirection hint) override; | 309 blink::WebTextDirection hint) override; |
| 312 void setTouchAction(blink::WebTouchAction touchAction) override; | 310 void setTouchAction(blink::WebTouchAction touchAction) override; |
| (...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 // use the Observer interface to filter IPC messages and receive frame change | 913 // use the Observer interface to filter IPC messages and receive frame change |
| 916 // notifications. | 914 // notifications. |
| 917 // --------------------------------------------------------------------------- | 915 // --------------------------------------------------------------------------- |
| 918 | 916 |
| 919 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 917 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 920 }; | 918 }; |
| 921 | 919 |
| 922 } // namespace content | 920 } // namespace content |
| 923 | 921 |
| 924 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 922 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |