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

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

Issue 611593003: Clean up forward declarations 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
« no previous file with comments | « Source/core/html/forms/InputType.h ('k') | Source/core/html/forms/StepRange.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #ifndef SearchInputType_h 31 #ifndef SearchInputType_h
32 #define SearchInputType_h 32 #define SearchInputType_h
33 33
34 #include "core/html/forms/BaseTextInputType.h" 34 #include "core/html/forms/BaseTextInputType.h"
35 #include "platform/Timer.h" 35 #include "platform/Timer.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class SearchFieldCancelButtonElement;
40 class SearchFieldDecorationElement;
41
42 class SearchInputType FINAL : public BaseTextInputType { 39 class SearchInputType FINAL : public BaseTextInputType {
43 public: 40 public:
44 static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&); 41 static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&);
45 42
46 void stopSearchEventTimer(); 43 void stopSearchEventTimer();
47 44
48 private: 45 private:
49 SearchInputType(HTMLInputElement&); 46 SearchInputType(HTMLInputElement&);
50 virtual void countUsage() OVERRIDE; 47 virtual void countUsage() OVERRIDE;
51 virtual RenderObject* createRenderer(RenderStyle*) const OVERRIDE; 48 virtual RenderObject* createRenderer(RenderStyle*) const OVERRIDE;
(...skipping 10 matching lines...) Expand all
62 bool searchEventsShouldBeDispatched() const; 59 bool searchEventsShouldBeDispatched() const;
63 void startSearchEventTimer(); 60 void startSearchEventTimer();
64 void updateCancelButtonVisibility(); 61 void updateCancelButtonVisibility();
65 62
66 Timer<SearchInputType> m_searchEventTimer; 63 Timer<SearchInputType> m_searchEventTimer;
67 }; 64 };
68 65
69 } // namespace blink 66 } // namespace blink
70 67
71 #endif // SearchInputType_h 68 #endif // SearchInputType_h
OLDNEW
« no previous file with comments | « Source/core/html/forms/InputType.h ('k') | Source/core/html/forms/StepRange.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698