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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLFormElement.cpp

Issue 2316533004: Don't include headers from the layout API from other headers needlessly. (Closed)
Patch Set: The runway sure is slippery today. Created 4 years, 3 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) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
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 30 matching lines...) Expand all
41 #include "core/frame/csp/ContentSecurityPolicy.h" 41 #include "core/frame/csp/ContentSecurityPolicy.h"
42 #include "core/html/HTMLCollection.h" 42 #include "core/html/HTMLCollection.h"
43 #include "core/html/HTMLDialogElement.h" 43 #include "core/html/HTMLDialogElement.h"
44 #include "core/html/HTMLFormControlsCollection.h" 44 #include "core/html/HTMLFormControlsCollection.h"
45 #include "core/html/HTMLImageElement.h" 45 #include "core/html/HTMLImageElement.h"
46 #include "core/html/HTMLInputElement.h" 46 #include "core/html/HTMLInputElement.h"
47 #include "core/html/HTMLObjectElement.h" 47 #include "core/html/HTMLObjectElement.h"
48 #include "core/html/RadioNodeList.h" 48 #include "core/html/RadioNodeList.h"
49 #include "core/html/forms/FormController.h" 49 #include "core/html/forms/FormController.h"
50 #include "core/inspector/ConsoleMessage.h" 50 #include "core/inspector/ConsoleMessage.h"
51 #include "core/layout/LayoutObject.h"
51 #include "core/loader/FormSubmission.h" 52 #include "core/loader/FormSubmission.h"
52 #include "core/loader/FrameLoader.h" 53 #include "core/loader/FrameLoader.h"
53 #include "core/loader/FrameLoaderClient.h" 54 #include "core/loader/FrameLoaderClient.h"
54 #include "core/loader/MixedContentChecker.h" 55 #include "core/loader/MixedContentChecker.h"
55 #include "core/loader/NavigationScheduler.h" 56 #include "core/loader/NavigationScheduler.h"
56 #include "platform/UserGestureIndicator.h" 57 #include "platform/UserGestureIndicator.h"
57 #include "public/platform/WebInsecureRequestPolicy.h" 58 #include "public/platform/WebInsecureRequestPolicy.h"
58 #include "wtf/AutoReset.h" 59 #include "wtf/AutoReset.h"
59 #include "wtf/text/AtomicString.h" 60 #include "wtf/text/AtomicString.h"
60 #include <limits> 61 #include <limits>
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 { 800 {
800 for (const auto& control : associatedElements()) { 801 for (const auto& control : associatedElements()) {
801 if (!control->isFormControlElement()) 802 if (!control->isFormControlElement())
802 continue; 803 continue;
803 if (toHTMLFormControlElement(control)->canBeSuccessfulSubmitButton()) 804 if (toHTMLFormControlElement(control)->canBeSuccessfulSubmitButton())
804 toHTMLFormControlElement(control)->pseudoStateChanged(CSSSelector::P seudoDefault); 805 toHTMLFormControlElement(control)->pseudoStateChanged(CSSSelector::P seudoDefault);
805 } 806 }
806 } 807 }
807 808
808 } // namespace blink 809 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLObjectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698