| 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 "Editor.h" | 52 #include "Editor.h" |
| 53 #include "EventHandler.h" | 53 #include "EventHandler.h" |
| 54 #include "FocusController.h" | 54 #include "FocusController.h" |
| 55 #include "Frame.h" | 55 #include "Frame.h" |
| 56 #include "FrameLoader.h" | 56 #include "FrameLoader.h" |
| 57 #include "FrameSelection.h" | 57 #include "FrameSelection.h" |
| 58 #include "FrameTree.h" | 58 #include "FrameTree.h" |
| 59 #include "FrameView.h" | 59 #include "FrameView.h" |
| 60 #include "GeolocationClientProxy.h" | 60 #include "GeolocationClientProxy.h" |
| 61 #include "GeolocationController.h" | 61 #include "GeolocationController.h" |
| 62 #include "GraphicsContext3DPrivate.h" | |
| 63 #include "GraphicsLayerFactoryChromium.h" | 62 #include "GraphicsLayerFactoryChromium.h" |
| 64 #include "HTMLInputElement.h" | 63 #include "HTMLInputElement.h" |
| 65 #include "HTMLMediaElement.h" | 64 #include "HTMLMediaElement.h" |
| 66 #include "HTMLNames.h" | 65 #include "HTMLNames.h" |
| 67 #include "HTMLTextAreaElement.h" | 66 #include "HTMLTextAreaElement.h" |
| 68 #include "InspectorController.h" | 67 #include "InspectorController.h" |
| 69 #include "InspectorInstrumentation.h" | 68 #include "InspectorInstrumentation.h" |
| 70 #include "KeyboardCodes.h" | |
| 71 #include "KeyboardEvent.h" | 69 #include "KeyboardEvent.h" |
| 72 #include "LinkHighlight.h" | 70 #include "LinkHighlight.h" |
| 73 #include "MIMETypeRegistry.h" | 71 #include "MIMETypeRegistry.h" |
| 74 #include "NodeRenderStyle.h" | 72 #include "NodeRenderStyle.h" |
| 75 #include "NonCompositedContentHost.h" | 73 #include "NonCompositedContentHost.h" |
| 76 #include "NotImplemented.h" | 74 #include "NotImplemented.h" |
| 77 #include "Page.h" | 75 #include "Page.h" |
| 78 #include "PageGroup.h" | 76 #include "PageGroup.h" |
| 79 #include "PageGroupLoadDeferrer.h" | 77 #include "PageGroupLoadDeferrer.h" |
| 80 #include "PagePopupClient.h" | 78 #include "PagePopupClient.h" |
| 81 #include "PageWidgetDelegate.h" | 79 #include "PageWidgetDelegate.h" |
| 82 #include "PlatformContextSkia.h" | 80 #include "PlatformContextSkia.h" |
| 83 #include "PlatformGestureEvent.h" | 81 #include "PlatformGestureEvent.h" |
| 84 #include "PlatformKeyboardEvent.h" | 82 #include "PlatformKeyboardEvent.h" |
| 85 #include "PlatformMouseEvent.h" | 83 #include "PlatformMouseEvent.h" |
| 86 #include "PlatformWheelEvent.h" | 84 #include "PlatformWheelEvent.h" |
| 87 #include "PointerLockController.h" | 85 #include "PointerLockController.h" |
| 88 #include "PopupContainer.h" | |
| 89 #include "PopupMenuClient.h" | 86 #include "PopupMenuClient.h" |
| 90 #include "PrerendererClientImpl.h" | 87 #include "PrerendererClientImpl.h" |
| 91 #include "RenderLayerCompositor.h" | 88 #include "RenderLayerCompositor.h" |
| 92 #include "RenderView.h" | 89 #include "RenderView.h" |
| 93 #include "RenderWidget.h" | 90 #include "RenderWidget.h" |
| 94 #include "ResourceHandle.h" | 91 #include "ResourceHandle.h" |
| 95 #include "SchemeRegistry.h" | 92 #include "SchemeRegistry.h" |
| 96 #include "SecurityOrigin.h" | 93 #include "SecurityOrigin.h" |
| 97 #include "SecurityPolicy.h" | 94 #include "SecurityPolicy.h" |
| 98 #include "Settings.h" | 95 #include "Settings.h" |
| 99 #include "SpeechInputClientImpl.h" | 96 #include "SpeechInputClientImpl.h" |
| 100 #include "SpeechRecognitionClientProxy.h" | 97 #include "SpeechRecognitionClientProxy.h" |
| 101 #include "StyleResolver.h" | 98 #include "StyleResolver.h" |
| 102 #include "Text.h" | 99 #include "Text.h" |
| 103 #include "TextFieldDecoratorImpl.h" | 100 #include "TextFieldDecoratorImpl.h" |
| 104 #include "TextIterator.h" | 101 #include "TextIterator.h" |
| 105 #include "Timer.h" | 102 #include "Timer.h" |
| 106 #include "TouchDisambiguation.h" | 103 #include "TouchDisambiguation.h" |
| 107 #include "TraceEvent.h" | |
| 108 #include "ValidationMessageClientImpl.h" | 104 #include "ValidationMessageClientImpl.h" |
| 109 #include "ViewportAnchor.h" | 105 #include "ViewportAnchor.h" |
| 110 #include "WebAccessibilityObject.h" | 106 #include "WebAccessibilityObject.h" |
| 111 #include "WebActiveWheelFlingParameters.h" | 107 #include "WebActiveWheelFlingParameters.h" |
| 112 #include "WebAutofillClient.h" | 108 #include "WebAutofillClient.h" |
| 113 #include "WebCompositorInputHandlerImpl.h" | 109 #include "WebCompositorInputHandlerImpl.h" |
| 114 #include "WebDevToolsAgentImpl.h" | 110 #include "WebDevToolsAgentImpl.h" |
| 115 #include "WebDevToolsAgentPrivate.h" | 111 #include "WebDevToolsAgentPrivate.h" |
| 116 #include "WebFrameImpl.h" | 112 #include "WebFrameImpl.h" |
| 117 #include "WebHelperPluginImpl.h" | 113 #include "WebHelperPluginImpl.h" |
| 118 #include "WebHitTestResult.h" | 114 #include "WebHitTestResult.h" |
| 119 #include "WebInputElement.h" | 115 #include "WebInputElement.h" |
| 120 #include "WebInputEvent.h" | 116 #include "WebInputEvent.h" |
| 121 #include "WebInputEventConversion.h" | 117 #include "WebInputEventConversion.h" |
| 122 #include "WebMediaPlayerAction.h" | 118 #include "WebMediaPlayerAction.h" |
| 123 #include "WebNode.h" | 119 #include "WebNode.h" |
| 124 #include "WebPagePopupImpl.h" | 120 #include "WebPagePopupImpl.h" |
| 125 #include "WebPlugin.h" | 121 #include "WebPlugin.h" |
| 126 #include "WebPluginAction.h" | 122 #include "WebPluginAction.h" |
| 127 #include "WebPluginContainerImpl.h" | 123 #include "WebPluginContainerImpl.h" |
| 128 #include "WebPopupMenuImpl.h" | 124 #include "WebPopupMenuImpl.h" |
| 129 #include "WebRange.h" | 125 #include "WebRange.h" |
| 130 #include "WebSettingsImpl.h" | 126 #include "WebSettingsImpl.h" |
| 131 #include "WebTextInputInfo.h" | 127 #include "WebTextInputInfo.h" |
| 132 #include "WebViewClient.h" | 128 #include "WebViewClient.h" |
| 133 #include "WheelEvent.h" | 129 #include "WheelEvent.h" |
| 134 #include "core/accessibility/AXObjectCache.h" | 130 #include "core/accessibility/AXObjectCache.h" |
| 135 #include "core/loader/UniqueIdentifier.h" | 131 #include "core/loader/UniqueIdentifier.h" |
| 132 #include "core/platform/chromium/KeyboardCodes.h" |
| 133 #include "core/platform/chromium/PopupContainer.h" |
| 134 #include "core/platform/chromium/TraceEvent.h" |
| 135 #include "core/platform/chromium/support/GraphicsContext3DPrivate.h" |
| 136 #include "core/platform/graphics/Color.h" | 136 #include "core/platform/graphics/Color.h" |
| 137 #include "core/platform/graphics/ColorSpace.h" | 137 #include "core/platform/graphics/ColorSpace.h" |
| 138 #include "core/platform/graphics/Extensions3D.h" | 138 #include "core/platform/graphics/Extensions3D.h" |
| 139 #include "core/platform/graphics/FontDescription.h" | 139 #include "core/platform/graphics/FontDescription.h" |
| 140 #include "core/platform/graphics/GraphicsContext.h" | 140 #include "core/platform/graphics/GraphicsContext.h" |
| 141 #include "core/platform/graphics/GraphicsContext3D.h" | 141 #include "core/platform/graphics/GraphicsContext3D.h" |
| 142 #include "core/platform/graphics/Image.h" | 142 #include "core/platform/graphics/Image.h" |
| 143 #include "core/platform/graphics/ImageBuffer.h" | 143 #include "core/platform/graphics/ImageBuffer.h" |
| 144 #include "core/platform/graphics/chromium/LayerPainterChromium.h" | 144 #include "core/platform/graphics/chromium/LayerPainterChromium.h" |
| 145 #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h" | 145 #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 159 #include <public/WebRect.h> | 159 #include <public/WebRect.h> |
| 160 #include <public/WebString.h> | 160 #include <public/WebString.h> |
| 161 #include <public/WebVector.h> | 161 #include <public/WebVector.h> |
| 162 #include <wtf/CurrentTime.h> | 162 #include <wtf/CurrentTime.h> |
| 163 #include <wtf/MainThread.h> | 163 #include <wtf/MainThread.h> |
| 164 #include <wtf/RefPtr.h> | 164 #include <wtf/RefPtr.h> |
| 165 #include <wtf/TemporaryChange.h> | 165 #include <wtf/TemporaryChange.h> |
| 166 #include <wtf/Uint8ClampedArray.h> | 166 #include <wtf/Uint8ClampedArray.h> |
| 167 | 167 |
| 168 #if ENABLE(DEFAULT_RENDER_THEME) | 168 #if ENABLE(DEFAULT_RENDER_THEME) |
| 169 #include "PlatformThemeChromiumDefault.h" | |
| 170 #include "RenderThemeChromiumDefault.h" | 169 #include "RenderThemeChromiumDefault.h" |
| 170 #include "core/platform/chromium/PlatformThemeChromiumDefault.h" |
| 171 #endif | 171 #endif |
| 172 | 172 |
| 173 #if OS(WINDOWS) | 173 #if OS(WINDOWS) |
| 174 #if !ENABLE(DEFAULT_RENDER_THEME) | 174 #if !ENABLE(DEFAULT_RENDER_THEME) |
| 175 #include "RenderThemeChromiumWin.h" | 175 #include "RenderThemeChromiumWin.h" |
| 176 #endif | 176 #endif |
| 177 #else | 177 #else |
| 178 #include "RenderTheme.h" | 178 #include "RenderTheme.h" |
| 179 #endif | 179 #endif |
| 180 | 180 |
| (...skipping 4028 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 |