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

Issue 2173033002: Make various views SetShape() methods take an unique_ptr. (Closed)

Created:
4 years, 5 months ago by Lei Zhang
Modified:
4 years, 4 months ago
Reviewers:
sadrul
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make various views SetShape() methods take unique_ptrs. Committed: https://crrev.com/2df98d87938c41d13c367f94f8621f4fe7543542 Cr-Commit-Position: refs/heads/master@{#407534}

Patch Set 1 #

Total comments: 4

Patch Set 2 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -87 lines) Patch
M chrome/browser/ui/views/apps/chrome_native_app_window_views.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/views/mus/native_widget_mus.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/mus/native_widget_mus.cc View 2 chunks +1 line, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc View 1 1 chunk +26 lines, -26 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc View 6 chunks +12 lines, -13 lines 0 comments Download
M ui/views/widget/desktop_aura/x11_topmost_window_finder_interactive_uitest.cc View 8 chunks +14 lines, -18 lines 0 comments Download
M ui/views/widget/native_widget_aura.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M ui/views/widget/native_widget_mac.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/widget/native_widget_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/native_widget_private.h View 2 chunks +2 lines, -1 line 0 comments Download
M ui/views/widget/widget.h View 3 chunks +3 lines, -4 lines 0 comments Download
M ui/views/widget/widget.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
Lei Zhang
4 years, 5 months ago (2016-07-22 10:52:49 UTC) #7
sadrul
Thanks for the cleanup! lgtm https://codereview.chromium.org/2173033002/diff/1/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc File chrome/browser/ui/views/apps/chrome_native_app_window_views.cc (right): https://codereview.chromium.org/2173033002/diff/1/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc#newcode358 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc:358: base::WrapUnique(shape() ? new SkRegion(*shape()) ...
4 years, 5 months ago (2016-07-23 00:59:16 UTC) #8
Lei Zhang
https://codereview.chromium.org/2173033002/diff/1/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc File chrome/browser/ui/views/apps/chrome_native_app_window_views.cc (right): https://codereview.chromium.org/2173033002/diff/1/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc#newcode358 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc:358: base::WrapUnique(shape() ? new SkRegion(*shape()) : nullptr)); On 2016/07/23 00:59:16, ...
4 years, 4 months ago (2016-07-25 17:57:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2173033002/20001
4 years, 4 months ago (2016-07-25 17:57:40 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-25 18:55:53 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-07-25 18:59:15 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2df98d87938c41d13c367f94f8621f4fe7543542
Cr-Commit-Position: refs/heads/master@{#407534}

Powered by Google App Engine
This is Rietveld 408576698