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

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

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix a crashers (everything is building!) Created 5 years, 10 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 | Annotate | Revision Log
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 // Node functions: 119 // Node functions:
120 virtual bool canContainRangeEndPoint() const override { return false; } 120 virtual bool canContainRangeEndPoint() const override { return false; }
121 virtual bool willRespondToMouseClickEvents() override final; 121 virtual bool willRespondToMouseClickEvents() override final;
122 virtual void defaultEventHandler(Event*) override final; 122 virtual void defaultEventHandler(Event*) override final;
123 virtual void attach(const AttachContext& = AttachContext()) override final; 123 virtual void attach(const AttachContext& = AttachContext()) override final;
124 virtual void detach(const AttachContext& = AttachContext()) override final; 124 virtual void detach(const AttachContext& = AttachContext()) override final;
125 virtual void finishParsingChildren() override final; 125 virtual void finishParsingChildren() override final;
126 126
127 // Element functions: 127 // Element functions:
128 virtual RenderObject* createRenderer(RenderStyle*) override; 128 virtual RenderObject* createRenderer(const RenderStyle*) override;
129 virtual bool supportsFocus() const override final { return true; } 129 virtual bool supportsFocus() const override final { return true; }
130 virtual bool rendererIsFocusable() const override final; 130 virtual bool rendererIsFocusable() const override final;
131 virtual bool isKeyboardFocusable() const override final; 131 virtual bool isKeyboardFocusable() const override final;
132 virtual void didAddUserAgentShadowRoot(ShadowRoot&) override final; 132 virtual void didAddUserAgentShadowRoot(ShadowRoot&) override final;
133 virtual void willAddFirstAuthorShadowRoot() override final; 133 virtual void willAddFirstAuthorShadowRoot() override final;
134 134
135 // HTMLElement function: 135 // HTMLElement function:
136 virtual bool hasCustomFocusLogic() const override; 136 virtual bool hasCustomFocusLogic() const override;
137 virtual bool isPluginElement() const override final; 137 virtual bool isPluginElement() const override final;
138 138
(...skipping 27 matching lines...) Expand all
166 inline bool isHTMLPlugInElement(const HTMLElement& element) 166 inline bool isHTMLPlugInElement(const HTMLElement& element)
167 { 167 {
168 return element.isPluginElement(); 168 return element.isPluginElement();
169 } 169 }
170 170
171 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); 171 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement);
172 172
173 } // namespace blink 173 } // namespace blink
174 174
175 #endif // HTMLPlugInElement_h 175 #endif // HTMLPlugInElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698