| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 , public RefCounted<WebViewImpl> | 99 , public RefCounted<WebViewImpl> |
| 100 , WTF_NON_EXPORTED_BASE(public WebGestureCurveTarget) | 100 , WTF_NON_EXPORTED_BASE(public WebGestureCurveTarget) |
| 101 , public PageWidgetEventHandler { | 101 , public PageWidgetEventHandler { |
| 102 public: | 102 public: |
| 103 static WebViewImpl* create(WebViewClient*); | 103 static WebViewImpl* create(WebViewClient*); |
| 104 static HashSet<WebViewImpl*>& allInstances(); | 104 static HashSet<WebViewImpl*>& allInstances(); |
| 105 | 105 |
| 106 // WebWidget methods: | 106 // WebWidget methods: |
| 107 void close() override; | 107 void close() override; |
| 108 WebSize size() override; | 108 WebSize size() override; |
| 109 void willStartLiveResize() override; | |
| 110 void resize(const WebSize&) override; | 109 void resize(const WebSize&) override; |
| 111 void resizeVisualViewport(const WebSize&) override; | 110 void resizeVisualViewport(const WebSize&) override; |
| 112 void willEndLiveResize() override; | |
| 113 void didEnterFullScreen() override; | 111 void didEnterFullScreen() override; |
| 114 void didExitFullScreen() override; | 112 void didExitFullScreen() override; |
| 115 | 113 |
| 116 void beginFrame(double lastFrameTimeMonotonic) override; | 114 void beginFrame(double lastFrameTimeMonotonic) override; |
| 117 | 115 |
| 118 void updateAllLifecyclePhases() override; | 116 void updateAllLifecyclePhases() override; |
| 119 void paint(WebCanvas*, const WebRect&) override; | 117 void paint(WebCanvas*, const WebRect&) override; |
| 120 #if OS(ANDROID) | 118 #if OS(ANDROID) |
| 121 void paintCompositedDeprecated(WebCanvas*, const WebRect&) override; | 119 void paintCompositedDeprecated(WebCanvas*, const WebRect&) override; |
| 122 #endif | 120 #endif |
| (...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 777 }; | 775 }; |
| 778 | 776 |
| 779 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 777 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
| 780 // We have no ways to check if the specified WebView is an instance of | 778 // We have no ways to check if the specified WebView is an instance of |
| 781 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 779 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 782 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 780 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 783 | 781 |
| 784 } // namespace blink | 782 } // namespace blink |
| 785 | 783 |
| 786 #endif | 784 #endif |
| OLD | NEW |