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

Side by Side Diff: Source/core/html/shadow/PluginPlaceholderElement.h

Issue 522783002: Add a custom element to own structure of shadow DOM plugin placeholders. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 3 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef PluginPlaceholderElement_h
6 #define PluginPlaceholderElement_h
7
8 #include "core/dom/Element.h"
9 #include "core/html/HTMLDivElement.h"
10
11 namespace blink {
12
13 class PluginPlaceholderElement FINAL : public HTMLDivElement {
14 DEFINE_WRAPPERTYPEINFO();
15 public:
16 // Returns a null pointer if the placeholder DOM could not be built.
esprehn 2014/09/09 04:13:30 Remove comment, this should never fail.
jbroman 2014/09/09 14:05:23 Done.
17 static PassRefPtrWillBeRawPtr<PluginPlaceholderElement> create(Document&);
18
19 void setMessage(const String&);
20
21 // We need to get a V8PluginPlaceholderElement wrapper.
22 // By default, this will get an V8HTMLDivElement wrapper.
23 virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext, v8::Isolate*) OVERRIDE;
24
25 private:
26 explicit PluginPlaceholderElement(Document&);
27 };
28
29 } // namespace blink
30
31 #endif // PluginPlaceholderElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698