| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 void HiddenInputType::restoreFormControlState(const FormControlState& state) | 65 void HiddenInputType::restoreFormControlState(const FormControlState& state) |
| 66 { | 66 { |
| 67 element()->setAttribute(valueAttr, state[0]); | 67 element()->setAttribute(valueAttr, state[0]); |
| 68 } | 68 } |
| 69 | 69 |
| 70 bool HiddenInputType::supportsValidation() const | 70 bool HiddenInputType::supportsValidation() const |
| 71 { | 71 { |
| 72 return false; | 72 return false; |
| 73 } | 73 } |
| 74 | 74 |
| 75 RenderObject* HiddenInputType::createRenderer(RenderArena*, RenderStyle*) const | 75 RenderObject* HiddenInputType::createRenderer(RenderStyle*) const |
| 76 { | 76 { |
| 77 ASSERT_NOT_REACHED(); | 77 ASSERT_NOT_REACHED(); |
| 78 return 0; | 78 return 0; |
| 79 } | 79 } |
| 80 | 80 |
| 81 void HiddenInputType::accessKeyAction(bool) | 81 void HiddenInputType::accessKeyAction(bool) |
| 82 { | 82 { |
| 83 } | 83 } |
| 84 | 84 |
| 85 bool HiddenInputType::rendererIsNeeded() | 85 bool HiddenInputType::rendererIsNeeded() |
| (...skipping 24 matching lines...) Expand all Loading... |
| 110 } | 110 } |
| 111 return InputType::appendFormData(encoding, isMultipartForm); | 111 return InputType::appendFormData(encoding, isMultipartForm); |
| 112 } | 112 } |
| 113 | 113 |
| 114 bool HiddenInputType::shouldRespectHeightAndWidthAttributes() | 114 bool HiddenInputType::shouldRespectHeightAndWidthAttributes() |
| 115 { | 115 { |
| 116 return true; | 116 return true; |
| 117 } | 117 } |
| 118 | 118 |
| 119 } // namespace WebCore | 119 } // namespace WebCore |
| OLD | NEW |