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

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

Issue 1219013005: Fix virtual/override/final usage in Source/core/html/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 24 matching lines...) Expand all
35 #include "core/html/forms/ColorChooserClient.h" 35 #include "core/html/forms/ColorChooserClient.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class ColorChooser; 39 class ColorChooser;
40 40
41 class ColorInputType final : public BaseClickableWithKeyInputType, public ColorC hooserClient { 41 class ColorInputType final : public BaseClickableWithKeyInputType, public ColorC hooserClient {
42 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ColorInputType); 42 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ColorInputType);
43 public: 43 public:
44 static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&); 44 static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&);
45 virtual ~ColorInputType(); 45 ~ColorInputType() override;
46 DECLARE_VIRTUAL_TRACE(); 46 DECLARE_VIRTUAL_TRACE();
47 47
48 // ColorChooserClient implementation. 48 // ColorChooserClient implementation.
49 void didChooseColor(const Color&) override; 49 void didChooseColor(const Color&) override;
50 void didEndChooser() override; 50 void didEndChooser() override;
51 Element& ownerElement() const override; 51 Element& ownerElement() const override;
52 IntRect elementRectRelativeToViewport() const override; 52 IntRect elementRectRelativeToViewport() const override;
53 Color currentColor() override; 53 Color currentColor() override;
54 bool shouldShowSuggestions() const override; 54 bool shouldShowSuggestions() const override;
55 Vector<ColorSuggestion> suggestions() const override; 55 Vector<ColorSuggestion> suggestions() const override;
(...skipping 19 matching lines...) Expand all
75 Color valueAsColor() const; 75 Color valueAsColor() const;
76 void endColorChooser(); 76 void endColorChooser();
77 HTMLElement* shadowColorSwatch() const; 77 HTMLElement* shadowColorSwatch() const;
78 78
79 OwnPtrWillBeMember<ColorChooser> m_chooser; 79 OwnPtrWillBeMember<ColorChooser> m_chooser;
80 }; 80 };
81 81
82 } // namespace blink 82 } // namespace blink
83 83
84 #endif // ColorInputType_h 84 #endif // ColorInputType_h
OLDNEW
« no previous file with comments | « Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp ('k') | Source/core/html/forms/DateTimeLocalInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698