| 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 bool event_cancelled) override; | 290 bool event_cancelled) override; |
| 291 void onMouseDown(const blink::WebNode& mouse_down_node) override; | 291 void onMouseDown(const blink::WebNode& mouse_down_node) override; |
| 292 void initializeLayerTreeView() override; | 292 void initializeLayerTreeView() override; |
| 293 | 293 |
| 294 // TODO(lfg): Remove once WebViewClient no longer inherits from | 294 // TODO(lfg): Remove once WebViewClient no longer inherits from |
| 295 // WebWidgetClient. | 295 // WebWidgetClient. |
| 296 bool allowsBrokenNullLayerTreeView() const override; | 296 bool allowsBrokenNullLayerTreeView() const override; |
| 297 void closeWidgetSoon() override; | 297 void closeWidgetSoon() override; |
| 298 void convertViewportToWindow(blink::WebRect* rect) override; | 298 void convertViewportToWindow(blink::WebRect* rect) override; |
| 299 void convertWindowToViewport(blink::WebFloatRect* rect) override; | 299 void convertWindowToViewport(blink::WebFloatRect* rect) override; |
| 300 void didAutoResize(const blink::WebSize& newSize) override; | |
| 301 void didInvalidateRect(const blink::WebRect& rect) override; | 300 void didInvalidateRect(const blink::WebRect& rect) override; |
| 302 void didOverscroll(const blink::WebFloatSize& overscrollDelta, | 301 void didOverscroll(const blink::WebFloatSize& overscrollDelta, |
| 303 const blink::WebFloatSize& accumulatedOverscroll, | 302 const blink::WebFloatSize& accumulatedOverscroll, |
| 304 const blink::WebFloatPoint& positionInViewport, | 303 const blink::WebFloatPoint& positionInViewport, |
| 305 const blink::WebFloatSize& velocityInViewport) override; | 304 const blink::WebFloatSize& velocityInViewport) override; |
| 306 void didUpdateTextOfFocusedElementByNonUserInput() override; | 305 void didUpdateTextOfFocusedElementByNonUserInput() override; |
| 307 void hasTouchEventHandlers(bool has_handlers) override; | 306 void hasTouchEventHandlers(bool has_handlers) override; |
| 308 blink::WebLayerTreeView* layerTreeView() override; | 307 blink::WebLayerTreeView* layerTreeView() override; |
| 309 void resetInputMethod() override; | 308 void resetInputMethod() override; |
| 310 blink::WebRect rootWindowRect() override; | 309 blink::WebRect rootWindowRect() override; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 int historyBackListCount() override; | 373 int historyBackListCount() override; |
| 375 int historyForwardListCount() override; | 374 int historyForwardListCount() override; |
| 376 blink::WebSpeechRecognizer* speechRecognizer() override; | 375 blink::WebSpeechRecognizer* speechRecognizer() override; |
| 377 void zoomLimitsChanged(double minimum_level, double maximum_level) override; | 376 void zoomLimitsChanged(double minimum_level, double maximum_level) override; |
| 378 virtual void zoomLevelChanged(); | 377 virtual void zoomLevelChanged(); |
| 379 void pageScaleFactorChanged() override; | 378 void pageScaleFactorChanged() override; |
| 380 virtual double zoomLevelToZoomFactor(double zoom_level) const; | 379 virtual double zoomLevelToZoomFactor(double zoom_level) const; |
| 381 virtual double zoomFactorToZoomLevel(double factor) const; | 380 virtual double zoomFactorToZoomLevel(double factor) const; |
| 382 void draggableRegionsChanged() override; | 381 void draggableRegionsChanged() override; |
| 383 void pageImportanceSignalsChanged() override; | 382 void pageImportanceSignalsChanged() override; |
| 383 void didAutoResize(const blink::WebSize& newSize) override; |
| 384 | 384 |
| 385 #if defined(OS_ANDROID) | 385 #if defined(OS_ANDROID) |
| 386 void scheduleContentIntent(const blink::WebURL& intent, | 386 void scheduleContentIntent(const blink::WebURL& intent, |
| 387 bool is_main_frame) override; | 387 bool is_main_frame) override; |
| 388 void cancelScheduledContentIntents() override; | 388 void cancelScheduledContentIntents() override; |
| 389 blink::WebContentDetectionResult detectContentAround( | 389 blink::WebContentDetectionResult detectContentAround( |
| 390 const blink::WebHitTestResult& touch_hit) override; | 390 const blink::WebHitTestResult& touch_hit) override; |
| 391 | 391 |
| 392 // Only used on Android since all other platforms implement | 392 // Only used on Android since all other platforms implement |
| 393 // date and time input fields using MULTIPLE_FIELDS_UI | 393 // date and time input fields using MULTIPLE_FIELDS_UI |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 938 // use the Observer interface to filter IPC messages and receive frame change | 938 // use the Observer interface to filter IPC messages and receive frame change |
| 939 // notifications. | 939 // notifications. |
| 940 // --------------------------------------------------------------------------- | 940 // --------------------------------------------------------------------------- |
| 941 | 941 |
| 942 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 942 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 943 }; | 943 }; |
| 944 | 944 |
| 945 } // namespace content | 945 } // namespace content |
| 946 | 946 |
| 947 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 947 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |