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

Issue 132203004: Remove window_snapshot.* (Closed)

Created:
6 years, 11 months ago by enne (OOO)
Modified:
6 years, 11 months ago
CC:
chromium-reviews, jennb, jianli, Dmitry Titov, dcheng, Nico
Visibility:
Public.

Description

Remove window_snapshot.* The two simple functions here only have one caller each, so move them closer to where they are used. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245444

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Patch Set 3 : Fix logic, remove includes #

Patch Set 4 : old chunk mismatch; reuploading #

Patch Set 5 : Rebase #

Patch Set 6 : Add missing include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -75 lines) Patch
M chrome/browser/prefs/browser_prefs.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/screenshot_taker.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.mm View 1 2 3 4 5 2 chunks +4 lines, -5 lines 0 comments Download
D chrome/browser/ui/window_snapshot/window_snapshot.h View 1 1 chunk +0 lines, -36 lines 0 comments Download
D chrome/browser/ui/window_snapshot/window_snapshot.cc View 1 chunk +0 lines, -29 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/test/base/interactive_test_utils_win.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
enne (OOO)
mukai: review ben: chrome/browser/ui OWNERS pam: chrome/browser/prefs OWNERS Depends on https://codereview.chromium.org/126373002/ and https://codereview.chromium.org/124393006/ to remove ...
6 years, 11 months ago (2014-01-09 19:36:22 UTC) #1
Jun Mukai
lgtm, I like this. It might be good to ask Mac guys (like thakis) for ...
6 years, 11 months ago (2014-01-09 19:44:32 UTC) #2
Pam (message me for reviews)
prefs lgtm - Pam
6 years, 11 months ago (2014-01-09 19:44:33 UTC) #3
enne (OOO)
+thakis FYI for chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.mm if you'd like to review
6 years, 11 months ago (2014-01-09 19:45:41 UTC) #4
Nico
lgtm, but the panels code is dimich's (so cc'ing him fhi)
6 years, 11 months ago (2014-01-09 19:50:39 UTC) #5
jianli
https://codereview.chromium.org/132203004/diff/1/chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.mm File chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.mm (right): https://codereview.chromium.org/132203004/diff/1/chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.mm#newcode308 chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.mm:308: if (ui::GrabWindowSnapshot(panel->GetNativeWindow(), &png, snapshot_bounds)) Should we break out for ...
6 years, 11 months ago (2014-01-10 00:47:36 UTC) #6
enne (OOO)
https://codereview.chromium.org/132203004/diff/1/chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.mm File chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.mm (right): https://codereview.chromium.org/132203004/diff/1/chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.mm#newcode308 chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.mm:308: if (ui::GrabWindowSnapshot(panel->GetNativeWindow(), &png, snapshot_bounds)) On 2014/01/10 00:47:37, jianli wrote: ...
6 years, 11 months ago (2014-01-10 01:29:38 UTC) #7
jianli
On Thu, Jan 9, 2014 at 5:29 PM, <enne@chromium.org> wrote: > > https://codereview.chromium.org/132203004/diff/1/chrome/ > browser/ui/cocoa/panels/panel_stack_window_cocoa.mm ...
6 years, 11 months ago (2014-01-10 07:12:09 UTC) #8
enne (OOO)
On 2014/01/10 07:12:09, jianli wrote: > We used to break out of the loop when ...
6 years, 11 months ago (2014-01-16 20:54:18 UTC) #9
jianli
Panels lgtm
6 years, 11 months ago (2014-01-17 00:46:19 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/132203004/240001
6 years, 11 months ago (2014-01-17 00:47:57 UTC) #11
commit-bot: I haz the power
Failed to apply patch for chrome/chrome_browser_ui.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-17 00:48:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/132203004/240002
6 years, 11 months ago (2014-01-17 00:52:59 UTC) #13
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=212907
6 years, 11 months ago (2014-01-17 01:25:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/132203004/550001
6 years, 11 months ago (2014-01-17 02:36:18 UTC) #15
commit-bot: I haz the power
6 years, 11 months ago (2014-01-17 06:42:45 UTC) #16
Message was sent while issue was closed.
Change committed as 245444

Powered by Google App Engine
This is Rietveld 408576698