| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 #include "WebPagePopupImpl.h" | 66 #include "WebPagePopupImpl.h" |
| 67 #include "WebPlugin.h" | 67 #include "WebPlugin.h" |
| 68 #include "WebPluginAction.h" | 68 #include "WebPluginAction.h" |
| 69 #include "WebPluginContainerImpl.h" | 69 #include "WebPluginContainerImpl.h" |
| 70 #include "WebPopupMenuImpl.h" | 70 #include "WebPopupMenuImpl.h" |
| 71 #include "WebRange.h" | 71 #include "WebRange.h" |
| 72 #include "WebSettingsImpl.h" | 72 #include "WebSettingsImpl.h" |
| 73 #include "WebTextInputInfo.h" | 73 #include "WebTextInputInfo.h" |
| 74 #include "WebViewClient.h" | 74 #include "WebViewClient.h" |
| 75 #include "core/accessibility/AXObjectCache.h" | 75 #include "core/accessibility/AXObjectCache.h" |
| 76 #include "core/css/StyleResolver.h" | 76 #include "core/css/resolver/StyleResolver.h" |
| 77 #include "core/dom/Document.h" | 77 #include "core/dom/Document.h" |
| 78 #include "core/dom/DocumentMarkerController.h" | 78 #include "core/dom/DocumentMarkerController.h" |
| 79 #include "core/dom/KeyboardEvent.h" | 79 #include "core/dom/KeyboardEvent.h" |
| 80 #include "core/dom/NodeRenderStyle.h" | 80 #include "core/dom/NodeRenderStyle.h" |
| 81 #include "core/dom/Text.h" | 81 #include "core/dom/Text.h" |
| 82 #include "core/dom/WheelEvent.h" | 82 #include "core/dom/WheelEvent.h" |
| 83 #include "core/editing/Editor.h" | 83 #include "core/editing/Editor.h" |
| 84 #include "core/editing/FrameSelection.h" | 84 #include "core/editing/FrameSelection.h" |
| 85 #include "core/editing/TextIterator.h" | 85 #include "core/editing/TextIterator.h" |
| 86 #include "core/html/HTMLInputElement.h" | 86 #include "core/html/HTMLInputElement.h" |
| (...skipping 4126 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 |