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

Unified Diff: public/web/WebPluginPlaceholder.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/PluginPlaceholderImplTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebPluginPlaceholder.h
diff --git a/public/web/WebPluginPlaceholder.h b/public/web/WebPluginPlaceholder.h
index 0996c36991d42ee029e563a190d6857bf26f891b..e0400b5a2dfcdf65ced94dd97ab7c10818b1456e 100644
--- a/public/web/WebPluginPlaceholder.h
+++ b/public/web/WebPluginPlaceholder.h
@@ -16,6 +16,9 @@ public:
// Returns a plaintext message to be displayed.
virtual WebString message() const { return WebString(); }
+
+ // If set, the placeholder will present UI to permit dismissing it.
+ virtual bool isCloseable() const { return false; }
};
} // namespace blink
« no previous file with comments | « Source/web/PluginPlaceholderImplTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698