| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 116 |
| 117 void UpdateAllLifecyclePhases() override; | 117 void UpdateAllLifecyclePhases() override; |
| 118 void Paint(WebCanvas*, const WebRect&) override; | 118 void Paint(WebCanvas*, const WebRect&) override; |
| 119 #if OS(ANDROID) | 119 #if OS(ANDROID) |
| 120 void PaintIgnoringCompositing(WebCanvas*, const WebRect&) override; | 120 void PaintIgnoringCompositing(WebCanvas*, const WebRect&) override; |
| 121 #endif | 121 #endif |
| 122 void LayoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; | 122 void LayoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; |
| 123 void CompositeAndReadbackAsync( | 123 void CompositeAndReadbackAsync( |
| 124 WebCompositeAndReadbackAsyncCallback*) override; | 124 WebCompositeAndReadbackAsyncCallback*) override; |
| 125 void ThemeChanged() override; | 125 void ThemeChanged() override; |
| 126 WebFrame* HitTestFrameAt(const WebFloatPoint&) override; |
| 126 WebInputEventResult HandleInputEvent(const WebCoalescedInputEvent&) override; | 127 WebInputEventResult HandleInputEvent(const WebCoalescedInputEvent&) override; |
| 127 void SetCursorVisibilityState(bool is_visible) override; | 128 void SetCursorVisibilityState(bool is_visible) override; |
| 128 bool HasTouchEventHandlersAt(const WebPoint&) override; | 129 bool HasTouchEventHandlersAt(const WebPoint&) override; |
| 129 | 130 |
| 130 void ApplyViewportDeltas(const WebFloatSize& visual_viewport_delta, | 131 void ApplyViewportDeltas(const WebFloatSize& visual_viewport_delta, |
| 131 const WebFloatSize& layout_viewport_delta, | 132 const WebFloatSize& layout_viewport_delta, |
| 132 const WebFloatSize& elastic_overscroll_delta, | 133 const WebFloatSize& elastic_overscroll_delta, |
| 133 float page_scale_delta, | 134 float page_scale_delta, |
| 134 float browser_controls_shown_ratio_delta) override; | 135 float browser_controls_shown_ratio_delta) override; |
| 135 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel, | 136 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel, |
| (...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; | 730 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; |
| 730 }; | 731 }; |
| 731 | 732 |
| 732 // We have no ways to check if the specified WebView is an instance of | 733 // We have no ways to check if the specified WebView is an instance of |
| 733 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 734 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 734 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 735 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 735 | 736 |
| 736 } // namespace blink | 737 } // namespace blink |
| 737 | 738 |
| 738 #endif | 739 #endif |
| OLD | NEW |