summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webframe.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webframe.h')
-rw-r--r--webkit/glue/webframe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/webframe.h b/webkit/glue/webframe.h
index 90b1ec8..9be5100 100644
--- a/webkit/glue/webframe.h
+++ b/webkit/glue/webframe.h
@@ -99,6 +99,9 @@ class WebFrame {
virtual void ExecuteScriptInNewContext(
const webkit_glue::WebScriptSource* sources, int num_sources) = 0;
+ // Inserts the given CSS styles at the beginning of the document.
+ virtual bool InsertCSSStyles(const std::string& css) = 0;
+
// Returns a string representing the state of the previous page load for
// later use when loading. The previous page is the page that was loaded
// before DidCommitLoadForFrame was received.