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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 bool CanUpdateLayout() override; | 261 bool CanUpdateLayout() override; |
262 | 262 |
263 // TODO(lfg): Remove once WebViewClient no longer inherits from | 263 // TODO(lfg): Remove once WebViewClient no longer inherits from |
264 // WebWidgetClient. | 264 // WebWidgetClient. |
265 void CloseWidgetSoon() override; | 265 void CloseWidgetSoon() override; |
266 void ConvertViewportToWindow(blink::WebRect* rect) override; | 266 void ConvertViewportToWindow(blink::WebRect* rect) override; |
267 void ConvertWindowToViewport(blink::WebFloatRect* rect) override; | 267 void ConvertWindowToViewport(blink::WebFloatRect* rect) override; |
268 void DidOverscroll(const blink::WebFloatSize& overscrollDelta, | 268 void DidOverscroll(const blink::WebFloatSize& overscrollDelta, |
269 const blink::WebFloatSize& accumulatedOverscroll, | 269 const blink::WebFloatSize& accumulatedOverscroll, |
270 const blink::WebFloatPoint& positionInViewport, | 270 const blink::WebFloatPoint& positionInViewport, |
271 const blink::WebFloatSize& velocityInViewport) override; | 271 const blink::WebFloatSize& velocityInViewport, |
| 272 const blink::WebScrollBoundaryBehavior& behavior) override; |
272 void HasTouchEventHandlers(bool has_handlers) override; | 273 void HasTouchEventHandlers(bool has_handlers) override; |
273 blink::WebScreenInfo GetScreenInfo() override; | 274 blink::WebScreenInfo GetScreenInfo() override; |
274 void SetToolTipText(const blink::WebString&, | 275 void SetToolTipText(const blink::WebString&, |
275 blink::WebTextDirection hint) override; | 276 blink::WebTextDirection hint) override; |
276 void SetTouchAction(cc::TouchAction touchAction) override; | 277 void SetTouchAction(cc::TouchAction touchAction) override; |
277 void ShowUnhandledTapUIIfNeeded(const blink::WebPoint& tappedPosition, | 278 void ShowUnhandledTapUIIfNeeded(const blink::WebPoint& tappedPosition, |
278 const blink::WebNode& tappedNode, | 279 const blink::WebNode& tappedNode, |
279 bool pageChanged) override; | 280 bool pageChanged) override; |
280 blink::WebWidgetClient* WidgetClient() override; | 281 blink::WebWidgetClient* WidgetClient() override; |
281 | 282 |
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 // --------------------------------------------------------------------------- | 815 // --------------------------------------------------------------------------- |
815 | 816 |
816 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; | 817 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; |
817 | 818 |
818 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 819 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
819 }; | 820 }; |
820 | 821 |
821 } // namespace content | 822 } // namespace content |
822 | 823 |
823 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 824 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |