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

Side by Side Diff: Source/core/html/shadow/PickerIndicatorElement.h

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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) 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual bool isPickerIndicatorOwnerDisabledOrReadOnly() const = 0; 50 virtual bool isPickerIndicatorOwnerDisabledOrReadOnly() const = 0;
51 // FIXME: Remove. Deprecated in favor of double version. 51 // FIXME: Remove. Deprecated in favor of double version.
52 virtual void pickerIndicatorChooseValue(const String&) = 0; 52 virtual void pickerIndicatorChooseValue(const String&) = 0;
53 virtual void pickerIndicatorChooseValue(double) = 0; 53 virtual void pickerIndicatorChooseValue(double) = 0;
54 virtual Element& pickerOwnerElement() const = 0; 54 virtual Element& pickerOwnerElement() const = 0;
55 virtual bool setupDateTimeChooserParameters(DateTimeChooserParameters&) = 0; 55 virtual bool setupDateTimeChooserParameters(DateTimeChooserParameters&) = 0;
56 }; 56 };
57 57
58 static PassRefPtrWillBeRawPtr<PickerIndicatorElement> create(Document&, Pick erIndicatorOwner&); 58 static PassRefPtrWillBeRawPtr<PickerIndicatorElement> create(Document&, Pick erIndicatorOwner&);
59 virtual ~PickerIndicatorElement(); 59 virtual ~PickerIndicatorElement();
60 virtual void trace(Visitor*) override; 60 DECLARE_VIRTUAL_TRACE();
61 61
62 void openPopup(); 62 void openPopup();
63 void closePopup(); 63 void closePopup();
64 virtual bool willRespondToMouseClickEvents() override; 64 virtual bool willRespondToMouseClickEvents() override;
65 void removePickerIndicatorOwner() { m_pickerIndicatorOwner = nullptr; } 65 void removePickerIndicatorOwner() { m_pickerIndicatorOwner = nullptr; }
66 AXObject* popupRootAXObject() const; 66 AXObject* popupRootAXObject() const;
67 67
68 // DateTimeChooserClient implementation. 68 // DateTimeChooserClient implementation.
69 virtual Element& ownerElement() const override; 69 virtual Element& ownerElement() const override;
70 virtual void didChooseValue(const String&) override; 70 virtual void didChooseValue(const String&) override;
(...skipping 14 matching lines...) Expand all
85 RawPtrWillBeMember<PickerIndicatorOwner> m_pickerIndicatorOwner; 85 RawPtrWillBeMember<PickerIndicatorOwner> m_pickerIndicatorOwner;
86 RefPtr<DateTimeChooser> m_chooser; 86 RefPtr<DateTimeChooser> m_chooser;
87 bool m_isInOpenPopup; 87 bool m_isInOpenPopup;
88 }; 88 };
89 89
90 DEFINE_TYPE_CASTS(PickerIndicatorElement, Element, element, element->isPickerInd icatorElement(), element.isPickerIndicatorElement()); 90 DEFINE_TYPE_CASTS(PickerIndicatorElement, Element, element, element->isPickerInd icatorElement(), element.isPickerIndicatorElement());
91 91
92 } 92 }
93 #endif 93 #endif
94 #endif 94 #endif
OLDNEW
« no previous file with comments | « Source/core/html/shadow/MediaControls.cpp ('k') | Source/core/html/shadow/PickerIndicatorElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698