Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(872)

Side by Side Diff: Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.h

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/core/html/forms/BaseCheckableInputType.h ('k') | Source/core/html/forms/BaseClickableWithKeyInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698