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 21 matching lines...) Expand all Loading... |
32 #include "WebViewImpl.h" | 32 #include "WebViewImpl.h" |
33 | 33 |
34 #include "AutofillPopupMenuClient.h" | 34 #include "AutofillPopupMenuClient.h" |
35 #include "BackForwardListChromium.h" | 35 #include "BackForwardListChromium.h" |
36 #include "BatteryClientImpl.h" | 36 #include "BatteryClientImpl.h" |
37 #include "BatteryController.h" | 37 #include "BatteryController.h" |
38 #include "CSSValueKeywords.h" | 38 #include "CSSValueKeywords.h" |
39 #include "CompositionUnderlineVectorBuilder.h" | 39 #include "CompositionUnderlineVectorBuilder.h" |
40 #include "ContextFeaturesClientImpl.h" | 40 #include "ContextFeaturesClientImpl.h" |
41 #include "DeviceOrientationClientProxy.h" | 41 #include "DeviceOrientationClientProxy.h" |
42 #include "Document.h" | |
43 #include "GeolocationClientProxy.h" | 42 #include "GeolocationClientProxy.h" |
44 #include "GeolocationController.h" | 43 #include "GeolocationController.h" |
45 #include "GraphicsLayerFactoryChromium.h" | 44 #include "GraphicsLayerFactoryChromium.h" |
46 #include "HTMLInputElement.h" | 45 #include "HTMLInputElement.h" |
47 #include "HTMLMediaElement.h" | 46 #include "HTMLMediaElement.h" |
48 #include "HTMLNames.h" | 47 #include "HTMLNames.h" |
49 #include "HTMLTextAreaElement.h" | 48 #include "HTMLTextAreaElement.h" |
50 #include "InspectorController.h" | 49 #include "InspectorController.h" |
51 #include "InspectorInstrumentation.h" | 50 #include "InspectorInstrumentation.h" |
52 #include "KeyboardEvent.h" | |
53 #include "LinkHighlight.h" | 51 #include "LinkHighlight.h" |
54 #include "NodeRenderStyle.h" | |
55 #include "NonCompositedContentHost.h" | 52 #include "NonCompositedContentHost.h" |
56 #include "PageWidgetDelegate.h" | 53 #include "PageWidgetDelegate.h" |
57 #include "PlatformContextSkia.h" | 54 #include "PlatformContextSkia.h" |
58 #include "PrerendererClientImpl.h" | 55 #include "PrerendererClientImpl.h" |
59 #include "SpeechInputClientImpl.h" | 56 #include "SpeechInputClientImpl.h" |
60 #include "SpeechRecognitionClientProxy.h" | 57 #include "SpeechRecognitionClientProxy.h" |
61 #include "Text.h" | |
62 #include "TextFieldDecoratorImpl.h" | 58 #include "TextFieldDecoratorImpl.h" |
63 #include "ValidationMessageClientImpl.h" | 59 #include "ValidationMessageClientImpl.h" |
64 #include "ViewportAnchor.h" | 60 #include "ViewportAnchor.h" |
65 #include "WebAccessibilityObject.h" | 61 #include "WebAccessibilityObject.h" |
66 #include "WebActiveWheelFlingParameters.h" | 62 #include "WebActiveWheelFlingParameters.h" |
67 #include "WebAutofillClient.h" | 63 #include "WebAutofillClient.h" |
68 #include "WebCompositorInputHandlerImpl.h" | 64 #include "WebCompositorInputHandlerImpl.h" |
69 #include "WebDevToolsAgentImpl.h" | 65 #include "WebDevToolsAgentImpl.h" |
70 #include "WebDevToolsAgentPrivate.h" | 66 #include "WebDevToolsAgentPrivate.h" |
71 #include "WebFrameImpl.h" | 67 #include "WebFrameImpl.h" |
72 #include "WebHelperPluginImpl.h" | 68 #include "WebHelperPluginImpl.h" |
73 #include "WebHitTestResult.h" | 69 #include "WebHitTestResult.h" |
74 #include "WebInputElement.h" | 70 #include "WebInputElement.h" |
75 #include "WebInputEvent.h" | 71 #include "WebInputEvent.h" |
76 #include "WebInputEventConversion.h" | 72 #include "WebInputEventConversion.h" |
77 #include "WebMediaPlayerAction.h" | 73 #include "WebMediaPlayerAction.h" |
78 #include "WebNode.h" | 74 #include "WebNode.h" |
79 #include "WebPagePopupImpl.h" | 75 #include "WebPagePopupImpl.h" |
80 #include "WebPlugin.h" | 76 #include "WebPlugin.h" |
81 #include "WebPluginAction.h" | 77 #include "WebPluginAction.h" |
82 #include "WebPluginContainerImpl.h" | 78 #include "WebPluginContainerImpl.h" |
83 #include "WebPopupMenuImpl.h" | 79 #include "WebPopupMenuImpl.h" |
84 #include "WebRange.h" | 80 #include "WebRange.h" |
85 #include "WebSettingsImpl.h" | 81 #include "WebSettingsImpl.h" |
86 #include "WebTextInputInfo.h" | 82 #include "WebTextInputInfo.h" |
87 #include "WebViewClient.h" | 83 #include "WebViewClient.h" |
88 #include "WheelEvent.h" | |
89 #include "core/accessibility/AXObjectCache.h" | 84 #include "core/accessibility/AXObjectCache.h" |
90 #include "core/css/StyleResolver.h" | 85 #include "core/css/StyleResolver.h" |
| 86 #include "core/dom/Document.h" |
| 87 #include "core/dom/KeyboardEvent.h" |
| 88 #include "core/dom/NodeRenderStyle.h" |
| 89 #include "core/dom/Text.h" |
| 90 #include "core/dom/WheelEvent.h" |
91 #include "core/editing/Editor.h" | 91 #include "core/editing/Editor.h" |
92 #include "core/editing/FrameSelection.h" | 92 #include "core/editing/FrameSelection.h" |
93 #include "core/editing/TextIterator.h" | 93 #include "core/editing/TextIterator.h" |
94 #include "core/loader/DocumentLoader.h" | 94 #include "core/loader/DocumentLoader.h" |
95 #include "core/loader/FrameLoader.h" | 95 #include "core/loader/FrameLoader.h" |
96 #include "core/loader/UniqueIdentifier.h" | 96 #include "core/loader/UniqueIdentifier.h" |
97 #include "core/page/Chrome.h" | 97 #include "core/page/Chrome.h" |
98 #include "core/page/ContextMenuController.h" | 98 #include "core/page/ContextMenuController.h" |
99 #include "core/page/DragController.h" | 99 #include "core/page/DragController.h" |
100 #include "core/page/DragSession.h" | 100 #include "core/page/DragSession.h" |
(...skipping 4112 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 |