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( | 275 void ShowUnhandledTapUIIfNeeded( |
275 const blink::WebTappedInfo& tappedInfo) override; | 276 const blink::WebTappedInfo& tappedInfo) override; |
276 blink::WebWidgetClient* WidgetClient() override; | 277 blink::WebWidgetClient* WidgetClient() override; |
277 | 278 |
278 // blink::WebViewClient implementation -------------------------------------- | 279 // blink::WebViewClient implementation -------------------------------------- |
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
811 // --------------------------------------------------------------------------- | 812 // --------------------------------------------------------------------------- |
812 | 813 |
813 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; | 814 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; |
814 | 815 |
815 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 816 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
816 }; | 817 }; |
817 | 818 |
818 } // namespace content | 819 } // namespace content |
819 | 820 |
820 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 821 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |