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

Side by Side Diff: Source/core/html/HTMLPlugInElement.h

Issue 212893005: Revert "Change event handling order in HTMLPlugInElement." (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2012 Apple Inc. All rights reserv ed. 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2012 Apple Inc. All rights reserv ed.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 OwnPtr<HTMLImageLoader> m_imageLoader; 87 OwnPtr<HTMLImageLoader> m_imageLoader;
88 bool m_isDelayingLoadEvent; 88 bool m_isDelayingLoadEvent;
89 89
90 private: 90 private:
91 // EventTarget functions: 91 // EventTarget functions:
92 virtual void removeAllEventListeners() OVERRIDE FINAL; 92 virtual void removeAllEventListeners() OVERRIDE FINAL;
93 93
94 // Node functions: 94 // Node functions:
95 virtual bool canContainRangeEndPoint() const OVERRIDE { return false; } 95 virtual bool canContainRangeEndPoint() const OVERRIDE { return false; }
96 virtual bool willRespondToMouseClickEvents() OVERRIDE FINAL; 96 virtual bool willRespondToMouseClickEvents() OVERRIDE FINAL;
97 virtual void handleLocalEvents(Event*) OVERRIDE FINAL; 97 virtual void defaultEventHandler(Event*) OVERRIDE FINAL;
98 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE FINAL; 98 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE FINAL;
99 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE FINAL; 99 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE FINAL;
100 virtual void finishParsingChildren() OVERRIDE FINAL; 100 virtual void finishParsingChildren() OVERRIDE FINAL;
101 101
102 // Element functions: 102 // Element functions:
103 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 103 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
104 virtual void willRecalcStyle(StyleRecalcChange) OVERRIDE FINAL; 104 virtual void willRecalcStyle(StyleRecalcChange) OVERRIDE FINAL;
105 virtual bool supportsFocus() const OVERRIDE FINAL { return true; } 105 virtual bool supportsFocus() const OVERRIDE FINAL { return true; }
106 virtual bool rendererIsFocusable() const OVERRIDE FINAL; 106 virtual bool rendererIsFocusable() const OVERRIDE FINAL;
107 virtual bool isKeyboardFocusable() const OVERRIDE FINAL; 107 virtual bool isKeyboardFocusable() const OVERRIDE FINAL;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 inline bool isHTMLPlugInElement(const HTMLElement& element) 146 inline bool isHTMLPlugInElement(const HTMLElement& element)
147 { 147 {
148 return element.isPluginElement(); 148 return element.isPluginElement();
149 } 149 }
150 150
151 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); 151 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement);
152 152
153 } // namespace WebCore 153 } // namespace WebCore
154 154
155 #endif // HTMLPlugInElement_h 155 #endif // HTMLPlugInElement_h
OLDNEW
« no previous file with comments | « LayoutTests/plugins/plugin-event-filtering-expected.txt ('k') | Source/core/html/HTMLPlugInElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698