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

Issue 18183: First pass as implementing the greasemonkey API. This patch (Closed)

Created:
11 years, 11 months ago by Aaron Boodman
Modified:
9 years, 6 months ago
Reviewers:
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

First pass as implementing the greasemonkey API. This patch includes a javascript file with stubbed versions of all the greasemoney API methods as well as changes to the Greasemonkey slave to inject this javascript file along with other user scripts into the page.I also have a userscript I'm using for the unit testing of the API methods. I don't think there is a good place for it in the chrome tree (if there is I'd like to know), but you can view it here: http://skrul.com/greasemonkey/test.user.js Right now all the tests fail except for testLog and testUnsafeWindow.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -11 lines) Patch
M chrome/renderer/render_view.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/renderer/render_view_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/renderer/renderer_resources.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/renderer_resources.rc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/user_script_slave.h View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/renderer/user_script_slave.cc View 3 chunks +33 lines, -3 lines 0 comments Download
M webkit/glue/webframe.h View 1 chunk +4 lines, -2 lines 0 comments Download
M webkit/glue/webframe_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M webkit/glue/webframe_impl.cc View 1 chunk +3 lines, -2 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698