| OLD | NEW | 
|---|
| 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  Loading... | 
| 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  Loading... | 
| 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 | 
| OLD | NEW | 
|---|