| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2  * Copyright (C) 2011, 2012 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 13 matching lines...) Expand all  Loading... | 
| 24  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 
| 25  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 
| 26  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 
| 27  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 
| 28  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 
| 29  */ | 29  */ | 
| 30 | 30 | 
| 31 #include "config.h" | 31 #include "config.h" | 
| 32 #include "WebViewImpl.h" | 32 #include "WebViewImpl.h" | 
| 33 | 33 | 
| 34 #include "AXObjectCache.h" |  | 
| 35 #include "AutofillPopupMenuClient.h" | 34 #include "AutofillPopupMenuClient.h" | 
| 36 #include "BackForwardListChromium.h" | 35 #include "BackForwardListChromium.h" | 
| 37 #include "BatteryClientImpl.h" | 36 #include "BatteryClientImpl.h" | 
| 38 #include "BatteryController.h" | 37 #include "BatteryController.h" | 
| 39 #include "CSSValueKeywords.h" | 38 #include "CSSValueKeywords.h" | 
| 40 #include "Chrome.h" | 39 #include "Chrome.h" | 
| 41 #include "Color.h" | 40 #include "Color.h" | 
| 42 #include "ColorSpace.h" | 41 #include "ColorSpace.h" | 
| 43 #include "CompositionUnderlineVectorBuilder.h" | 42 #include "CompositionUnderlineVectorBuilder.h" | 
| 44 #include "ContextFeaturesClientImpl.h" | 43 #include "ContextFeaturesClientImpl.h" | 
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 135 #include "WebPagePopupImpl.h" | 134 #include "WebPagePopupImpl.h" | 
| 136 #include "WebPlugin.h" | 135 #include "WebPlugin.h" | 
| 137 #include "WebPluginAction.h" | 136 #include "WebPluginAction.h" | 
| 138 #include "WebPluginContainerImpl.h" | 137 #include "WebPluginContainerImpl.h" | 
| 139 #include "WebPopupMenuImpl.h" | 138 #include "WebPopupMenuImpl.h" | 
| 140 #include "WebRange.h" | 139 #include "WebRange.h" | 
| 141 #include "WebSettingsImpl.h" | 140 #include "WebSettingsImpl.h" | 
| 142 #include "WebTextInputInfo.h" | 141 #include "WebTextInputInfo.h" | 
| 143 #include "WebViewClient.h" | 142 #include "WebViewClient.h" | 
| 144 #include "WheelEvent.h" | 143 #include "WheelEvent.h" | 
|  | 144 #include "core/accessibility/AXObjectCache.h" | 
| 145 #include "core/loader/UniqueIdentifier.h" | 145 #include "core/loader/UniqueIdentifier.h" | 
| 146 #include "painting/ContinuousPainter.h" | 146 #include "painting/ContinuousPainter.h" | 
| 147 #include "painting/GraphicsContextBuilder.h" | 147 #include "painting/GraphicsContextBuilder.h" | 
| 148 #include "src/WebActiveGestureAnimation.h" | 148 #include "src/WebActiveGestureAnimation.h" | 
| 149 #include <public/Platform.h> | 149 #include <public/Platform.h> | 
| 150 #include <public/WebCompositorOutputSurface.h> | 150 #include <public/WebCompositorOutputSurface.h> | 
| 151 #include <public/WebCompositorSupport.h> | 151 #include <public/WebCompositorSupport.h> | 
| 152 #include <public/WebDragData.h> | 152 #include <public/WebDragData.h> | 
| 153 #include <public/WebFloatPoint.h> | 153 #include <public/WebFloatPoint.h> | 
| 154 #include <public/WebGraphicsContext3D.h> | 154 #include <public/WebGraphicsContext3D.h> | 
| (...skipping 4057 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 4212 } | 4212 } | 
| 4213 | 4213 | 
| 4214 bool WebViewImpl::shouldDisableDesktopWorkarounds() | 4214 bool WebViewImpl::shouldDisableDesktopWorkarounds() | 
| 4215 { | 4215 { | 
| 4216     ViewportArguments arguments = mainFrameImpl()->frame()->document()->viewport
      Arguments(); | 4216     ViewportArguments arguments = mainFrameImpl()->frame()->document()->viewport
      Arguments(); | 
| 4217     return arguments.width == ViewportArguments::ValueDeviceWidth || !arguments.
      userZoom | 4217     return arguments.width == ViewportArguments::ValueDeviceWidth || !arguments.
      userZoom | 
| 4218         || (arguments.minZoom == arguments.maxZoom && arguments.minZoom != Viewp
      ortArguments::ValueAuto); | 4218         || (arguments.minZoom == arguments.maxZoom && arguments.minZoom != Viewp
      ortArguments::ValueAuto); | 
| 4219 } | 4219 } | 
| 4220 | 4220 | 
| 4221 } // namespace WebKit | 4221 } // namespace WebKit | 
| OLD | NEW | 
|---|