Changeset 185742 in webkit
- Timestamp:
- Jun 19, 2015 1:22:09 AM (9 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r185663 r185742 1 2015-06-19 Csaba Osztrogonác <ossy@webkit.org> 2 3 [WK2] Fix unused-private-field warning in WebProcess/Plugins/PluginView.<h|cpp> 4 https://bugs.webkit.org/show_bug.cgi?id=145252 5 6 Reviewed by Tim Horton. 7 8 * wtf/FeatureDefines.h: Moved the definition of ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC 9 here from Source/WebKit2/WebProcess/WebPage/WebPage.h 10 1 11 2015-06-17 Andreas Kling <akling@apple.com> 2 12 -
trunk/Source/WTF/wtf/FeatureDefines.h
r184928 r185742 167 167 #endif 168 168 169 #if !defined(ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC) 170 #define ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC 1 171 #endif 172 169 173 #endif /* PLATFORM(IOS) */ 170 174 … … 245 249 #if !defined(ENABLE_FILE_REPLACEMENT) 246 250 #define ENABLE_FILE_REPLACEMENT 1 251 #endif 252 253 #if !defined(ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC) 254 #define ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC 1 247 255 #endif 248 256 -
trunk/Source/WebKit2/ChangeLog
r185736 r185742 1 2015-06-19 Csaba Osztrogonác <ossy@webkit.org> 2 3 [WK2] Fix unused-private-field warning in WebProcess/Plugins/PluginView.<h|cpp> 4 https://bugs.webkit.org/show_bug.cgi?id=145252 5 6 Reviewed by Tim Horton. 7 8 * WebProcess/Plugins/PluginView.cpp: 9 (WebKit::PluginView::PluginView): Added the necessary ifdef guard. 10 * WebProcess/Plugins/PluginView.h: Added the necessary ifdef guard. 11 * WebProcess/WebPage/WebPage.h: Moved the definition of ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC to WTF. 12 1 13 2015-06-18 Carlos Garcia Campos <cgarcia@igalia.com> 2 14 -
trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp
r185677 r185742 288 288 , m_isBeingDestroyed(false) 289 289 , m_pluginProcessHasCrashed(false) 290 #if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC) 290 291 , m_didPlugInStartOffScreen(false) 292 #endif 291 293 , m_pendingURLRequestsTimer(RunLoop::main(), this, &PluginView::pendingURLRequestsTimerFired) 292 294 #if ENABLE(NETSCAPE_PLUGIN_API) … … 295 297 , m_manualStreamState(StreamStateInitial) 296 298 , m_pluginSnapshotTimer(*this, &PluginView::pluginSnapshotTimerFired, pluginSnapshotTimerDelay) 299 #if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC) || PLATFORM(COCOA) 297 300 , m_countSnapshotRetries(0) 301 #endif 298 302 , m_didReceiveUserInteraction(false) 299 303 , m_pageScaleFactor(1) -
trunk/Source/WebKit2/WebProcess/Plugins/PluginView.h
r185677 r185742 245 245 WebPage* m_webPage; 246 246 Plugin::Parameters m_parameters; 247 247 248 248 bool m_isInitialized; 249 249 bool m_isWaitingForSynchronousInitialization; … … 251 251 bool m_isBeingDestroyed; 252 252 bool m_pluginProcessHasCrashed; 253 254 #if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC) 253 255 bool m_didPlugInStartOffScreen; 256 #endif 254 257 255 258 // Pending URLRequests that the plug-in has made. … … 282 285 WebCore::ResourceError m_manualStreamError; 283 286 RefPtr<WebCore::SharedBuffer> m_manualStreamData; 284 287 285 288 // This snapshot is used to avoid side effects should the plugin run JS during painting. 286 289 RefPtr<ShareableBitmap> m_transientPaintingSnapshot; 287 290 // This timer is used when plugin snapshotting is enabled, to capture a plugin placeholder. 288 291 WebCore::DeferrableOneShotTimer m_pluginSnapshotTimer; 292 #if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC) || PLATFORM(COCOA) 289 293 unsigned m_countSnapshotRetries; 294 #endif 290 295 bool m_didReceiveUserInteraction; 291 296 -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h
r185563 r185742 105 105 OBJC_CLASS NSObject; 106 106 OBJC_CLASS WKAccessibilityWebPageObject; 107 108 #define ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC 1109 107 #endif 110 108
Note: See TracChangeset
for help on using the changeset viewer.