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

Issue 8681025: Add methods needed for overflow panels to NativePanel interface. (Closed)

Created:
9 years, 1 month ago by jianli
Modified:
9 years ago
Reviewers:
jennb, Dmitry Titov, prasadt
CC:
chromium-reviews, jennb, dcheng, prasadt
Visibility:
Public.

Description

Add methods needed for overflow panels to NativePanel interface. Add methods to NativePanel. Also provide dummy implementation for all platforms. BUG=none TEST=no test due to no new functionity Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112532

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix trybot #

Total comments: 9

Patch Set 3 : Fix per feedback #

Total comments: 2

Patch Set 4 : git try #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -0 lines) Patch
M chrome/browser/ui/panels/native_panel.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_view.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_view.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_cocoa.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_cocoa.mm View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_gtk.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_gtk.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
jianli
9 years, 1 month ago (2011-11-24 01:04:13 UTC) #1
jennb
Thanks for sending this out early so we can get an idea of the planned ...
9 years, 1 month ago (2011-11-24 01:16:28 UTC) #2
jianli
http://codereview.chromium.org/8681025/diff/1/chrome/browser/ui/panels/native_panel.h File chrome/browser/ui/panels/native_panel.h (right): http://codereview.chromium.org/8681025/diff/1/chrome/browser/ui/panels/native_panel.h#newcode81 chrome/browser/ui/panels/native_panel.h:81: virtual gfx::Size GetIconifiedPanelSize() const = 0; On 2011/11/24 01:16:28, ...
9 years, 1 month ago (2011-11-24 01:47:10 UTC) #3
Dmitry Titov
http://codereview.chromium.org/8681025/diff/1009/chrome/browser/ui/panels/native_panel.h File chrome/browser/ui/panels/native_panel.h (right): http://codereview.chromium.org/8681025/diff/1009/chrome/browser/ui/panels/native_panel.h#newcode85 chrome/browser/ui/panels/native_panel.h:85: virtual void EnsurePanelFullyVisible() = 0; BringToTopWithoutActivation? http://codereview.chromium.org/8681025/diff/1009/chrome/browser/ui/panels/native_panel.h#newcode87 chrome/browser/ui/panels/native_panel.h:87: // ...
9 years, 1 month ago (2011-11-24 02:21:48 UTC) #4
jianli
On Wed, Nov 23, 2011 at 6:21 PM, <dimich@chromium.org> wrote: > > http://codereview.chromium.**org/8681025/diff/1009/chrome/** > browser/ui/panels/native_**panel.h<http://codereview.chromium.org/8681025/diff/1009/chrome/browser/ui/panels/native_panel.h> ...
9 years, 1 month ago (2011-11-24 02:39:53 UTC) #5
prasadt
http://codereview.chromium.org/8681025/diff/1009/chrome/browser/ui/panels/native_panel.h File chrome/browser/ui/panels/native_panel.h (right): http://codereview.chromium.org/8681025/diff/1009/chrome/browser/ui/panels/native_panel.h#newcode38 chrome/browser/ui/panels/native_panel.h:38: }; This doesn't apply to Linux as panels don't ...
9 years, 1 month ago (2011-11-24 03:37:19 UTC) #6
jennb
Maybe what we need is a brief design overflow of how OverflowStrip will interface with ...
9 years ago (2011-11-28 19:02:01 UTC) #7
Dmitry Titov
http://codereview.chromium.org/8681025/diff/1009/chrome/browser/ui/panels/native_panel.h File chrome/browser/ui/panels/native_panel.h (right): http://codereview.chromium.org/8681025/diff/1009/chrome/browser/ui/panels/native_panel.h#newcode81 chrome/browser/ui/panels/native_panel.h:81: virtual gfx::Size GetIconifiedPanelSize() const = 0; On 2011/11/28 19:02:01, ...
9 years ago (2011-11-30 23:27:01 UTC) #8
jianli
Removed UpdatePanelInDesktopBar as discussed.
9 years ago (2011-12-01 02:07:12 UTC) #9
Dmitry Titov
lgtm
9 years ago (2011-12-01 02:17:21 UTC) #10
prasadt
lgtm I still think iconified in GetIconifiedPanelSize is confusing but I don't have any great ...
9 years ago (2011-12-01 03:41:36 UTC) #11
jianli
On 2011/12/01 03:41:36, prasadt wrote: > lgtm > > I still think iconified in GetIconifiedPanelSize ...
9 years ago (2011-12-01 18:35:06 UTC) #12
jennb
LGTM http://codereview.chromium.org/8681025/diff/8001/chrome/browser/ui/panels/native_panel.h File chrome/browser/ui/panels/native_panel.h (right): http://codereview.chromium.org/8681025/diff/8001/chrome/browser/ui/panels/native_panel.h#newcode76 chrome/browser/ui/panels/native_panel.h:76: virtual gfx::Size GetIconifiedPanelSize() const = 0; Agree with ...
9 years ago (2011-12-01 18:45:24 UTC) #13
Dmitry Titov
9 years ago (2011-12-01 18:58:52 UTC) #14
I'd propose we land it. It's a trivial patch that is already there for a week.
If we find a better names for things, it's a very easy cleanup.

The name is a bikeshedding here. As we change design to add a some other
indicator (message counter?) it may change semantics. It's not important what
exactly the view of the panel in overflow bar includes, baking it into name is
exposing actual implementation. I'd say it's "SizeForOverflowModeMinimized"
which is horrible. We might not have good name before we actually implement a
bit more of the stuff.

Lets move forward.

Powered by Google App Engine
This is Rietveld 408576698