OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 class BaseChooserOnlyDateAndTimeInputType : public BaseDateAndTimeInputType, pub
lic DateTimeChooserClient { | 37 class BaseChooserOnlyDateAndTimeInputType : public BaseDateAndTimeInputType, pub
lic DateTimeChooserClient { |
38 protected: | 38 protected: |
39 BaseChooserOnlyDateAndTimeInputType(HTMLInputElement& element) : BaseDateAnd
TimeInputType(element) { } | 39 BaseChooserOnlyDateAndTimeInputType(HTMLInputElement& element) : BaseDateAnd
TimeInputType(element) { } |
40 virtual ~BaseChooserOnlyDateAndTimeInputType(); | 40 virtual ~BaseChooserOnlyDateAndTimeInputType(); |
41 | 41 |
42 private: | 42 private: |
43 void closeDateTimeChooser(); | 43 void closeDateTimeChooser(); |
44 | 44 |
45 // InputType functions: | 45 // InputType functions: |
46 virtual void createShadowSubtree() OVERRIDE; | 46 virtual void createShadowSubtree() override; |
47 virtual void closePopupView() OVERRIDE; | 47 virtual void closePopupView() override; |
48 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi
or) OVERRIDE; | 48 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi
or) override; |
49 virtual void handleDOMActivateEvent(Event*) OVERRIDE; | 49 virtual void handleDOMActivateEvent(Event*) override; |
50 virtual void handleKeydownEvent(KeyboardEvent*) OVERRIDE; | 50 virtual void handleKeydownEvent(KeyboardEvent*) override; |
51 virtual void handleKeypressEvent(KeyboardEvent*) OVERRIDE; | 51 virtual void handleKeypressEvent(KeyboardEvent*) override; |
52 virtual void handleKeyupEvent(KeyboardEvent*) OVERRIDE; | 52 virtual void handleKeyupEvent(KeyboardEvent*) override; |
53 virtual void accessKeyAction(bool sendMouseEvents) OVERRIDE; | 53 virtual void accessKeyAction(bool sendMouseEvents) override; |
54 virtual void updateView() OVERRIDE; | 54 virtual void updateView() override; |
55 | 55 |
56 // DateTimeChooserClient functions: | 56 // DateTimeChooserClient functions: |
57 virtual Element& ownerElement() const OVERRIDE; | 57 virtual Element& ownerElement() const override; |
58 virtual void didChooseValue(const String&) OVERRIDE; | 58 virtual void didChooseValue(const String&) override; |
59 virtual void didChooseValue(double) OVERRIDE; | 59 virtual void didChooseValue(double) override; |
60 virtual void didEndChooser() OVERRIDE; | 60 virtual void didEndChooser() override; |
61 | 61 |
62 RefPtr<DateTimeChooser> m_dateTimeChooser; | 62 RefPtr<DateTimeChooser> m_dateTimeChooser; |
63 }; | 63 }; |
64 | 64 |
65 } | 65 } |
66 #endif | 66 #endif |
67 #endif | 67 #endif |
OLD | NEW |