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

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

Issue 2008503003: Eliminate unnecessary includes of LayoutBlockFlow-derived headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: styleRef(bool) needs LayoutObjectInlines.h Created 4 years, 6 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) 2006, 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 20 matching lines...) Expand all
31 #include "core/dom/Document.h" 31 #include "core/dom/Document.h"
32 #include "core/dom/NodeComputedStyle.h" 32 #include "core/dom/NodeComputedStyle.h"
33 #include "core/events/MouseEvent.h" 33 #include "core/events/MouseEvent.h"
34 #include "core/events/TextEvent.h" 34 #include "core/events/TextEvent.h"
35 #include "core/events/TextEventInputType.h" 35 #include "core/events/TextEventInputType.h"
36 #include "core/frame/LocalFrame.h" 36 #include "core/frame/LocalFrame.h"
37 #include "core/html/HTMLInputElement.h" 37 #include "core/html/HTMLInputElement.h"
38 #include "core/html/shadow/ShadowElementNames.h" 38 #include "core/html/shadow/ShadowElementNames.h"
39 #include "core/input/EventHandler.h" 39 #include "core/input/EventHandler.h"
40 #include "core/layout/LayoutTextControlSingleLine.h" 40 #include "core/layout/LayoutTextControlSingleLine.h"
41 #include "core/layout/LayoutView.h"
42 #include "core/layout/api/LayoutTextControlItem.h" 41 #include "core/layout/api/LayoutTextControlItem.h"
43 #include "platform/UserGestureIndicator.h" 42 #include "platform/UserGestureIndicator.h"
44 43
45 namespace blink { 44 namespace blink {
46 45
47 using namespace HTMLNames; 46 using namespace HTMLNames;
48 47
49 TextControlInnerContainer::TextControlInnerContainer(Document& document) 48 TextControlInnerContainer::TextControlInnerContainer(Document& document)
50 : HTMLDivElement(document) 49 : HTMLDivElement(document)
51 { 50 {
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 bool SearchFieldCancelButtonElement::willRespondToMouseClickEvents() 248 bool SearchFieldCancelButtonElement::willRespondToMouseClickEvents()
250 { 249 {
251 const HTMLInputElement* input = toHTMLInputElement(shadowHost()); 250 const HTMLInputElement* input = toHTMLInputElement(shadowHost());
252 if (input && !input->isDisabledOrReadOnly()) 251 if (input && !input->isDisabledOrReadOnly())
253 return true; 252 return true;
254 253
255 return HTMLDivElement::willRespondToMouseClickEvents(); 254 return HTMLDivElement::willRespondToMouseClickEvents();
256 } 255 }
257 256
258 } // namespace blink 257 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/shadow/SliderThumbElement.h ('k') | third_party/WebKit/Source/core/layout/LayoutBR.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698