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

Issue 10855151: Gradient overlay for constrained window (Closed)

Created:
8 years, 4 months ago by sail
Modified:
8 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, darin-cc_chromium.org, brettw-cc_chromium.org, groby-ooo-7-16, Mike Wittman, xiyuan, Albert Bodenhamer
Visibility:
Public.

Description

Gradient overlay for constrained window As a part of the new constrained window look and feel we're changing the the solid gray overlay to a gradient overlay. The overlay fades in on show and fades out on hide. Screenshots: light background: http://i.imgur.com/GJj6L.png dark background: http://i.imgur.com/s37da.png BUG=140520 TEST=Run with --enable-frameless-constrained-dialogs. Navigate to http://www.imagemator.com/ Click "Click to pick an image." Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152059 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=152065

Patch Set 1 #

Patch Set 2 : use switch #

Patch Set 3 : test #

Total comments: 18

Patch Set 4 : address review comments #

Patch Set 5 : remove debug code #

Patch Set 6 : address review comments #

Patch Set 7 : rebase #

Total comments: 6

Patch Set 8 : address review comments #

Patch Set 9 : fix win build #

Patch Set 10 : fix test #

Patch Set 11 : fix chromeos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -11 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/chrome_render_view_observer.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_render_view_observer.cc View 1 2 chunks +23 lines, -10 lines 0 comments Download
A chrome/renderer/webview_animating_overlay.h View 1 2 3 4 5 1 chunk +53 lines, -0 lines 0 comments Download
A chrome/renderer/webview_animating_overlay.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +113 lines, -0 lines 0 comments Download
A chrome/renderer/webview_animating_overlay_browsertest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +32 lines, -0 lines 0 comments Download
M content/public/renderer/render_view.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/test/render_view_test.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/test/render_view_test.cc View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M ui/base/animation/animation_unittest.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M ui/base/animation/linear_animation.h View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M ui/base/animation/linear_animation.cc View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
sail
8 years, 4 months ago (2012-08-14 18:19:48 UTC) #1
jamesr
Seems mostly reasonable - you've almost got me convinced to hook up a better animation ...
8 years, 4 months ago (2012-08-14 19:08:24 UTC) #2
Nico
Looking pretty good! I'm not sure if LinearAnimation actually helps, but it was written for ...
8 years, 4 months ago (2012-08-14 21:14:12 UTC) #3
sail
https://chromiumcodereview.appspot.com/10855151/diff/4001/chrome/renderer/webview_animating_overlay.cc File chrome/renderer/webview_animating_overlay.cc (right): https://chromiumcodereview.appspot.com/10855151/diff/4001/chrome/renderer/webview_animating_overlay.cc#newcode35 chrome/renderer/webview_animating_overlay.cc:35: } else { On 2012/08/14 21:14:12, Nico wrote: > ...
8 years, 4 months ago (2012-08-15 05:26:19 UTC) #4
Nico
lgtm https://chromiumcodereview.appspot.com/10855151/diff/8003/chrome/renderer/webview_animating_overlay.cc File chrome/renderer/webview_animating_overlay.cc (right): https://chromiumcodereview.appspot.com/10855151/diff/8003/chrome/renderer/webview_animating_overlay.cc#newcode17 chrome/renderer/webview_animating_overlay.cc:17: const int kAnimationDurationMiliseconds = 5000; 5 seconds is ...
8 years, 4 months ago (2012-08-15 18:26:14 UTC) #5
sail
https://chromiumcodereview.appspot.com/10855151/diff/8003/chrome/renderer/webview_animating_overlay.cc File chrome/renderer/webview_animating_overlay.cc (right): https://chromiumcodereview.appspot.com/10855151/diff/8003/chrome/renderer/webview_animating_overlay.cc#newcode17 chrome/renderer/webview_animating_overlay.cc:17: const int kAnimationDurationMiliseconds = 5000; On 2012/08/15 18:26:14, Nico ...
8 years, 4 months ago (2012-08-15 18:34:35 UTC) #6
sail
joi: content/public/ OWNERS review jamesr: content/render/ OWNERS review ben: ui/base/animation OWNERS review
8 years, 4 months ago (2012-08-15 18:37:09 UTC) #7
jamesr
content/renderer lgtm
8 years, 4 months ago (2012-08-15 18:54:33 UTC) #8
Jói
LGTM for content/public.
8 years, 4 months ago (2012-08-15 19:08:38 UTC) #9
sail
+sky for ui/base/animation OWNERS review
8 years, 4 months ago (2012-08-15 22:41:16 UTC) #10
sky
LGTM
8 years, 4 months ago (2012-08-16 00:27:48 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10855151/7004
8 years, 4 months ago (2012-08-16 00:32:08 UTC) #12
commit-bot: I haz the power
Try job failure for 10855151-7004 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-16 01:21:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10855151/9004
8 years, 4 months ago (2012-08-16 03:32:25 UTC) #14
commit-bot: I haz the power
Try job failure for 10855151-9004 (retry) (retry) on linux_rel for steps "interactive_ui_tests, unit_tests". It's a ...
8 years, 4 months ago (2012-08-16 05:45:56 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10855151/9004
8 years, 4 months ago (2012-08-16 14:56:44 UTC) #16
commit-bot: I haz the power
Try job failure for 10855151-9004 (retry) on linux_rel for steps "interactive_ui_tests, unit_tests". It's a second ...
8 years, 4 months ago (2012-08-16 15:59:13 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10855151/9004
8 years, 4 months ago (2012-08-16 16:14:54 UTC) #18
commit-bot: I haz the power
Try job failure for 10855151-9004 (retry) (retry) on linux_rel for step "unit_tests". It's a second ...
8 years, 4 months ago (2012-08-16 17:52:42 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10855151/9004
8 years, 4 months ago (2012-08-16 19:40:56 UTC) #20
commit-bot: I haz the power
Try job failure for 10855151-9004 (retry) on linux_rel for step "unit_tests". It's a second try, ...
8 years, 4 months ago (2012-08-16 21:19:25 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10855151/9004
8 years, 4 months ago (2012-08-16 23:23:02 UTC) #22
commit-bot: I haz the power
Try job failure for 10855151-9004 (retry) on linux_rel for steps "interactive_ui_tests, unit_tests". It's a second ...
8 years, 4 months ago (2012-08-17 00:58:44 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10855151/11026
8 years, 4 months ago (2012-08-17 05:19:59 UTC) #24
commit-bot: I haz the power
8 years, 4 months ago (2012-08-17 06:51:10 UTC) #25
Change committed as 152059

Powered by Google App Engine
This is Rietveld 408576698