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