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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 bool CanUpdateLayout() override; | 264 bool CanUpdateLayout() override; |
265 | 265 |
266 // TODO(lfg): Remove once WebViewClient no longer inherits from | 266 // TODO(lfg): Remove once WebViewClient no longer inherits from |
267 // WebWidgetClient. | 267 // WebWidgetClient. |
268 void CloseWidgetSoon() override; | 268 void CloseWidgetSoon() override; |
269 void ConvertViewportToWindow(blink::WebRect* rect) override; | 269 void ConvertViewportToWindow(blink::WebRect* rect) override; |
270 void ConvertWindowToViewport(blink::WebFloatRect* rect) override; | 270 void ConvertWindowToViewport(blink::WebFloatRect* rect) override; |
271 void DidOverscroll(const blink::WebFloatSize& overscrollDelta, | 271 void DidOverscroll(const blink::WebFloatSize& overscrollDelta, |
272 const blink::WebFloatSize& accumulatedOverscroll, | 272 const blink::WebFloatSize& accumulatedOverscroll, |
273 const blink::WebFloatPoint& positionInViewport, | 273 const blink::WebFloatPoint& positionInViewport, |
274 const blink::WebFloatSize& velocityInViewport) override; | 274 const blink::WebFloatSize& velocityInViewport, |
| 275 const blink::WebScrollBoundaryBehavior& behavior) override; |
275 void HasTouchEventHandlers(bool has_handlers) override; | 276 void HasTouchEventHandlers(bool has_handlers) override; |
276 blink::WebScreenInfo GetScreenInfo() override; | 277 blink::WebScreenInfo GetScreenInfo() override; |
277 void SetToolTipText(const blink::WebString&, | 278 void SetToolTipText(const blink::WebString&, |
278 blink::WebTextDirection hint) override; | 279 blink::WebTextDirection hint) override; |
279 void SetTouchAction(cc::TouchAction touchAction) override; | 280 void SetTouchAction(cc::TouchAction touchAction) override; |
280 void ShowUnhandledTapUIIfNeeded(const blink::WebPoint& tappedPosition, | 281 void ShowUnhandledTapUIIfNeeded(const blink::WebPoint& tappedPosition, |
281 const blink::WebNode& tappedNode, | 282 const blink::WebNode& tappedNode, |
282 bool pageChanged) override; | 283 bool pageChanged) override; |
283 blink::WebWidgetClient* WidgetClient() override; | 284 blink::WebWidgetClient* WidgetClient() override; |
284 | 285 |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
829 // --------------------------------------------------------------------------- | 830 // --------------------------------------------------------------------------- |
830 | 831 |
831 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; | 832 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; |
832 | 833 |
833 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 834 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
834 }; | 835 }; |
835 | 836 |
836 } // namespace content | 837 } // namespace content |
837 | 838 |
838 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 839 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |