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

Issue 10908234: Add high DPI assets and update defaults for CrOS find in page bar. (Closed)

Created:
8 years, 3 months ago by flackr
Modified:
8 years, 3 months ago
Reviewers:
oshima, sky
CC:
chromium-reviews, tfarina, oshima+watch_chromium.org, Sebastien Gabriel
Visibility:
Public.

Description

Add high DPI assets and update defaults for CrOS find in page bar. The new theme has a pushed image for the find next and find prev buttons, requires the find in page text boxes to have a transparent background as the theme draws a partially transparent text box area which partially shows the theme panel color through. Also we use the tab close button for the find in page bar. BUG=149032 TEST=Run chrome with --force-device-scale-factor=2, find in page bar is high DPI. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=157358

Patch Set 1 #

Patch Set 2 : Use tab close button for find bar. #

Patch Set 3 : Use new find bar assets on cros only. #

Total comments: 2

Patch Set 4 : Only set transparent background on chromeos where new theme images are used. #

Total comments: 3

Patch Set 5 : Only use tab close button on chromeos. #

Patch Set 6 : Merge with master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, --40 lines) Patch
A chrome/app/theme/default_100_percent/cros/find_box_bg.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/find_box_bg_left.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/find_dialog_left.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/find_dialog_middle.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/find_dialog_right.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/find_dlg_left_bg.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/find_dlg_middle_bg.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/find_dlg_right_bg.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/find_next.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/find_next_disabled.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/find_next_hover.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/find_next_pressed.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/find_prev.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/find_prev_disabled.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/find_prev_hover.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/find_prev_pressed.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/default_100_percent/find_box_bg.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/default_100_percent/find_box_bg_left.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/default_100_percent/find_dialog_left.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/default_100_percent/find_dialog_middle.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/default_100_percent/find_dialog_right.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/default_100_percent/find_dlg_left_bg.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/default_100_percent/find_dlg_middle_bg.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/default_100_percent/find_dlg_right_bg.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/default_100_percent/find_next.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/default_100_percent/find_next_disabled.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/default_100_percent/find_next_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/default_100_percent/find_prev.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/default_100_percent/find_prev_disabled.png View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/default_100_percent/find_prev_hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_box_bg.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_box_bg_left.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_dialog_left.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_dialog_middle.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_dialog_right.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_dlg_left_bg.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_dlg_middle_bg.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_dlg_right_bg.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_next.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_next_disabled.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_next_hover.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_next_pressed.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_prev.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_prev_disabled.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_prev_hover.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/default_200_percent/cros/find_prev_pressed.png View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 2 3 4 5 1 chunk +36 lines, -14 lines 0 comments Download
D chrome/app/theme/touch_100_percent/common/find_box_bg.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/touch_100_percent/common/find_box_bg_left.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/touch_100_percent/common/find_dialog_left.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/touch_100_percent/common/find_dialog_middle.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/touch_100_percent/common/find_dialog_right.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/touch_100_percent/common/find_next.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/touch_100_percent/common/find_next_disabled.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/touch_100_percent/common/find_next_hover.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/touch_100_percent/common/find_next_pressed.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/touch_100_percent/common/find_prev.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/touch_100_percent/common/find_prev_disabled.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/touch_100_percent/common/find_prev_hover.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/app/theme/touch_100_percent/common/find_prev_pressed.png View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/browser/ui/gtk/find_bar_gtk.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/find_bar_view.cc View 1 2 3 4 7 chunks +35 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
flackr
Hi, This adds the new find bar resources. PTAL, thanks!
8 years, 3 months ago (2012-09-13 20:44:51 UTC) #1
oshima
lgtm
8 years, 3 months ago (2012-09-13 21:49:50 UTC) #2
flackr
+sky for owners.
8 years, 3 months ago (2012-09-13 22:22:49 UTC) #3
sky
If this only adds resources, why do you need to touch the find bar files?
8 years, 3 months ago (2012-09-14 02:02:51 UTC) #4
flackr
On 2012/09/14 02:02:51, sky wrote: > If this only adds resources, why do you need ...
8 years, 3 months ago (2012-09-14 02:40:18 UTC) #5
flackr
On 2012/09/14 02:40:18, flackr wrote: > On 2012/09/14 02:02:51, sky wrote: > > If this ...
8 years, 3 months ago (2012-09-14 02:41:24 UTC) #6
sky
Windows doesn't support transparent child windows. Did you make sure this works on on windows? ...
8 years, 3 months ago (2012-09-14 16:10:36 UTC) #7
flackr
Hey, I had a build in progress last night, tried it this morning and you're ...
8 years, 3 months ago (2012-09-14 16:49:33 UTC) #8
sky
You'll have to talk with the ux folks. If there expectation is this applies every ...
8 years, 3 months ago (2012-09-14 17:21:06 UTC) #9
flackr
Hi, As discussed, I've updated the patch to only use the new resources on cros ...
8 years, 3 months ago (2012-09-14 20:11:28 UTC) #10
sky
http://codereview.chromium.org/10908234/diff/3005/chrome/browser/ui/views/find_bar_view.cc File chrome/browser/ui/views/find_bar_view.cc (right): http://codereview.chromium.org/10908234/diff/3005/chrome/browser/ui/views/find_bar_view.cc#newcode87 chrome/browser/ui/views/find_bar_view.cc:87: find_text_->SetBackgroundColor(kFindBoxBackgroundColor); Don't you only want this for chromeos?
8 years, 3 months ago (2012-09-14 21:57:30 UTC) #11
flackr
http://codereview.chromium.org/10908234/diff/3005/chrome/browser/ui/views/find_bar_view.cc File chrome/browser/ui/views/find_bar_view.cc (right): http://codereview.chromium.org/10908234/diff/3005/chrome/browser/ui/views/find_bar_view.cc#newcode87 chrome/browser/ui/views/find_bar_view.cc:87: find_text_->SetBackgroundColor(kFindBoxBackgroundColor); On 2012/09/14 21:57:30, sky wrote: > Don't you ...
8 years, 3 months ago (2012-09-15 01:46:34 UTC) #12
sky
Yes, please with the ifdef. On Fri, Sep 14, 2012 at 6:46 PM, <flackr@chromium.org> wrote: ...
8 years, 3 months ago (2012-09-16 17:37:23 UTC) #13
flackr
Done. On 2012/09/16 17:37:23, sky wrote: > Yes, please with the ifdef. > > On ...
8 years, 3 months ago (2012-09-16 23:18:31 UTC) #14
sky
http://codereview.chromium.org/10908234/diff/14007/chrome/browser/ui/views/find_bar_view.cc File chrome/browser/ui/views/find_bar_view.cc (right): http://codereview.chromium.org/10908234/diff/14007/chrome/browser/ui/views/find_bar_view.cc#newcode150 chrome/browser/ui/views/find_bar_view.cc:150: rb.GetImageSkiaNamed(IDR_TAB_CLOSE)); Sorry, one last question. Are you sure about ...
8 years, 3 months ago (2012-09-17 13:47:06 UTC) #15
flackr
http://codereview.chromium.org/10908234/diff/14007/chrome/browser/ui/views/find_bar_view.cc File chrome/browser/ui/views/find_bar_view.cc (right): http://codereview.chromium.org/10908234/diff/14007/chrome/browser/ui/views/find_bar_view.cc#newcode150 chrome/browser/ui/views/find_bar_view.cc:150: rb.GetImageSkiaNamed(IDR_TAB_CLOSE)); On 2012/09/17 13:47:06, sky wrote: > Sorry, one ...
8 years, 3 months ago (2012-09-17 14:02:27 UTC) #16
oshima
just want to double check. are you sure png files you deleted in touch_100_percent aren't ...
8 years, 3 months ago (2012-09-17 16:28:39 UTC) #17
flackr
On 2012/09/17 16:28:39, oshima wrote: > just want to double check. are you sure png ...
8 years, 3 months ago (2012-09-17 16:30:39 UTC) #18
oshima
thanks. resource lgtm On Mon, Sep 17, 2012 at 9:30 AM, <flackr@chromium.org> wrote: > On ...
8 years, 3 months ago (2012-09-17 16:41:34 UTC) #19
flackr
Sorry for no diff from previous version, git-cl upload is encountering errors uploading previous versions ...
8 years, 3 months ago (2012-09-17 18:34:34 UTC) #20
sky
8 years, 3 months ago (2012-09-17 21:06:54 UTC) #21
LGTM

Powered by Google App Engine
This is Rietveld 408576698