| 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 "BatteryClientImpl.h" | 35 #include "BatteryClientImpl.h" |
| 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 "HTMLInputElement.h" | |
| 43 #include "HTMLMediaElement.h" | |
| 44 #include "HTMLNames.h" | 42 #include "HTMLNames.h" |
| 45 #include "HTMLTextAreaElement.h" | |
| 46 #include "LinkHighlight.h" | 43 #include "LinkHighlight.h" |
| 47 #include "NonCompositedContentHost.h" | 44 #include "NonCompositedContentHost.h" |
| 48 #include "PageWidgetDelegate.h" | 45 #include "PageWidgetDelegate.h" |
| 49 #include "PlatformContextSkia.h" | 46 #include "PlatformContextSkia.h" |
| 50 #include "PrerendererClientImpl.h" | 47 #include "PrerendererClientImpl.h" |
| 51 #include "SpeechInputClientImpl.h" | 48 #include "SpeechInputClientImpl.h" |
| 52 #include "SpeechRecognitionClientProxy.h" | 49 #include "SpeechRecognitionClientProxy.h" |
| 53 #include "TextFieldDecoratorImpl.h" | 50 #include "TextFieldDecoratorImpl.h" |
| 54 #include "ValidationMessageClientImpl.h" | 51 #include "ValidationMessageClientImpl.h" |
| 55 #include "ViewportAnchor.h" | 52 #include "ViewportAnchor.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 79 #include "core/accessibility/AXObjectCache.h" | 76 #include "core/accessibility/AXObjectCache.h" |
| 80 #include "core/css/StyleResolver.h" | 77 #include "core/css/StyleResolver.h" |
| 81 #include "core/dom/Document.h" | 78 #include "core/dom/Document.h" |
| 82 #include "core/dom/KeyboardEvent.h" | 79 #include "core/dom/KeyboardEvent.h" |
| 83 #include "core/dom/NodeRenderStyle.h" | 80 #include "core/dom/NodeRenderStyle.h" |
| 84 #include "core/dom/Text.h" | 81 #include "core/dom/Text.h" |
| 85 #include "core/dom/WheelEvent.h" | 82 #include "core/dom/WheelEvent.h" |
| 86 #include "core/editing/Editor.h" | 83 #include "core/editing/Editor.h" |
| 87 #include "core/editing/FrameSelection.h" | 84 #include "core/editing/FrameSelection.h" |
| 88 #include "core/editing/TextIterator.h" | 85 #include "core/editing/TextIterator.h" |
| 86 #include "core/html/HTMLInputElement.h" |
| 87 #include "core/html/HTMLMediaElement.h" |
| 88 #include "core/html/HTMLTextAreaElement.h" |
| 89 #include "core/inspector/InspectorController.h" | 89 #include "core/inspector/InspectorController.h" |
| 90 #include "core/inspector/InspectorInstrumentation.h" | 90 #include "core/inspector/InspectorInstrumentation.h" |
| 91 #include "core/loader/DocumentLoader.h" | 91 #include "core/loader/DocumentLoader.h" |
| 92 #include "core/loader/FrameLoader.h" | 92 #include "core/loader/FrameLoader.h" |
| 93 #include "core/loader/UniqueIdentifier.h" | 93 #include "core/loader/UniqueIdentifier.h" |
| 94 #include "core/page/Chrome.h" | 94 #include "core/page/Chrome.h" |
| 95 #include "core/page/ContextMenuController.h" | 95 #include "core/page/ContextMenuController.h" |
| 96 #include "core/page/DragController.h" | 96 #include "core/page/DragController.h" |
| 97 #include "core/page/DragSession.h" | 97 #include "core/page/DragSession.h" |
| 98 #include "core/page/EventHandler.h" | 98 #include "core/page/EventHandler.h" |
| (...skipping 4114 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 |