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

Issue 169403004: Center browser dialogs with respect to docked devtools (Closed)

Created:
6 years, 10 months ago by lushnikov
Modified:
6 years, 10 months ago
Reviewers:
dgozman, sky, pfeldman
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Center browser dialogs with respect to docked devtools Currently browser dialogs are centered relatively to the main webcontents. If one has docked devtools which occupy 90% of the browser window, the dialog is hardly seen. This patch makes dialogs to be centered with respect to open devtools, which means centering to the container of both inspected webcontents and and devtools. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252048

Patch Set 1 #

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

Messages

Total messages: 15 (0 generated)
lushnikov
Please take a look on this change.
6 years, 10 months ago (2014-02-17 15:45:23 UTC) #1
dgozman
What about the Mac/Gtk ports? https://codereview.chromium.org/169403004/diff/1/chrome/browser/ui/views/frame/browser_view_layout.cc File chrome/browser/ui/views/frame/browser_view_layout.cc (right): https://codereview.chromium.org/169403004/diff/1/chrome/browser/ui/views/frame/browser_view_layout.cc#newcode82 chrome/browser/ui/views/frame/browser_view_layout.cc:82: views::View* view = browser_view_layout_->contents_container_; ...
6 years, 10 months ago (2014-02-17 16:03:03 UTC) #2
lushnikov
On 2014/02/17 16:03:03, dgozman wrote: > What about the Mac/Gtk ports? Both Mac/Gtk ports center ...
6 years, 10 months ago (2014-02-18 14:16:12 UTC) #3
dgozman
lgtm. I'm not an owner though.
6 years, 10 months ago (2014-02-18 14:17:37 UTC) #4
lushnikov
@sky: could you please review this change? https://codereview.chromium.org/169403004/diff/1/chrome/browser/ui/views/frame/browser_view_layout.cc File chrome/browser/ui/views/frame/browser_view_layout.cc (right): https://codereview.chromium.org/169403004/diff/1/chrome/browser/ui/views/frame/browser_view_layout.cc#newcode82 chrome/browser/ui/views/frame/browser_view_layout.cc:82: views::View* view ...
6 years, 10 months ago (2014-02-18 18:17:06 UTC) #5
sky
LGTM
6 years, 10 months ago (2014-02-18 21:22:52 UTC) #6
lushnikov
The CQ bit was checked by lushnikov@chromium.org
6 years, 10 months ago (2014-02-19 05:40:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lushnikov@chromium.org/169403004/1
6 years, 10 months ago (2014-02-19 05:40:20 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-19 06:37:59 UTC) #9
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=266215
6 years, 10 months ago (2014-02-19 06:38:00 UTC) #10
lushnikov
The CQ bit was checked by lushnikov@chromium.org
6 years, 10 months ago (2014-02-19 09:01:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lushnikov@chromium.org/169403004/1
6 years, 10 months ago (2014-02-19 09:01:49 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lushnikov@chromium.org/169403004/1
6 years, 10 months ago (2014-02-19 14:54:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lushnikov@chromium.org/169403004/1
6 years, 10 months ago (2014-02-19 15:27:32 UTC) #14
commit-bot: I haz the power
6 years, 10 months ago (2014-02-19 19:44:22 UTC) #15
Message was sent while issue was closed.
Change committed as 252048

Powered by Google App Engine
This is Rietveld 408576698