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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLInputElement.h

Issue 1901403002: Remove UserAgent ShadowRoot + Author ShadowRoot code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Element::createShadowRoot, update some tests Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 6 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 272
273 protected: 273 protected:
274 HTMLInputElement(Document&, HTMLFormElement*, bool createdByParser); 274 HTMLInputElement(Document&, HTMLFormElement*, bool createdByParser);
275 275
276 void defaultEventHandler(Event*) override; 276 void defaultEventHandler(Event*) override;
277 277
278 private: 278 private:
279 enum AutoCompleteSetting { Uninitialized, On, Off }; 279 enum AutoCompleteSetting { Uninitialized, On, Off };
280 280
281 void didAddUserAgentShadowRoot(ShadowRoot&) final; 281 void didAddUserAgentShadowRoot(ShadowRoot&) final;
282 void willAddFirstAuthorShadowRoot() final;
283 282
284 void willChangeForm() final; 283 void willChangeForm() final;
285 void didChangeForm() final; 284 void didChangeForm() final;
286 InsertionNotificationRequest insertedInto(ContainerNode*) override; 285 InsertionNotificationRequest insertedInto(ContainerNode*) override;
287 void removedFrom(ContainerNode*) final; 286 void removedFrom(ContainerNode*) final;
288 void didMoveToNewDocument(Document& oldDocument) final; 287 void didMoveToNewDocument(Document& oldDocument) final;
289 void removeAllEventListeners() final; 288 void removeAllEventListeners() final;
290 289
291 bool hasCustomFocusLogic() const final; 290 bool hasCustomFocusLogic() const final;
292 bool isKeyboardFocusable() const final; 291 bool isKeyboardFocusable() const final;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 // The ImageLoader must be owned by this element because the loader code ass umes 400 // The ImageLoader must be owned by this element because the loader code ass umes
402 // that it lives as long as its owning element lives. If we move the loader into 401 // that it lives as long as its owning element lives. If we move the loader into
403 // the ImageInput object we may delete the loader while this element lives o n. 402 // the ImageInput object we may delete the loader while this element lives o n.
404 Member<HTMLImageLoader> m_imageLoader; 403 Member<HTMLImageLoader> m_imageLoader;
405 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver; 404 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver;
406 }; 405 };
407 406
408 } // namespace blink 407 } // namespace blink
409 408
410 #endif // HTMLInputElement_h 409 #endif // HTMLInputElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698