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

Side by Side Diff: Source/core/html/HTMLPlugInImageElement.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/HTMLPlugInElement.cpp ('k') | Source/core/html/HTMLPlugInImageElement.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) 2008, 2009, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2011, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 HTMLPlugInImageElement(const QualifiedName& tagName, Document*, bool created ByParser, PreferPlugInsForImagesOption); 82 HTMLPlugInImageElement(const QualifiedName& tagName, Document*, bool created ByParser, PreferPlugInsForImagesOption);
83 83
84 bool isImageType(); 84 bool isImageType();
85 85
86 OwnPtr<HTMLImageLoader> m_imageLoader; 86 OwnPtr<HTMLImageLoader> m_imageLoader;
87 String m_serviceType; 87 String m_serviceType;
88 String m_url; 88 String m_url;
89 KURL m_loadedUrl; 89 KURL m_loadedUrl;
90 90
91 static void updateWidgetCallback(Node*); 91 static void updateWidgetCallback(Node*);
92 virtual void attach(); 92 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE;
93 virtual void detach(); 93 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
94 94
95 bool allowedToLoadFrameURL(const String& url); 95 bool allowedToLoadFrameURL(const String& url);
96 bool wouldLoadAsNetscapePlugin(const String& url, const String& serviceType) ; 96 bool wouldLoadAsNetscapePlugin(const String& url, const String& serviceType) ;
97 97
98 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; 98 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE;
99 99
100 private: 100 private:
101 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 101 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
102 virtual void willRecalcStyle(StyleChange) OVERRIDE FINAL; 102 virtual void willRecalcStyle(StyleChange) OVERRIDE FINAL;
103 103
(...skipping 27 matching lines...) Expand all
131 ASSERT_WITH_SECURITY_IMPLICATION(plugInElement->isPlugInImageElement()); 131 ASSERT_WITH_SECURITY_IMPLICATION(plugInElement->isPlugInImageElement());
132 return static_cast<const HTMLPlugInImageElement*>(plugInElement); 132 return static_cast<const HTMLPlugInImageElement*>(plugInElement);
133 } 133 }
134 134
135 // This will catch anyone doing an unnecessary cast. 135 // This will catch anyone doing an unnecessary cast.
136 void toHTMLPlugInImageElement(const HTMLPlugInImageElement*); 136 void toHTMLPlugInImageElement(const HTMLPlugInImageElement*);
137 137
138 } // namespace WebCore 138 } // namespace WebCore
139 139
140 #endif // HTMLPlugInImageElement_h 140 #endif // HTMLPlugInImageElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLPlugInElement.cpp ('k') | Source/core/html/HTMLPlugInImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698