| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 , public PageWidgetEventHandler { | 101 , public PageWidgetEventHandler { |
| 102 public: | 102 public: |
| 103 static WebViewImpl* create(WebViewClient*, WebPageVisibilityState); | 103 static WebViewImpl* create(WebViewClient*, WebPageVisibilityState); |
| 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 resize(const WebSize&) override; | 109 void resize(const WebSize&) override; |
| 110 void resizeVisualViewport(const WebSize&) override; | 110 void resizeVisualViewport(const WebSize&) override; |
| 111 void didEnterFullScreen() override; | 111 void didEnterFullscreen() override; |
| 112 void didExitFullScreen() override; | 112 void didExitFullscreen() override; |
| 113 | 113 |
| 114 void beginFrame(double lastFrameTimeMonotonic) override; | 114 void beginFrame(double lastFrameTimeMonotonic) override; |
| 115 | 115 |
| 116 void updateAllLifecyclePhases() override; | 116 void updateAllLifecyclePhases() override; |
| 117 void paint(WebCanvas*, const WebRect&) override; | 117 void paint(WebCanvas*, const WebRect&) override; |
| 118 #if OS(ANDROID) | 118 #if OS(ANDROID) |
| 119 void paintIgnoringCompositing(WebCanvas*, const WebRect&) override; | 119 void paintIgnoringCompositing(WebCanvas*, const WebRect&) override; |
| 120 #endif | 120 #endif |
| 121 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; | 121 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; |
| 122 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri
de; | 122 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri
de; |
| (...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 bool m_overrideCompositorVisibility; | 772 bool m_overrideCompositorVisibility; |
| 773 }; | 773 }; |
| 774 | 774 |
| 775 // We have no ways to check if the specified WebView is an instance of | 775 // We have no ways to check if the specified WebView is an instance of |
| 776 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 776 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 777 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 777 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 778 | 778 |
| 779 } // namespace blink | 779 } // namespace blink |
| 780 | 780 |
| 781 #endif | 781 #endif |
| OLD | NEW |