| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 #include "PlatformGestureEvent.h" | 81 #include "PlatformGestureEvent.h" |
| 82 #include "PlatformKeyboardEvent.h" | 82 #include "PlatformKeyboardEvent.h" |
| 83 #include "PlatformMouseEvent.h" | 83 #include "PlatformMouseEvent.h" |
| 84 #include "PlatformWheelEvent.h" | 84 #include "PlatformWheelEvent.h" |
| 85 #include "PointerLockController.h" | 85 #include "PointerLockController.h" |
| 86 #include "PopupMenuClient.h" | 86 #include "PopupMenuClient.h" |
| 87 #include "PrerendererClientImpl.h" | 87 #include "PrerendererClientImpl.h" |
| 88 #include "RenderLayerCompositor.h" | 88 #include "RenderLayerCompositor.h" |
| 89 #include "RenderView.h" | 89 #include "RenderView.h" |
| 90 #include "RenderWidget.h" | 90 #include "RenderWidget.h" |
| 91 #include "ResourceHandle.h" | |
| 92 #include "SchemeRegistry.h" | 91 #include "SchemeRegistry.h" |
| 93 #include "SecurityOrigin.h" | 92 #include "SecurityOrigin.h" |
| 94 #include "SecurityPolicy.h" | 93 #include "SecurityPolicy.h" |
| 95 #include "Settings.h" | 94 #include "Settings.h" |
| 96 #include "SpeechInputClientImpl.h" | 95 #include "SpeechInputClientImpl.h" |
| 97 #include "SpeechRecognitionClientProxy.h" | 96 #include "SpeechRecognitionClientProxy.h" |
| 98 #include "StyleResolver.h" | 97 #include "StyleResolver.h" |
| 99 #include "Text.h" | 98 #include "Text.h" |
| 100 #include "TextFieldDecoratorImpl.h" | 99 #include "TextFieldDecoratorImpl.h" |
| 101 #include "TextIterator.h" | 100 #include "TextIterator.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 #include "core/platform/graphics/Color.h" | 135 #include "core/platform/graphics/Color.h" |
| 137 #include "core/platform/graphics/ColorSpace.h" | 136 #include "core/platform/graphics/ColorSpace.h" |
| 138 #include "core/platform/graphics/Extensions3D.h" | 137 #include "core/platform/graphics/Extensions3D.h" |
| 139 #include "core/platform/graphics/FontDescription.h" | 138 #include "core/platform/graphics/FontDescription.h" |
| 140 #include "core/platform/graphics/GraphicsContext.h" | 139 #include "core/platform/graphics/GraphicsContext.h" |
| 141 #include "core/platform/graphics/GraphicsContext3D.h" | 140 #include "core/platform/graphics/GraphicsContext3D.h" |
| 142 #include "core/platform/graphics/Image.h" | 141 #include "core/platform/graphics/Image.h" |
| 143 #include "core/platform/graphics/ImageBuffer.h" | 142 #include "core/platform/graphics/ImageBuffer.h" |
| 144 #include "core/platform/graphics/chromium/LayerPainterChromium.h" | 143 #include "core/platform/graphics/chromium/LayerPainterChromium.h" |
| 145 #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h" | 144 #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h" |
| 145 #include "core/platform/network/ResourceHandle.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> |
| 155 #include <public/WebImage.h> | 155 #include <public/WebImage.h> |
| (...skipping 4053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4209 } | 4209 } |
| 4210 | 4210 |
| 4211 bool WebViewImpl::shouldDisableDesktopWorkarounds() | 4211 bool WebViewImpl::shouldDisableDesktopWorkarounds() |
| 4212 { | 4212 { |
| 4213 ViewportArguments arguments = mainFrameImpl()->frame()->document()->viewport
Arguments(); | 4213 ViewportArguments arguments = mainFrameImpl()->frame()->document()->viewport
Arguments(); |
| 4214 return arguments.width == ViewportArguments::ValueDeviceWidth || !arguments.
userZoom | 4214 return arguments.width == ViewportArguments::ValueDeviceWidth || !arguments.
userZoom |
| 4215 || (arguments.minZoom == arguments.maxZoom && arguments.minZoom != Viewp
ortArguments::ValueAuto); | 4215 || (arguments.minZoom == arguments.maxZoom && arguments.minZoom != Viewp
ortArguments::ValueAuto); |
| 4216 } | 4216 } |
| 4217 | 4217 |
| 4218 } // namespace WebKit | 4218 } // namespace WebKit |
| OLD | NEW |