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

Issue 9985012: Adjust location of text in omnibox edit control for Metro. (Closed)

Created:
8 years, 8 months ago by Jói
Modified:
8 years, 7 months ago
Reviewers:
sail, Peter Kasting, sky
CC:
chromium-reviews, James Su
Visibility:
Public.

Description

Adjust location of text in omnibox edit control for Metro. BUG=126132 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137616

Patch Set 1 #

Total comments: 1

Patch Set 2 : Calculate text positioning. #

Total comments: 1

Patch Set 3 : Switch to passing height via constructor. #

Patch Set 4 : Minimize diff. #

Total comments: 2

Patch Set 5 : Address review comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -13 lines) Patch
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 2 chunks +6 lines, -2 lines 1 comment Download
M chrome/browser/ui/views/omnibox/omnibox_view_win.cc View 1 2 3 4 1 chunk +12 lines, -11 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Jói
This just moves the cursor to a more appropriate position. Next on my list is ...
8 years, 8 months ago (2012-04-19 15:25:41 UTC) #1
sky
I'm not sure if there are other subtleties if you tweak this. Peter knows better ...
8 years, 8 months ago (2012-04-19 15:56:18 UTC) #2
Peter Kasting
http://codereview.chromium.org/9985012/diff/1/chrome/browser/ui/views/omnibox/omnibox_view_win.cc File chrome/browser/ui/views/omnibox/omnibox_view_win.cc (right): http://codereview.chromium.org/9985012/diff/1/chrome/browser/ui/views/omnibox/omnibox_view_win.cc#newcode515 chrome/browser/ui/views/omnibox/omnibox_view_win.cc:515: text_baseline = 21; If I understand correctly, this is ...
8 years, 8 months ago (2012-04-19 17:39:55 UTC) #3
sail
How come ASH doesn't have this problem? Is there anyway to share code with them?
8 years, 8 months ago (2012-04-19 17:49:16 UTC) #4
Jói
Peter, thanks for the review. I wanted to point out that the previous code had ...
8 years, 8 months ago (2012-04-23 14:26:54 UTC) #5
Peter Kasting
On 2012/04/23 14:26:54, Jói wrote: > I'm just > wondering since this was the way ...
8 years, 8 months ago (2012-04-23 18:06:00 UTC) #6
sail
> > As I > > understand it, there is other work going on to ...
8 years, 8 months ago (2012-04-23 18:16:10 UTC) #7
Jói
Thanks Peter. Sailesh explained things pretty well. Just one more thing to add, is that ...
8 years, 8 months ago (2012-04-23 18:22:05 UTC) #8
Peter Kasting
On 2012/04/23 18:22:05, Jói wrote: > Thanks Peter. > > Sailesh explained things pretty well. ...
8 years, 8 months ago (2012-04-23 18:24:25 UTC) #9
Jói
I'll take a look to see if the right fix can be done now. I ...
8 years, 8 months ago (2012-04-23 18:29:18 UTC) #10
Jói
Peter: Please take another look. I finally got around to this fix again, and made ...
8 years, 7 months ago (2012-05-16 21:25:36 UTC) #11
Peter Kasting
Once you fix the issue below, it will be easy for me to review the ...
8 years, 7 months ago (2012-05-16 21:34:34 UTC) #12
Jói
Please take another look. On Wed, May 16, 2012 at 2:34 PM, <pkasting@chromium.org> wrote: > ...
8 years, 7 months ago (2012-05-16 22:49:13 UTC) #13
Peter Kasting
I just realized we can do even better than passing the height in, in the ...
8 years, 7 months ago (2012-05-16 23:19:50 UTC) #14
Jói
Thanks Peter. I don't think it should be a goal to minimize the number of ...
8 years, 7 months ago (2012-05-16 23:58:50 UTC) #15
Jói
Thanks again for the review. I've uploaded a version with the changes you suggested, I ...
8 years, 7 months ago (2012-05-17 00:29:21 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/9985012/18003
8 years, 7 months ago (2012-05-17 00:29:57 UTC) #17
Peter Kasting
https://chromiumcodereview.appspot.com/9985012/diff/18003/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): https://chromiumcodereview.appspot.com/9985012/diff/18003/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode522 chrome/browser/ui/views/location_bar/location_bar_view.cc:522: int location_height = std::max(height() - (kVerticalEdgeThickness * 2), 0); ...
8 years, 7 months ago (2012-05-17 01:09:06 UTC) #18
commit-bot: I haz the power
Change committed as 137616
8 years, 7 months ago (2012-05-17 02:21:51 UTC) #19
Jói
8 years, 7 months ago (2012-05-17 05:25:23 UTC) #20
Whoops, just saw this. Will address your suggestion in a separate change.
On May 16, 2012 7:21 PM, <commit-bot@chromium.org> wrote:

> Change committed as 137616
>
>
https://chromiumcodereview.**appspot.com/9985012/<https://chromiumcodereview....
>

Powered by Google App Engine
This is Rietveld 408576698