| 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 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions are | 7 * modification, are permitted provided that the following conditions are |
| 8 * met: | 8 * met: |
| 9 * | 9 * |
| 10 * * Redistributions of source code must retain the above copyright | 10 * * Redistributions of source code must retain the above copyright |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 #include "core/html/HTMLTextFormControlElement.h" | 36 #include "core/html/HTMLTextFormControlElement.h" |
| 37 #include "core/html/forms/ColorChooserClient.h" | 37 #include "core/html/forms/ColorChooserClient.h" |
| 38 #include "core/html/forms/InputTypeView.h" | 38 #include "core/html/forms/InputTypeView.h" |
| 39 #include "core/html/forms/StepRange.h" | 39 #include "core/html/forms/StepRange.h" |
| 40 #include "core/frame/UseCounter.h" | 40 #include "core/frame/UseCounter.h" |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 | 43 |
| 44 class Chrome; | 44 class Chrome; |
| 45 class DateComponents; | |
| 46 class DragData; | 45 class DragData; |
| 47 class ExceptionState; | 46 class ExceptionState; |
| 48 class FileList; | 47 class FileList; |
| 49 class FormDataList; | 48 class FormDataList; |
| 50 class HTMLElement; | |
| 51 class Node; | |
| 52 | 49 |
| 53 // An InputType object represents the type-specific part of an HTMLInputElement. | 50 // An InputType object represents the type-specific part of an HTMLInputElement. |
| 54 // Do not expose instances of InputType and classes derived from it to classes | 51 // Do not expose instances of InputType and classes derived from it to classes |
| 55 // other than HTMLInputElement. | 52 // other than HTMLInputElement. |
| 56 // FIXME: InputType should not inherit InputTypeView. It's conceptually wrong. | 53 // FIXME: InputType should not inherit InputTypeView. It's conceptually wrong. |
| 57 class InputType : public InputTypeView { | 54 class InputType : public InputTypeView { |
| 58 WTF_MAKE_NONCOPYABLE(InputType); | 55 WTF_MAKE_NONCOPYABLE(InputType); |
| 59 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 56 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
| 60 | 57 |
| 61 public: | 58 public: |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 | 221 |
| 225 StepRange createStepRange(AnyStepHandling, const Decimal& stepBaseDefault, c
onst Decimal& minimumDefault, const Decimal& maximumDefault, const StepRange::St
epDescription&) const; | 222 StepRange createStepRange(AnyStepHandling, const Decimal& stepBaseDefault, c
onst Decimal& minimumDefault, const Decimal& maximumDefault, const StepRange::St
epDescription&) const; |
| 226 | 223 |
| 227 private: | 224 private: |
| 228 // Helper for stepUp()/stepDown(). Adds step value * count to the current va
lue. | 225 // Helper for stepUp()/stepDown(). Adds step value * count to the current va
lue. |
| 229 void applyStep(const Decimal&, int count, AnyStepHandling, TextFieldEventBeh
avior, ExceptionState&); | 226 void applyStep(const Decimal&, int count, AnyStepHandling, TextFieldEventBeh
avior, ExceptionState&); |
| 230 }; | 227 }; |
| 231 | 228 |
| 232 } // namespace blink | 229 } // namespace blink |
| 233 #endif | 230 #endif |
| OLD | NEW |