| 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 25 matching lines...) Expand all Loading... |
| 36 #include "CSSValueKeywords.h" | 36 #include "CSSValueKeywords.h" |
| 37 #include "CompositionUnderlineVectorBuilder.h" | 37 #include "CompositionUnderlineVectorBuilder.h" |
| 38 #include "ContextFeaturesClientImpl.h" | 38 #include "ContextFeaturesClientImpl.h" |
| 39 #include "DeviceOrientationClientProxy.h" | 39 #include "DeviceOrientationClientProxy.h" |
| 40 #include "GeolocationClientProxy.h" | 40 #include "GeolocationClientProxy.h" |
| 41 #include "GraphicsLayerFactoryChromium.h" | 41 #include "GraphicsLayerFactoryChromium.h" |
| 42 #include "HTMLNames.h" | 42 #include "HTMLNames.h" |
| 43 #include "LinkHighlight.h" | 43 #include "LinkHighlight.h" |
| 44 #include "NonCompositedContentHost.h" | 44 #include "NonCompositedContentHost.h" |
| 45 #include "PageWidgetDelegate.h" | 45 #include "PageWidgetDelegate.h" |
| 46 #include "PlatformContextSkia.h" | |
| 47 #include "PrerendererClientImpl.h" | 46 #include "PrerendererClientImpl.h" |
| 48 #include "SpeechInputClientImpl.h" | 47 #include "SpeechInputClientImpl.h" |
| 49 #include "SpeechRecognitionClientProxy.h" | 48 #include "SpeechRecognitionClientProxy.h" |
| 50 #include "TextFieldDecoratorImpl.h" | 49 #include "TextFieldDecoratorImpl.h" |
| 51 #include "ValidationMessageClientImpl.h" | 50 #include "ValidationMessageClientImpl.h" |
| 52 #include "ViewportAnchor.h" | 51 #include "ViewportAnchor.h" |
| 53 #include "WebAccessibilityObject.h" | 52 #include "WebAccessibilityObject.h" |
| 54 #include "WebActiveWheelFlingParameters.h" | 53 #include "WebActiveWheelFlingParameters.h" |
| 55 #include "WebAutofillClient.h" | 54 #include "WebAutofillClient.h" |
| 56 #include "WebCompositorInputHandlerImpl.h" | 55 #include "WebCompositorInputHandlerImpl.h" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 #include "core/platform/graphics/Color.h" | 128 #include "core/platform/graphics/Color.h" |
| 130 #include "core/platform/graphics/ColorSpace.h" | 129 #include "core/platform/graphics/ColorSpace.h" |
| 131 #include "core/platform/graphics/Extensions3D.h" | 130 #include "core/platform/graphics/Extensions3D.h" |
| 132 #include "core/platform/graphics/FontDescription.h" | 131 #include "core/platform/graphics/FontDescription.h" |
| 133 #include "core/platform/graphics/GraphicsContext.h" | 132 #include "core/platform/graphics/GraphicsContext.h" |
| 134 #include "core/platform/graphics/GraphicsContext3D.h" | 133 #include "core/platform/graphics/GraphicsContext3D.h" |
| 135 #include "core/platform/graphics/Image.h" | 134 #include "core/platform/graphics/Image.h" |
| 136 #include "core/platform/graphics/ImageBuffer.h" | 135 #include "core/platform/graphics/ImageBuffer.h" |
| 137 #include "core/platform/graphics/chromium/LayerPainterChromium.h" | 136 #include "core/platform/graphics/chromium/LayerPainterChromium.h" |
| 138 #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h" | 137 #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h" |
| 138 #include "core/platform/graphics/skia/PlatformContextSkia.h" |
| 139 #include "core/platform/network/ResourceHandle.h" | 139 #include "core/platform/network/ResourceHandle.h" |
| 140 #include "core/rendering/RenderLayerCompositor.h" | 140 #include "core/rendering/RenderLayerCompositor.h" |
| 141 #include "core/rendering/RenderView.h" | 141 #include "core/rendering/RenderView.h" |
| 142 #include "core/rendering/RenderWidget.h" | 142 #include "core/rendering/RenderWidget.h" |
| 143 #include "modules/battery/BatteryController.h" | 143 #include "modules/battery/BatteryController.h" |
| 144 #include "modules/geolocation/GeolocationController.h" | 144 #include "modules/geolocation/GeolocationController.h" |
| 145 #include "painting/ContinuousPainter.h" | 145 #include "painting/ContinuousPainter.h" |
| 146 #include "painting/GraphicsContextBuilder.h" | 146 #include "painting/GraphicsContextBuilder.h" |
| 147 #include "src/WebActiveGestureAnimation.h" | 147 #include "src/WebActiveGestureAnimation.h" |
| 148 #include <public/Platform.h> | 148 #include <public/Platform.h> |
| (...skipping 4064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4213 } | 4213 } |
| 4214 | 4214 |
| 4215 bool WebViewImpl::shouldDisableDesktopWorkarounds() | 4215 bool WebViewImpl::shouldDisableDesktopWorkarounds() |
| 4216 { | 4216 { |
| 4217 ViewportArguments arguments = mainFrameImpl()->frame()->document()->viewport
Arguments(); | 4217 ViewportArguments arguments = mainFrameImpl()->frame()->document()->viewport
Arguments(); |
| 4218 return arguments.width == ViewportArguments::ValueDeviceWidth || !arguments.
userZoom | 4218 return arguments.width == ViewportArguments::ValueDeviceWidth || !arguments.
userZoom |
| 4219 || (arguments.minZoom == arguments.maxZoom && arguments.minZoom != Viewp
ortArguments::ValueAuto); | 4219 || (arguments.minZoom == arguments.maxZoom && arguments.minZoom != Viewp
ortArguments::ValueAuto); |
| 4220 } | 4220 } |
| 4221 | 4221 |
| 4222 } // namespace WebKit | 4222 } // namespace WebKit |
| OLD | NEW |