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

Issue 543215: Added Star button to compact navigation mode.... (Closed)

Created:
10 years, 11 months ago by whywhat
Modified:
9 years, 7 months ago
Reviewers:
oshima
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Added Star button to compact navigation mode. BUG=32326 TEST=Switch Chrome to compact mode by pressing Ctrl-Shift-C. Test that Star icon works. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=38166

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 12

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -204 lines) Patch
M chrome/browser/chromeos/browser_view.h View 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/browser_view.cc View 3 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/compact_location_bar_host.h View 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/compact_location_bar_host.cc View 3 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/compact_location_bar_view.h View 1 2 3 5 chunks +20 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/compact_location_bar_view.cc View 1 2 3 4 5 chunks +91 lines, -13 lines 0 comments Download
D chrome/browser/views/star_toggle.h View 2 3 1 chunk +0 lines, -69 lines 0 comments Download
D chrome/browser/views/star_toggle.cc View 2 3 1 chunk +0 lines, -81 lines 0 comments Download
M chrome/browser/views/toolbar_star_toggle.h View 2 3 4 4 chunks +26 lines, -7 lines 0 comments Download
M chrome/browser/views/toolbar_star_toggle.cc View 2 3 3 chunks +43 lines, -10 lines 0 comments Download
M chrome/browser/views/toolbar_view.cc View 2 3 4 3 chunks +6 lines, -21 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
whywhat
I think I finally got it working. Could you take a look?
10 years, 10 months ago (2010-02-03 23:54:18 UTC) #1
oshima
thanks. change looks fine. monior cosmetic comments. http://codereview.chromium.org/543215/diff/6001/7002 File chrome/browser/chromeos/compact_location_bar_view.cc (right): http://codereview.chromium.org/543215/diff/6001/7002#newcode233 chrome/browser/chromeos/compact_location_bar_view.cc:233: OSExchangeData* data) ...
10 years, 10 months ago (2010-02-04 00:32:34 UTC) #2
whywhat
Maybe we should just drop drag-n-drop support for now? DragController overrides would be just stubs ...
10 years, 10 months ago (2010-02-04 00:59:02 UTC) #3
whywhat
I tested Drag and drop on this star button: dragging surely works but dropping doesn't ...
10 years, 10 months ago (2010-02-04 05:25:16 UTC) #4
oshima
On Wed, Feb 3, 2010 at 9:25 PM, <avayvod@chromium.org> wrote: > I tested Drag and ...
10 years, 10 months ago (2010-02-04 07:24:23 UTC) #5
oshima
10 years, 10 months ago (2010-02-04 07:26:52 UTC) #6
LGTM


On 2010/02/04 05:25:16, whywhat wrote:
> I tested Drag and drop on this star button: dragging surely works but dropping
> doesn't since when you click on a link, compact location bar is hidden because
> it looses the focus.
> 
> I also noticed that star button puts the bookmark on Bookmarks bar, but the
bar
> is absent in compact mode. 
> 
> On 2010/02/04 00:59:02, whywhat wrote:
> > Maybe we should just drop drag-n-drop support for now? DragController
> overrides
> > would be just stubs then.
> > 
> > http://codereview.chromium.org/543215/diff/6001/7002
> > File chrome/browser/chromeos/compact_location_bar_view.cc (right):
> > 
> > http://codereview.chromium.org/543215/diff/6001/7002#newcode233
> > chrome/browser/chromeos/compact_location_bar_view.cc:233: OSExchangeData*
> data)
> > {
> > On 2010/02/04 00:32:34, oshima wrote:
> > > indent
> > 
> > Done.
> > 
> > http://codereview.chromium.org/543215/diff/6001/7006
> > File chrome/browser/views/toolbar_star_toggle.h (right):
> > 
> > http://codereview.chromium.org/543215/diff/6001/7006#newcode62
> > chrome/browser/views/toolbar_star_toggle.h:62: Profile* profile_;
> > On 2010/02/04 00:32:34, oshima wrote:
> > > emtpy line here
> > 
> > Done.
> > 
> > http://codereview.chromium.org/543215/diff/6001/7006#newcode64
> > chrome/browser/views/toolbar_star_toggle.h:64: views::View* host_view_;
> > On 2010/02/04 00:32:34, oshima wrote:
> > > and here.
> > 
> > Done.
> > 
> > http://codereview.chromium.org/543215/diff/6001/7004
> > File chrome/browser/views/toolbar_view.cc (right):
> > 
> > http://codereview.chromium.org/543215/diff/6001/7004#newcode7
> > chrome/browser/views/toolbar_view.cc:7: #include <algorithm>
> > On 2010/02/04 00:32:34, oshima wrote:
> > > do you need this?
> > 
> > Yes, I fixed this because lint complained. std::max is used somewhere in the
> > file.
> > 
> > http://codereview.chromium.org/543215/diff/6001/7003
> > File chrome/browser/views/toolbar_view.h (right):
> > 
> > http://codereview.chromium.org/543215/diff/6001/7003#newcode114
> > chrome/browser/views/toolbar_view.h:114: // Overriden from
> > ToolbarStarToggle::Delegate:
> > On 2010/02/04 00:32:34, oshima wrote:
> > > I think you changed the impl and you don't need this any more?
> > 
> > Done.

Powered by Google App Engine
This is Rietveld 408576698