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

Unified Diff: Source/core/frame/DOMWindowPrivateScript.h

Issue 516273002: Move plugin placeholder style to CSS, and allow it to bypass main world CSP. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase and rewrite 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/DOMWindowPrivateScript.h
diff --git a/Source/platform/PlatformResourceLoader.h b/Source/core/frame/DOMWindowPrivateScript.h
similarity index 53%
copy from Source/platform/PlatformResourceLoader.h
copy to Source/core/frame/DOMWindowPrivateScript.h
index e2db013c6374320729c668ddc9cee5f5f198294f..889598c0f1d159803be707610d2239b122ce3a54 100644
--- a/Source/platform/PlatformResourceLoader.h
+++ b/Source/core/frame/DOMWindowPrivateScript.h
@@ -2,16 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PlatformResourceLoader_h
-#define PlatformResourceLoader_h
+#ifndef DOMWindowPrivateScript_h
+#define DOMWindowPrivateScript_h
-#include "platform/PlatformExport.h"
#include "wtf/text/WTFString.h"
namespace blink {
-PLATFORM_EXPORT String loadResourceAsASCIIString(const char* resource);
+class DOMWindowPrivateScript {
+public:
+ String loadPlatformResource(const String& name);
+};
} // namespace blink
-#endif // PlatformResourceLoader_h
+#endif // DOMWindowPrivateScript_h

Powered by Google App Engine
This is Rietveld 408576698