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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 #include "core/page/PageGroupLoadDeferrer.h" | 110 #include "core/page/PageGroupLoadDeferrer.h" |
111 #include "core/page/PagePopupClient.h" | 111 #include "core/page/PagePopupClient.h" |
112 #include "core/page/PointerLockController.h" | 112 #include "core/page/PointerLockController.h" |
113 #include "core/page/Settings.h" | 113 #include "core/page/Settings.h" |
114 #include "core/page/TouchDisambiguation.h" | 114 #include "core/page/TouchDisambiguation.h" |
115 #include "core/platform/ContextMenu.h" | 115 #include "core/platform/ContextMenu.h" |
116 #include "core/platform/ContextMenuItem.h" | 116 #include "core/platform/ContextMenuItem.h" |
117 #include "core/platform/Cursor.h" | 117 #include "core/platform/Cursor.h" |
118 #include "core/platform/DragData.h" | 118 #include "core/platform/DragData.h" |
119 #include "core/platform/MIMETypeRegistry.h" | 119 #include "core/platform/MIMETypeRegistry.h" |
120 #include "core/platform/PlatformGestureEvent.h" | |
121 #include "core/platform/PlatformKeyboardEvent.h" | |
122 #include "core/platform/PlatformMouseEvent.h" | |
123 #include "core/platform/PlatformWheelEvent.h" | |
124 #include "core/platform/PopupMenuClient.h" | 120 #include "core/platform/PopupMenuClient.h" |
125 #include "core/platform/chromium/ChromiumDataObject.h" | 121 #include "core/platform/chromium/ChromiumDataObject.h" |
126 #include "core/platform/chromium/KeyboardCodes.h" | 122 #include "core/platform/chromium/KeyboardCodes.h" |
127 #include "core/platform/chromium/support/WebActiveGestureAnimation.h" | 123 #include "core/platform/chromium/support/WebActiveGestureAnimation.h" |
128 #include "core/platform/graphics/Color.h" | 124 #include "core/platform/graphics/Color.h" |
129 #include "core/platform/graphics/ColorSpace.h" | 125 #include "core/platform/graphics/ColorSpace.h" |
130 #include "core/platform/graphics/Extensions3D.h" | 126 #include "core/platform/graphics/Extensions3D.h" |
131 #include "core/platform/graphics/FontCache.h" | 127 #include "core/platform/graphics/FontCache.h" |
132 #include "core/platform/graphics/FontDescription.h" | 128 #include "core/platform/graphics/FontDescription.h" |
133 #include "core/platform/graphics/GraphicsContext.h" | 129 #include "core/platform/graphics/GraphicsContext.h" |
134 #include "core/platform/graphics/GraphicsContext3D.h" | 130 #include "core/platform/graphics/GraphicsContext3D.h" |
135 #include "core/platform/graphics/Image.h" | 131 #include "core/platform/graphics/Image.h" |
136 #include "core/platform/graphics/ImageBuffer.h" | 132 #include "core/platform/graphics/ImageBuffer.h" |
137 #include "core/platform/graphics/chromium/LayerPainterChromium.h" | 133 #include "core/platform/graphics/chromium/LayerPainterChromium.h" |
138 #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h" | 134 #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h" |
139 #include "core/rendering/RenderLayerCompositor.h" | 135 #include "core/rendering/RenderLayerCompositor.h" |
140 #include "core/rendering/RenderView.h" | 136 #include "core/rendering/RenderView.h" |
141 #include "core/rendering/RenderWidget.h" | 137 #include "core/rendering/RenderWidget.h" |
142 #include "core/rendering/TextAutosizer.h" | 138 #include "core/rendering/TextAutosizer.h" |
143 #include "modules/geolocation/GeolocationController.h" | 139 #include "modules/geolocation/GeolocationController.h" |
144 #include "painting/ContinuousPainter.h" | 140 #include "painting/ContinuousPainter.h" |
145 #include "platform/NotImplemented.h" | 141 #include "platform/NotImplemented.h" |
| 142 #include "platform/PlatformGestureEvent.h" |
| 143 #include "platform/PlatformKeyboardEvent.h" |
| 144 #include "platform/PlatformMouseEvent.h" |
| 145 #include "platform/PlatformWheelEvent.h" |
146 #include "platform/Timer.h" | 146 #include "platform/Timer.h" |
147 #include "platform/TraceEvent.h" | 147 #include "platform/TraceEvent.h" |
148 #include "public/platform/Platform.h" | 148 #include "public/platform/Platform.h" |
149 #include "public/platform/WebDragData.h" | 149 #include "public/platform/WebDragData.h" |
150 #include "public/platform/WebFloatPoint.h" | 150 #include "public/platform/WebFloatPoint.h" |
151 #include "public/platform/WebGestureCurve.h" | 151 #include "public/platform/WebGestureCurve.h" |
152 #include "public/platform/WebImage.h" | 152 #include "public/platform/WebImage.h" |
153 #include "public/platform/WebLayer.h" | 153 #include "public/platform/WebLayer.h" |
154 #include "public/platform/WebLayerTreeView.h" | 154 #include "public/platform/WebLayerTreeView.h" |
155 #include "public/platform/WebPoint.h" | 155 #include "public/platform/WebPoint.h" |
(...skipping 4073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4229 // the initial viewport width. | 4229 // the initial viewport width. |
4230 // 2. The author has disabled viewport zoom. | 4230 // 2. The author has disabled viewport zoom. |
4231 | 4231 |
4232 const PageScaleConstraints& constraints = m_pageScaleConstraintsSet.pageDefi
nedConstraints(); | 4232 const PageScaleConstraints& constraints = m_pageScaleConstraintsSet.pageDefi
nedConstraints(); |
4233 | 4233 |
4234 return fixedLayoutSize().width == m_size.width | 4234 return fixedLayoutSize().width == m_size.width |
4235 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); | 4235 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); |
4236 } | 4236 } |
4237 | 4237 |
4238 } // namespace WebKit | 4238 } // namespace WebKit |
OLD | NEW |