diff options
Diffstat (limited to 'webkit/api/public/WebFrame.h')
-rw-r--r-- | webkit/api/public/WebFrame.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/webkit/api/public/WebFrame.h b/webkit/api/public/WebFrame.h index 50b50b3..b5840ba 100644 --- a/webkit/api/public/WebFrame.h +++ b/webkit/api/public/WebFrame.h @@ -215,8 +215,11 @@ namespace WebKit { // Styling ------------------------------------------------------------- // Insert the given text as a STYLE element at the beginning of the - // document. - virtual bool insertStyleText(const WebString&) = 0; + // document. |elementId| can be empty, but if specified then it is used + // as the id for the newly inserted element (replacing an existing one + // with the same id, if any). + virtual bool insertStyleText(const WebString& styleText, + const WebString& elementId) = 0; // Navigation ---------------------------------------------------------- |