diff options
author | mihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-28 18:04:03 +0000 |
---|---|---|
committer | mihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-28 18:04:03 +0000 |
commit | 01cf589c36d50698579d255e09ae219d263263b4 (patch) | |
tree | b26a6a4ab3eef2a75abe9ee59300893c16820608 /ui/gfx/gl/gl_implementation.h | |
parent | 52cc9ca13f57ad494fdd7de03dc50f47e741dcba (diff) | |
download | chromium_src-01cf589c36d50698579d255e09ae219d263263b4.zip chromium_src-01cf589c36d50698579d255e09ae219d263263b4.tar.gz chromium_src-01cf589c36d50698579d255e09ae219d263263b4.tar.bz2 |
Switch from WebDocument::insertStyleText to ::insertUserStyleSheet for programatic CSS injection.
Inserting CSS as a user stylesheet is both consistent with content script
injection and better for compatibility, since it does not affect the page's DOM.
Removes the other call of insertStyleText (for infobar CSS injection),
thus it should be possible to remove it after a WebKit roll.
Depends on http://webkit.org/b/65158
BUG=82220
TEST=no
R=mpcomplete@chromium.org
Review URL: http://codereview.chromium.org/7517001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94499 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/gl/gl_implementation.h')
0 files changed, 0 insertions, 0 deletions