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

Issue 10826126: Show the leading Section headline text in PageInfoBubbleView. (Closed)

Created:
8 years, 4 months ago by msw
Modified:
8 years, 4 months ago
CC:
chromium-reviews, tfarina, markusheintz_
Visibility:
Public.

Description

Show the leading Section headline text in PageInfoBubbleView. Ensure that the leading headline text is shown on layout. Selecting a [0,0] range moves the cursor to the leading text edge. Textfield implementations then pan to show the cursor position. Verified on local builds CrOS and Windows (with win/views textfields). BUG=140273 TEST=Page info bubbles show the leading section text on Win and CrOS. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149967

Patch Set 1 : Set the selection range in Layout. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M chrome/browser/ui/views/page_info_bubble_view.cc View 2 chunks +7 lines, -0 lines 2 comments Download

Messages

Total messages: 11 (0 generated)
msw
Hey Peter, please take a look, thanks! BTW, PageInfoBubble code is pretty bad (recreates Sections ...
8 years, 4 months ago (2012-08-03 06:34:56 UTC) #1
Peter Kasting
https://chromiumcodereview.appspot.com/10826126/diff/2001/chrome/browser/ui/views/page_info_bubble_view.cc File chrome/browser/ui/views/page_info_bubble_view.cc (right): https://chromiumcodereview.appspot.com/10826126/diff/2001/chrome/browser/ui/views/page_info_bubble_view.cc#newcode433 chrome/browser/ui/views/page_info_bubble_view.cc:433: headline_label_->SelectRange(ui::Range()); I don't think this is the right fix. ...
8 years, 4 months ago (2012-08-03 19:20:37 UTC) #2
msw
https://chromiumcodereview.appspot.com/10826126/diff/2001/chrome/browser/ui/views/page_info_bubble_view.cc File chrome/browser/ui/views/page_info_bubble_view.cc (right): https://chromiumcodereview.appspot.com/10826126/diff/2001/chrome/browser/ui/views/page_info_bubble_view.cc#newcode433 chrome/browser/ui/views/page_info_bubble_view.cc:433: headline_label_->SelectRange(ui::Range()); On 2012/08/03 19:20:37, Peter Kasting wrote: > I ...
8 years, 4 months ago (2012-08-03 20:10:19 UTC) #3
Peter Kasting
Why is this thing a textfield and not a label? It doesn't look to the ...
8 years, 4 months ago (2012-08-03 20:12:46 UTC) #4
msw
+ASvitkine for additional history. Apparently it's intentionally a textfield in order to support copying the ...
8 years, 4 months ago (2012-08-03 20:30:06 UTC) #5
Peter Kasting
LGTM I guess as a bandaid. Really not a fan of making this a textfield ...
8 years, 4 months ago (2012-08-03 20:35:14 UTC) #6
msw
On 2012/08/03 20:35:14, Peter Kasting wrote: > LGTM I guess as a bandaid. > > ...
8 years, 4 months ago (2012-08-03 20:52:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/10826126/2001
8 years, 4 months ago (2012-08-03 20:52:51 UTC) #8
commit-bot: I haz the power
Try job failure for 10826126-2001 (retry) on mac for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-03 21:07:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/10826126/2001
8 years, 4 months ago (2012-08-03 22:02:39 UTC) #10
commit-bot: I haz the power
8 years, 4 months ago (2012-08-03 23:25:54 UTC) #11
Change committed as 149967

Powered by Google App Engine
This is Rietveld 408576698