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

Issue 97633002: views: Cleanup PaintRestoredClientEdge() function. (Closed)

Created:
7 years ago by tfarina
Modified:
7 years ago
Reviewers:
James Cook, sadrul
CC:
chromium-reviews
Visibility:
Public.

Description

views: Cleanup PaintRestoredClientEdge() function. - Pass clang-format to make the code more readable, better indentation. - Better docs. - Reorganize the code to make more sense of the code flow. - Use GetImageSkiaNamed() instead of calling ToImageSkia() everywhere. - append _center prefix to some variables. BUG=None TEST=content_shell still works R=jamescook@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238293

Patch Set 1 #

Patch Set 2 : revert some changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -37 lines) Patch
M ui/views/window/custom_frame_view.cc View 1 1 chunk +51 lines, -37 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
tfarina
Is that cleanup fine? I think that will make easier to see the calculations we ...
7 years ago (2013-12-01 00:29:21 UTC) #1
James Cook
LGTM Recently I fixed a bug with windows having the wrong colors in the frame ...
7 years ago (2013-12-02 17:31:42 UTC) #2
sadrul
LGTM (just to confirm, this doesn't change any behaviour, right?)
7 years ago (2013-12-02 17:39:20 UTC) #3
tfarina
On 2013/12/02 17:39:20, sadrul wrote: > LGTM (just to confirm, this doesn't change any behaviour, ...
7 years ago (2013-12-02 18:43:52 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/97633002/20001
7 years ago (2013-12-03 01:44:05 UTC) #5
commit-bot: I haz the power
7 years ago (2013-12-03 03:38:03 UTC) #6
Message was sent while issue was closed.
Change committed as 238293

Powered by Google App Engine
This is Rietveld 408576698