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

Unified Diff: webkit/glue/webkit_glue.h

Issue 8602002: Move some webkit_glue embedder functions into WebKitPlatformSupport virtual methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix review nits Created 9 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
Index: webkit/glue/webkit_glue.h
diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h
index fe1799c54cd1cbc0715f6beab270d8621bd58745..bdbca08dad93ae4dae95ab0d5252bf262649aa0a 100644
--- a/webkit/glue/webkit_glue.h
+++ b/webkit/glue/webkit_glue.h
@@ -37,10 +37,6 @@ class WebFrame;
class WebString;
}
-namespace webkit {
-struct WebPluginInfo;
-}
-
namespace webkit_glue {
@@ -159,14 +155,6 @@ bool IsInspectorProtocolVersionSupported(const std::string& version);
// Glue to get resources from the embedder.
-// Gets a localized string given a message id. Returns an empty string if the
-// message id is not found.
-string16 GetLocalizedString(int message_id);
-
-// Returns the raw data for a resource. This resource must have been
-// specified as BINDATA in the relevant .rc file.
-base::StringPiece GetDataResource(int resource_id);
-
// Glue to access the clipboard.
// Get a clipboard that can be used to construct a ScopedClipboardWriterGlue.
@@ -197,10 +185,6 @@ void ClipboardReadHTML(ui::Clipboard::Buffer buffer, string16* markup,
void ClipboardReadImage(ui::Clipboard::Buffer buffer, std::string* data);
-// Embedders implement this function to return the list of plugins to Webkit.
-void GetPlugins(bool refresh,
- std::vector<webkit::WebPluginInfo>* plugins);
-
// Returns true if the protocol implemented to serve |url| supports features
// required by the media engine.
bool IsProtocolSupportedForMedia(const GURL& url);

Powered by Google App Engine
This is Rietveld 408576698