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

Issue 9624013: Re-enable extension GPU features (Closed)

Created:
8 years, 9 months ago by Josh Horwich
Modified:
8 years, 9 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip+watch_chromium.org, piman, zel
Visibility:
Public.

Description

Re-enable extension GPU features. Re-enabling GPU-related features for extension pages, incl. background pages. One new ExtensionBrowserTest ExtensionBrowserTest.Canvas2D: tests using Canvas2D from an extension background page I had also created a second test, but subsequently removed it due to failures on linux_chromeos trybots that don't reproduce locally: ExtensionBrowserTest.BackgroundGL: tests creating a WebGL context from extension background page BUG=chromium-os:26524 TEST=browser_tests ExtensionBrowserTest.* TEST=Run Chat for Google extension with PPAPI gtalk/o3d Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=125966

Patch Set 1 #

Patch Set 2 : Remove BackgroundGL test #

Patch Set 3 : Remove AURA qualifier #

Total comments: 6

Patch Set 4 : Remove WebGLBackground test, move Canvas2D to background_page_apitest #

Patch Set 5 : Remove old Canvas2D test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -47 lines) Patch
A chrome/browser/extensions/background_page_apitest.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_browsertests_misc.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
D chrome/browser/extensions/extension_webglbackground_apitest.cc View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/extensions/extension_webkit_preferences.cc View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
A chrome/test/data/extensions/api_test/canvas_2d/background.html View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/canvas_2d/manifest.json View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
D chrome/test/data/extensions/api_test/webglbackground/manifest.json View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download
D chrome/test/data/extensions/api_test/webglbackground/test.html View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
D chrome/test/data/extensions/api_test/webglbackground/test.js View 1 2 3 1 chunk +0 lines, -10 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Josh Horwich
Please take a look. I discussed with saintlou@, he wanted to keep this confined to ...
8 years, 9 months ago (2012-03-08 22:27:42 UTC) #1
jamesr
I think it is unwise to restrict this to aura - that's basically saying we ...
8 years, 9 months ago (2012-03-08 23:41:44 UTC) #2
Emmanuel Saint-loubert-Bié
James, I understand your concerns, however Aura is what is driving this change in the ...
8 years, 9 months ago (2012-03-08 23:55:41 UTC) #3
jamesr
On 2012/03/08 23:55:41, Emmanuel Saint-loubert wrote: > James, > > I understand your concerns, however ...
8 years, 9 months ago (2012-03-08 23:58:15 UTC) #4
Emmanuel Saint-loubert-Bié
I see your point James. We will change our approach then.
8 years, 9 months ago (2012-03-09 00:14:20 UTC) #5
Josh Horwich
OK, I can try it without the AURA guards. One question though, would it be ...
8 years, 9 months ago (2012-03-09 00:15:35 UTC) #6
Aaron Boodman
Ok, this is one way to solve the problem :) extension changes lgtm
8 years, 9 months ago (2012-03-09 00:56:30 UTC) #7
Aaron Boodman
spoke too soon https://chromiumcodereview.appspot.com/9624013/diff/14001/chrome/browser/extensions/extension_browsertests_misc.cc File chrome/browser/extensions/extension_browsertests_misc.cc (right): https://chromiumcodereview.appspot.com/9624013/diff/14001/chrome/browser/extensions/extension_browsertests_misc.cc#newcode701 chrome/browser/extensions/extension_browsertests_misc.cc:701: IN_PROC_BROWSER_TEST_F(ExtensionBrowserTest, Canvas2D) { Did you see ...
8 years, 9 months ago (2012-03-09 01:00:06 UTC) #8
Josh Horwich
A quick question for Aaron https://chromiumcodereview.appspot.com/9624013/diff/14001/chrome/browser/extensions/extension_browsertests_misc.cc File chrome/browser/extensions/extension_browsertests_misc.cc (right): https://chromiumcodereview.appspot.com/9624013/diff/14001/chrome/browser/extensions/extension_browsertests_misc.cc#newcode701 chrome/browser/extensions/extension_browsertests_misc.cc:701: IN_PROC_BROWSER_TEST_F(ExtensionBrowserTest, Canvas2D) { On ...
8 years, 9 months ago (2012-03-09 01:21:56 UTC) #9
Aaron Boodman
On Thu, Mar 8, 2012 at 5:21 PM, <jhorwich@chromium.org> wrote: > Didn't see the note. ...
8 years, 9 months ago (2012-03-09 01:45:20 UTC) #10
Josh Horwich
On 2012/03/09 01:45:20, Aaron Boodman wrote: > On Thu, Mar 8, 2012 at 5:21 PM, ...
8 years, 9 months ago (2012-03-09 02:25:01 UTC) #11
Josh Horwich
Please take a look. I also removed a now-incorrect test for no-WebGL-for-background-pages as well. https://chromiumcodereview.appspot.com/9624013/diff/14001/chrome/browser/extensions/extension_browsertests_misc.cc ...
8 years, 9 months ago (2012-03-09 02:26:25 UTC) #12
Rick Byers
I believe accelerated compositing was initially disabled on background pages (by sadrul@) as a work-around ...
8 years, 9 months ago (2012-03-09 18:15:02 UTC) #13
Josh Horwich
Rick, I did the steps you described (and verified the tab for the offline "GMail ...
8 years, 9 months ago (2012-03-09 20:14:22 UTC) #14
Rick Byers
On 2012/03/09 20:14:22, Josh Horwich wrote: > Rick, > I did the steps you described ...
8 years, 9 months ago (2012-03-09 20:22:48 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jhorwich@chromium.org/9624013/21001
8 years, 9 months ago (2012-03-09 21:46:34 UTC) #16
commit-bot: I haz the power
8 years, 9 months ago (2012-03-10 01:02:39 UTC) #17
Change committed as 125966

Powered by Google App Engine
This is Rietveld 408576698