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

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

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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
« no previous file with comments | « Source/core/html/forms/RangeInputType.cpp ('k') | Source/core/html/forms/SearchInputType.cpp » ('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 27 matching lines...) Expand all
38 38
39 class SearchInputType final : public BaseTextInputType { 39 class SearchInputType final : public BaseTextInputType {
40 public: 40 public:
41 static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&); 41 static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&);
42 42
43 void stopSearchEventTimer(); 43 void stopSearchEventTimer();
44 44
45 private: 45 private:
46 SearchInputType(HTMLInputElement&); 46 SearchInputType(HTMLInputElement&);
47 void countUsage() override; 47 void countUsage() override;
48 LayoutObject* createLayoutObject(const LayoutStyle&) const override; 48 LayoutObject* createLayoutObject(const ComputedStyle&) const override;
49 const AtomicString& formControlType() const override; 49 const AtomicString& formControlType() const override;
50 bool needsContainer() const override; 50 bool needsContainer() const override;
51 void createShadowSubtree() override; 51 void createShadowSubtree() override;
52 void handleKeydownEvent(KeyboardEvent*) override; 52 void handleKeydownEvent(KeyboardEvent*) override;
53 void didSetValueByUserEdit(ValueChangeState) override; 53 void didSetValueByUserEdit(ValueChangeState) override;
54 bool supportsInputModeAttribute() const override; 54 bool supportsInputModeAttribute() const override;
55 void updateView() override; 55 void updateView() override;
56 const AtomicString& defaultAutocapitalize() const override; 56 const AtomicString& defaultAutocapitalize() const override;
57 57
58 void searchEventTimerFired(Timer<SearchInputType>*); 58 void searchEventTimerFired(Timer<SearchInputType>*);
59 bool searchEventsShouldBeDispatched() const; 59 bool searchEventsShouldBeDispatched() const;
60 void startSearchEventTimer(); 60 void startSearchEventTimer();
61 void updateCancelButtonVisibility(); 61 void updateCancelButtonVisibility();
62 62
63 Timer<SearchInputType> m_searchEventTimer; 63 Timer<SearchInputType> m_searchEventTimer;
64 }; 64 };
65 65
66 } // namespace blink 66 } // namespace blink
67 67
68 #endif // SearchInputType_h 68 #endif // SearchInputType_h
OLDNEW
« no previous file with comments | « Source/core/html/forms/RangeInputType.cpp ('k') | Source/core/html/forms/SearchInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698