| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Intel Corporation. All rights reserved. | 2 * Copyright (C) 2012-2013 Intel Corporation. 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
| 9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
| 10 * disclaimer. | 10 * disclaimer. |
| 11 * 2. Redistributions in binary form must reproduce the above | 11 * 2. Redistributions in binary form must reproduce the above |
| 12 * copyright notice, this list of conditions and the following | 12 * copyright notice, this list of conditions and the following |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 | 139 |
| 140 switch (primitiveValue->getValueID()) { | 140 switch (primitiveValue->getValueID()) { |
| 141 case CSSValueAuto: | 141 case CSSValueAuto: |
| 142 return defaultValue; | 142 return defaultValue; |
| 143 case CSSValueLandscape: | 143 case CSSValueLandscape: |
| 144 return ViewportArguments::ValueLandscape; | 144 return ViewportArguments::ValueLandscape; |
| 145 case CSSValuePortrait: | 145 case CSSValuePortrait: |
| 146 return ViewportArguments::ValuePortrait; | 146 return ViewportArguments::ValuePortrait; |
| 147 case CSSValueZoom: | 147 case CSSValueZoom: |
| 148 return defaultValue; | 148 return defaultValue; |
| 149 case CSSValueInternalExtendToZoom: |
| 150 return ViewportArguments::ValueExtendToZoom; |
| 149 case CSSValueFixed: | 151 case CSSValueFixed: |
| 150 return 0; | 152 return 0; |
| 151 default: | 153 default: |
| 152 return defaultValue; | 154 return defaultValue; |
| 153 } | 155 } |
| 154 } | 156 } |
| 155 | 157 |
| 156 } // namespace WebCore | 158 } // namespace WebCore |
| OLD | NEW |