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

Issue 440663003: DevTools: remove unused resizing strategy code paths, make it solely bounds-based. (Closed)

Created:
6 years, 4 months ago by pfeldman
Modified:
6 years, 4 months ago
CC:
chromium-reviews, vsevik, tfarina, yurys, paulirish+reviews_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org
Project:
chromium
Visibility:
Public.

Description

DevTools: remove unused resizing strategy code paths, make it solely bounds-based; support hidden inspected contents case. TBR=tsepez (removing method from devtools dispatcher) NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288056

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : Extra layout removed. #

Total comments: 1

Patch Set 4 : sky's comments addressed. #

Total comments: 1

Patch Set 5 : for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -231 lines) Patch
M chrome/browser/devtools/devtools_contents_resizing_strategy.h View 2 chunks +6 lines, -14 lines 0 comments Download
M chrome/browser/devtools/devtools_contents_resizing_strategy.cc View 1 2 1 chunk +15 lines, -47 lines 0 comments Download
D chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc View 1 chunk +0 lines, -102 lines 0 comments Download
M chrome/browser/devtools/devtools_embedder_message_dispatcher.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/devtools/devtools_embedder_message_dispatcher.cc View 1 2 3 4 2 chunks +0 lines, -32 lines 0 comments Download
M chrome/browser/devtools/devtools_ui_bindings.h View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/devtools/devtools_ui_bindings.cc View 1 2 3 4 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/devtools/devtools_window.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/devtools/devtools_window.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/ui/cocoa/dev_tools_controller.mm View 1 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/contents_layout_manager.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
dgozman
devtools lgtm
6 years, 4 months ago (2014-08-04 15:31:19 UTC) #1
pfeldman
+ OWNERS: sky@: ui/views avi@: ui/cocoa please!
6 years, 4 months ago (2014-08-04 15:50:28 UTC) #2
sky
https://codereview.chromium.org/440663003/diff/100001/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/440663003/diff/100001/chrome/browser/ui/views/frame/browser_view.cc#newcode2138 chrome/browser/ui/views/frame/browser_view.cc:2138: contents_container_->ReorderChildView(contents_web_view_, order); Why do you need the reoder here?
6 years, 4 months ago (2014-08-04 17:01:25 UTC) #3
pfeldman
On 2014/08/04 17:01:25, sky wrote: > https://codereview.chromium.org/440663003/diff/100001/chrome/browser/ui/views/frame/browser_view.cc > File chrome/browser/ui/views/frame/browser_view.cc (right): > > https://codereview.chromium.org/440663003/diff/100001/chrome/browser/ui/views/frame/browser_view.cc#newcode2138 > ...
6 years, 4 months ago (2014-08-04 17:10:30 UTC) #4
Avi (use Gerrit)
I'm not an expert here. This looks plausible. LGTM
6 years, 4 months ago (2014-08-04 17:59:59 UTC) #5
sky
I'm still confused here. What does the stacking order look like with and without your ...
6 years, 4 months ago (2014-08-04 20:16:09 UTC) #6
pfeldman
When devtools is docked, container has two visible children: devtools contents and inspected web page ...
6 years, 4 months ago (2014-08-04 20:43:30 UTC) #7
sky
Could you explicitly reorder the view you care about then? That is, get the index ...
6 years, 4 months ago (2014-08-04 21:47:38 UTC) #8
pfeldman
On 2014/08/04 21:47:38, sky wrote: > Could you explicitly reorder the view you care about ...
6 years, 4 months ago (2014-08-05 08:10:49 UTC) #9
pfeldman
PTAL
6 years, 4 months ago (2014-08-05 08:22:54 UTC) #10
sky
LGTM https://codereview.chromium.org/440663003/diff/120001/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/440663003/diff/120001/chrome/browser/ui/views/frame/browser_view.cc#newcode2144 chrome/browser/ui/views/frame/browser_view.cc:2144: bool devtoolsIsOnTop = devtools_index > contents_index; devtools_is_on_top.
6 years, 4 months ago (2014-08-05 16:27:48 UTC) #11
pfeldman
> chrome/browser/ui/views/frame/browser_view.cc:2144: bool devtoolsIsOnTop = > devtools_index > contents_index; > devtools_is_on_top. ouch.
6 years, 4 months ago (2014-08-05 19:17:33 UTC) #12
pfeldman
The CQ bit was checked by pfeldman@chromium.org
6 years, 4 months ago (2014-08-07 09:17:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pfeldman@chromium.org/440663003/140001
6 years, 4 months ago (2014-08-07 09:18:36 UTC) #14
pfeldman
The CQ bit was checked by pfeldman@chromium.org
6 years, 4 months ago (2014-08-07 14:07:00 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pfeldman@chromium.org/440663003/140001
6 years, 4 months ago (2014-08-07 14:07:29 UTC) #16
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 15:54:01 UTC) #17
Message was sent while issue was closed.
Change committed as 288056

Powered by Google App Engine
This is Rietveld 408576698