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

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

Issue 698533003: Implement support for closing shadow DOM plugin placeholders. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: mkwst comments Created 6 years, 1 month 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 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PluginPlaceholderElement_h 5 #ifndef PluginPlaceholderElement_h
6 #define PluginPlaceholderElement_h 6 #define PluginPlaceholderElement_h
7 7
8 #include "core/dom/Element.h" 8 #include "core/dom/Element.h"
9 #include "core/html/HTMLDivElement.h" 9 #include "core/html/HTMLDivElement.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class PluginPlaceholderElement final : public HTMLDivElement { 13 class PluginPlaceholderElement final : public HTMLDivElement {
14 DEFINE_WRAPPERTYPEINFO(); 14 DEFINE_WRAPPERTYPEINFO();
15 public: 15 public:
16 static PassRefPtrWillBeRawPtr<PluginPlaceholderElement> create(Document&); 16 static PassRefPtrWillBeRawPtr<PluginPlaceholderElement> create(Document&);
17 17
18 void setMessage(const String&); 18 void setMessage(const String&);
19 void setIsCloseable(bool);
19 20
20 private: 21 private:
21 explicit PluginPlaceholderElement(Document&); 22 explicit PluginPlaceholderElement(Document&);
22 }; 23 };
23 24
24 } // namespace blink 25 } // namespace blink
25 26
26 #endif // PluginPlaceholderElement_h 27 #endif // PluginPlaceholderElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698