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

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

Issue 1148813007: Move EventHandler from core/page/ to core/input (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unnecessary file Created 5 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
« no previous file with comments | « Source/core/html/shadow/SpinButtonElement.cpp ('k') | Source/core/input/EventHandler.h » ('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) 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 18 matching lines...) Expand all
29 29
30 #include "core/HTMLNames.h" 30 #include "core/HTMLNames.h"
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/layout/LayoutTextControlSingleLine.h" 40 #include "core/layout/LayoutTextControlSingleLine.h"
40 #include "core/layout/LayoutView.h" 41 #include "core/layout/LayoutView.h"
41 #include "core/page/EventHandler.h"
42 #include "platform/UserGestureIndicator.h" 42 #include "platform/UserGestureIndicator.h"
43 43
44 namespace blink { 44 namespace blink {
45 45
46 using namespace HTMLNames; 46 using namespace HTMLNames;
47 47
48 TextControlInnerContainer::TextControlInnerContainer(Document& document) 48 TextControlInnerContainer::TextControlInnerContainer(Document& document)
49 : HTMLDivElement(document) 49 : HTMLDivElement(document)
50 { 50 {
51 } 51 }
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 bool SearchFieldCancelButtonElement::willRespondToMouseClickEvents() 244 bool SearchFieldCancelButtonElement::willRespondToMouseClickEvents()
245 { 245 {
246 const HTMLInputElement* input = toHTMLInputElement(shadowHost()); 246 const HTMLInputElement* input = toHTMLInputElement(shadowHost());
247 if (input && !input->isDisabledOrReadOnly()) 247 if (input && !input->isDisabledOrReadOnly())
248 return true; 248 return true;
249 249
250 return HTMLDivElement::willRespondToMouseClickEvents(); 250 return HTMLDivElement::willRespondToMouseClickEvents();
251 } 251 }
252 252
253 } 253 }
OLDNEW
« no previous file with comments | « Source/core/html/shadow/SpinButtonElement.cpp ('k') | Source/core/input/EventHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698