Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(817)

Issue 9652022: 3D CSS Effects in New Tab for Extensions (Closed)

Created:
8 years, 9 months ago by chebert
Modified:
8 years, 8 months ago
CC:
rdevlin.cronin_gmail.com, mitchellwrosen, clark.duvall, clintstaley
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

3D CSS webkit effects were not fully functional, as the compositor is disabled for the Chrome UI. So instead of using the VirtualURL, we use the URL. BUG=114652 TEST=Use extension that replaces new tab page and uses webkit CSS 3D effects -webkit-transform and -webkit-backface-hidden Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=127177

Patch Set 1 #

Patch Set 2 : Moved GetURL call to GetWebkitPrefs #

Patch Set 3 : Robust code. #

Patch Set 4 : Final changes #

Total comments: 2

Patch Set 5 : Comment changed. #

Total comments: 2

Patch Set 6 : Style fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M content/browser/tab_contents/tab_contents.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
chebert
GetWebkitPrefs() now uses GetURL() instaed of GetVirtualURL() since the compositor is disabled for the Chrome ...
8 years, 9 months ago (2012-03-09 01:27:32 UTC) #1
Avi (use Gerrit)
I have no idea what the consequences of this change are. John? Also, please use ...
8 years, 9 months ago (2012-03-09 01:31:07 UTC) #2
chebert
Sorry for the many patches. In the future I will be more careful. After some ...
8 years, 9 months ago (2012-03-09 04:06:09 UTC) #3
Avi (use Gerrit)
I still don't know enough to review this. aa?
8 years, 9 months ago (2012-03-09 04:09:31 UTC) #4
Aaron Boodman
Looks correct to me. Christopher, can you verify that: a) You saw the bug without ...
8 years, 9 months ago (2012-03-09 07:03:18 UTC) #5
Aaron Boodman
LGTM assuming a, b, and c are correct (I would ask for a test, but ...
8 years, 9 months ago (2012-03-09 07:04:58 UTC) #6
jam
I don't know enough about the different between GetVirtualURL() and GetURL(). I'll defer to Brett
8 years, 9 months ago (2012-03-09 07:24:13 UTC) #7
chebert
On 2012/03/09 07:04:58, Aaron Boodman wrote: > LGTM assuming a, b, and c are correct ...
8 years, 9 months ago (2012-03-10 19:11:40 UTC) #8
Aaron Boodman
On 2012/03/10 19:11:40, chebert wrote: > From what I have read, it seems to me ...
8 years, 9 months ago (2012-03-11 23:23:40 UTC) #9
jam
adding brettw
8 years, 9 months ago (2012-03-13 15:56:39 UTC) #10
brettw
This doesn't seem right. Doesn't this have the effect of enabling the compositor for chrome: ...
8 years, 9 months ago (2012-03-13 16:07:34 UTC) #11
brettw
From the patch, I don't see how this is limited to extensions. And if it ...
8 years, 9 months ago (2012-03-13 16:16:56 UTC) #12
brettw
It appears most of the virtual URLs have gone away. It used to be if ...
8 years, 9 months ago (2012-03-13 16:48:40 UTC) #13
chebert
When I was compiling, I noticed that interstitial_page_impl.cc makes a call to the static implementation ...
8 years, 9 months ago (2012-03-13 19:18:46 UTC) #14
brettw
I seem, poop. Okay, let's go with your original patch then, but can you put ...
8 years, 9 months ago (2012-03-13 19:28:11 UTC) #15
brettw
And would you also mind changing the static call in the interstitial page code to ...
8 years, 9 months ago (2012-03-13 19:29:12 UTC) #16
chebert
8 years, 9 months ago (2012-03-14 18:28:36 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/9652022/12001
8 years, 9 months ago (2012-03-15 18:42:33 UTC) #18
commit-bot: I haz the power
Presubmit check for 9652022-12001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 9 months ago (2012-03-15 18:42:36 UTC) #19
brettw
LGTM with comment change. http://codereview.chromium.org/9652022/diff/12001/content/browser/tab_contents/tab_contents.cc File content/browser/tab_contents/tab_contents.cc (right): http://codereview.chromium.org/9652022/diff/12001/content/browser/tab_contents/tab_contents.cc#newcode2297 content/browser/tab_contents/tab_contents.cc:2297: // We want to base ...
8 years, 9 months ago (2012-03-15 19:02:09 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/9652022/19001
8 years, 9 months ago (2012-03-15 23:10:52 UTC) #21
commit-bot: I haz the power
Failed to request the patch to try. Please note that binary filesare still unsupported at ...
8 years, 9 months ago (2012-03-16 01:58:07 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/9652022/19001
8 years, 9 months ago (2012-03-16 14:07:54 UTC) #23
commit-bot: I haz the power
Change committed as 127177
8 years, 9 months ago (2012-03-16 16:37:34 UTC) #24
Evan Stade
http://codereview.chromium.org/9652022/diff/19001/content/browser/tab_contents/tab_contents.cc File content/browser/tab_contents/tab_contents.cc (right): http://codereview.chromium.org/9652022/diff/19001/content/browser/tab_contents/tab_contents.cc#newcode2323 content/browser/tab_contents/tab_contents.cc:2323: GURL url = controller_.GetActiveEntry() operators go at end of ...
8 years, 9 months ago (2012-03-19 21:47:15 UTC) #25
chebert
8 years, 8 months ago (2012-03-26 22:23:35 UTC) #26
Thanks again for the review!

http://codereview.chromium.org/9652022/diff/12001/content/browser/tab_content...
File content/browser/tab_contents/tab_contents.cc (right):

http://codereview.chromium.org/9652022/diff/12001/content/browser/tab_content...
content/browser/tab_contents/tab_contents.cc:2297: // We want to base
compositing off the real URL, rather than the display URL.
On 2012/03/15 19:02:10, brettw wrote:
> "compositing" -> this code has nothing to do with compositing. You should say
> "We want to base the page config off of..." or something like that.

Done.

http://codereview.chromium.org/9652022/diff/19001/content/browser/tab_content...
File content/browser/tab_contents/tab_contents.cc (right):

http://codereview.chromium.org/9652022/diff/19001/content/browser/tab_content...
content/browser/tab_contents/tab_contents.cc:2323: GURL url =
controller_.GetActiveEntry()
On 2012/03/19 21:47:15, Evan Stade wrote:
> operators go at end of line, not beginning of new line

Done.

Powered by Google App Engine
This is Rietveld 408576698