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

Unified Diff: webkit/api/public/WebFrame.h

Issue 203034: Theme support for the extension shelf (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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: webkit/api/public/WebFrame.h
===================================================================
--- webkit/api/public/WebFrame.h (revision 25988)
+++ webkit/api/public/WebFrame.h (working copy)
@@ -215,8 +215,11 @@
// 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 ----------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698