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

Side by Side Diff: Source/core/html/forms/BaseClickableWithKeyInputType.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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 29 matching lines...) Expand all
40 public: 40 public:
41 static void handleKeydownEvent(HTMLInputElement&, KeyboardEvent*); 41 static void handleKeydownEvent(HTMLInputElement&, KeyboardEvent*);
42 static void handleKeypressEvent(HTMLInputElement&, KeyboardEvent*); 42 static void handleKeypressEvent(HTMLInputElement&, KeyboardEvent*);
43 static void handleKeyupEvent(InputType&, KeyboardEvent*); 43 static void handleKeyupEvent(InputType&, KeyboardEvent*);
44 static void accessKeyAction(HTMLInputElement&, bool sendMouseEvents); 44 static void accessKeyAction(HTMLInputElement&, bool sendMouseEvents);
45 45
46 protected: 46 protected:
47 BaseClickableWithKeyInputType(HTMLInputElement& element) : InputType(element ) { } 47 BaseClickableWithKeyInputType(HTMLInputElement& element) : InputType(element ) { }
48 48
49 private: 49 private:
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 }; 54 };
55 55
56 } // namespace blink 56 } // namespace blink
57 57
58 #endif // BaseClickableWithKeyInputType_h 58 #endif // BaseClickableWithKeyInputType_h
OLDNEW
« no previous file with comments | « Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.h ('k') | Source/core/html/forms/BaseDateAndTimeInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698