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

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

Issue 16599003: :hover style not applied on hover if its display property is different from original style's (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch (fixed test that was expected to fail and is now passing) Created 7 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/HTMLOptionElement.cpp ('k') | Source/core/html/HTMLPlugInElement.cpp » ('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) 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 bool canProcessDrag() const; 64 bool canProcessDrag() const;
65 65
66 virtual bool willRespondToMouseClickEvents() OVERRIDE; 66 virtual bool willRespondToMouseClickEvents() OVERRIDE;
67 67
68 virtual bool isPlugInImageElement() const { return false; } 68 virtual bool isPlugInImageElement() const { return false; }
69 69
70 protected: 70 protected:
71 HTMLPlugInElement(const QualifiedName& tagName, Document*); 71 HTMLPlugInElement(const QualifiedName& tagName, Document*);
72 72
73 virtual void detach(); 73 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
74 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; 74 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
75 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) OVERRIDE; 75 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) OVERRIDE;
76 76
77 virtual bool useFallbackContent() const { return false; } 77 virtual bool useFallbackContent() const { return false; }
78 78
79 virtual bool dispatchBeforeLoadEvent(const String& sourceURL) OVERRIDE; 79 virtual bool dispatchBeforeLoadEvent(const String& sourceURL) OVERRIDE;
80 80
81 private: 81 private:
82 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; } 82 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; }
83 83
(...skipping 24 matching lines...) Expand all
108 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isPluginElement()); 108 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isPluginElement());
109 return static_cast<const HTMLPlugInElement*>(node); 109 return static_cast<const HTMLPlugInElement*>(node);
110 } 110 }
111 111
112 // This will catch anyone doing an unnecessary cast. 112 // This will catch anyone doing an unnecessary cast.
113 void toHTMLPlugInElement(const HTMLPlugInElement*); 113 void toHTMLPlugInElement(const HTMLPlugInElement*);
114 114
115 } // namespace WebCore 115 } // namespace WebCore
116 116
117 #endif // HTMLPlugInElement_h 117 #endif // HTMLPlugInElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLOptionElement.cpp ('k') | Source/core/html/HTMLPlugInElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698