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

Unified Diff: chrome/renderer/resources/blocked_plugin.html

Issue 2862031: Add click-to-load functionality for blocked plugins. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: '' Created 10 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/renderer_resources.grd ('k') | webkit/glue/plugins/webview_plugin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/blocked_plugin.html
diff --git a/chrome/renderer/resources/blocked_plugin.html b/chrome/renderer/resources/blocked_plugin.html
new file mode 100644
index 0000000000000000000000000000000000000000..bf97d5ed02803f72b29afc012c8f41529d206494
--- /dev/null
+++ b/chrome/renderer/resources/blocked_plugin.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+body {
+ background-color: rgb(252, 235, 162);
+ margin: 0;
+ text-align: center;
+ font-family: sans-serif;
+}
+
+#outer {
+ width: 100%;
+ height: 100%;
+ cursor: pointer;
+ position: absolute;
+}
+
+#inner {
+ position: relative;
+ top: 50%;
+ margin-top: -50px;
+}
+
+#top, #bottom, #left, #right {
+ background: black;
+ position: fixed;
+}
+#left, #right {
+ top: 0; bottom: 0;
+ width: 1px;
+}
+#left { left: 0; }
+#right { right: 0; }
+
+#top, #bottom {
+ left: 0; right: 0;
+ height: 1px;
+}
+#top { top: 0; }
+#bottom { bottom: 0; }
+</style>
+</head>
+
+<body id="t">
+<div id="outer" onclick="plugin.load()">
+<div id="left"></div>
+<div id="right"></div>
+<div id="top"></div>
+<div id="bottom"></div>
+<div id="inner">
+<div><img src="../../app/theme/extensions_section.png" /></div>
+<p i18n-content="loadPlugin">LOAD_PLUGIN</p>
+</div>
+</div>
+</body>
+</html>
« no previous file with comments | « chrome/renderer/renderer_resources.grd ('k') | webkit/glue/plugins/webview_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698