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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 #include "CSSValueKeywords.h" | 52 #include "CSSValueKeywords.h" |
53 #include "CompositionUnderlineVectorBuilder.h" | 53 #include "CompositionUnderlineVectorBuilder.h" |
54 #include "ContextFeaturesClientImpl.h" | 54 #include "ContextFeaturesClientImpl.h" |
55 #include "DeviceOrientationClientProxy.h" | 55 #include "DeviceOrientationClientProxy.h" |
56 #include "GeolocationClientProxy.h" | 56 #include "GeolocationClientProxy.h" |
57 #include "GraphicsLayerFactoryChromium.h" | 57 #include "GraphicsLayerFactoryChromium.h" |
58 #include "HTMLNames.h" | 58 #include "HTMLNames.h" |
59 #include "LinkHighlight.h" | 59 #include "LinkHighlight.h" |
60 #include "NonCompositedContentHost.h" | 60 #include "NonCompositedContentHost.h" |
61 #include "PageWidgetDelegate.h" | 61 #include "PageWidgetDelegate.h" |
| 62 #include "PopupContainer.h" |
62 #include "PrerendererClientImpl.h" | 63 #include "PrerendererClientImpl.h" |
63 #include "SpeechInputClientImpl.h" | 64 #include "SpeechInputClientImpl.h" |
64 #include "SpeechRecognitionClientProxy.h" | 65 #include "SpeechRecognitionClientProxy.h" |
65 #include "TextFieldDecoratorImpl.h" | 66 #include "TextFieldDecoratorImpl.h" |
66 #include "ValidationMessageClientImpl.h" | 67 #include "ValidationMessageClientImpl.h" |
67 #include "ViewportAnchor.h" | 68 #include "ViewportAnchor.h" |
68 #include "WebAccessibilityObject.h" | 69 #include "WebAccessibilityObject.h" |
69 #include "WebActiveWheelFlingParameters.h" | 70 #include "WebActiveWheelFlingParameters.h" |
70 #include "WebAutofillClient.h" | 71 #include "WebAutofillClient.h" |
71 #include "WebDevToolsAgentImpl.h" | 72 #include "WebDevToolsAgentImpl.h" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 #include "core/platform/DragData.h" | 129 #include "core/platform/DragData.h" |
129 #include "core/platform/MIMETypeRegistry.h" | 130 #include "core/platform/MIMETypeRegistry.h" |
130 #include "core/platform/NotImplemented.h" | 131 #include "core/platform/NotImplemented.h" |
131 #include "core/platform/PlatformGestureEvent.h" | 132 #include "core/platform/PlatformGestureEvent.h" |
132 #include "core/platform/PlatformKeyboardEvent.h" | 133 #include "core/platform/PlatformKeyboardEvent.h" |
133 #include "core/platform/PlatformMouseEvent.h" | 134 #include "core/platform/PlatformMouseEvent.h" |
134 #include "core/platform/PlatformWheelEvent.h" | 135 #include "core/platform/PlatformWheelEvent.h" |
135 #include "core/platform/PopupMenuClient.h" | 136 #include "core/platform/PopupMenuClient.h" |
136 #include "core/platform/Timer.h" | 137 #include "core/platform/Timer.h" |
137 #include "core/platform/chromium/KeyboardCodes.h" | 138 #include "core/platform/chromium/KeyboardCodes.h" |
138 #include "core/platform/chromium/PopupContainer.h" | |
139 #include "core/platform/chromium/TraceEvent.h" | 139 #include "core/platform/chromium/TraceEvent.h" |
140 #include "core/platform/chromium/support/WebActiveGestureAnimation.h" | 140 #include "core/platform/chromium/support/WebActiveGestureAnimation.h" |
141 #include "core/platform/graphics/Color.h" | 141 #include "core/platform/graphics/Color.h" |
142 #include "core/platform/graphics/ColorSpace.h" | 142 #include "core/platform/graphics/ColorSpace.h" |
143 #include "core/platform/graphics/Extensions3D.h" | 143 #include "core/platform/graphics/Extensions3D.h" |
144 #include "core/platform/graphics/FontDescription.h" | 144 #include "core/platform/graphics/FontDescription.h" |
145 #include "core/platform/graphics/GraphicsContext.h" | 145 #include "core/platform/graphics/GraphicsContext.h" |
146 #include "core/platform/graphics/GraphicsContext3D.h" | 146 #include "core/platform/graphics/GraphicsContext3D.h" |
147 #include "core/platform/graphics/Image.h" | 147 #include "core/platform/graphics/Image.h" |
148 #include "core/platform/graphics/ImageBuffer.h" | 148 #include "core/platform/graphics/ImageBuffer.h" |
(...skipping 3990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4139 } | 4139 } |
4140 | 4140 |
4141 bool WebViewImpl::shouldDisableDesktopWorkarounds() | 4141 bool WebViewImpl::shouldDisableDesktopWorkarounds() |
4142 { | 4142 { |
4143 ViewportArguments arguments = mainFrameImpl()->frame()->document()->viewport
Arguments(); | 4143 ViewportArguments arguments = mainFrameImpl()->frame()->document()->viewport
Arguments(); |
4144 return arguments.width == ViewportArguments::ValueDeviceWidth || !arguments.
userZoom | 4144 return arguments.width == ViewportArguments::ValueDeviceWidth || !arguments.
userZoom |
4145 || (arguments.minZoom == arguments.maxZoom && arguments.minZoom != Viewp
ortArguments::ValueAuto); | 4145 || (arguments.minZoom == arguments.maxZoom && arguments.minZoom != Viewp
ortArguments::ValueAuto); |
4146 } | 4146 } |
4147 | 4147 |
4148 } // namespace WebKit | 4148 } // namespace WebKit |
OLD | NEW |