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