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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 }; | 123 }; |
124 | 124 |
125 // WebWidget methods: | 125 // WebWidget methods: |
126 void close() override; | 126 void close() override; |
127 WebSize size() override; | 127 WebSize size() override; |
128 void resize(const WebSize&) override; | 128 void resize(const WebSize&) override; |
129 void resizeVisualViewport(const WebSize&) override; | 129 void resizeVisualViewport(const WebSize&) override; |
130 void didEnterFullscreen() override; | 130 void didEnterFullscreen() override; |
131 void didExitFullscreen() override; | 131 void didExitFullscreen() override; |
132 | 132 |
| 133 void setSuppressFrameRequestsWorkaroundFor704763Only(bool) override; |
133 void beginFrame(double lastFrameTimeMonotonic) override; | 134 void beginFrame(double lastFrameTimeMonotonic) override; |
134 | 135 |
135 void updateAllLifecyclePhases() override; | 136 void updateAllLifecyclePhases() override; |
136 void paint(WebCanvas*, const WebRect&) override; | 137 void paint(WebCanvas*, const WebRect&) override; |
137 #if OS(ANDROID) | 138 #if OS(ANDROID) |
138 void paintIgnoringCompositing(WebCanvas*, const WebRect&) override; | 139 void paintIgnoringCompositing(WebCanvas*, const WebRect&) override; |
139 #endif | 140 #endif |
140 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; | 141 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; |
141 void compositeAndReadbackAsync( | 142 void compositeAndReadbackAsync( |
142 WebCompositeAndReadbackAsyncCallback*) override; | 143 WebCompositeAndReadbackAsyncCallback*) override; |
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 752 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
752 }; | 753 }; |
753 | 754 |
754 // We have no ways to check if the specified WebView is an instance of | 755 // We have no ways to check if the specified WebView is an instance of |
755 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 756 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
756 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 757 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
757 | 758 |
758 } // namespace blink | 759 } // namespace blink |
759 | 760 |
760 #endif | 761 #endif |
OLD | NEW |