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

Issue 7104042: ui/views: Fix the signature of View::OnViewAdded/Removed overridden methods. (Closed)

Created:
9 years, 6 months ago by tfarina
Modified:
9 years, 6 months ago
CC:
chromium-reviews, dhollowa, Paweł Hajdan Jr.
Visibility:
Public.

Description

ui/views: Fix the signature of View::OnViewAdded/Removed overridden methods. The signature changed from (commit bf2f7326): virtual void OnViewAdded(View* parent, View* child); To: virtual void OnViewAdded(const View& parent, const View& child); BUG=72040 TEST=None R=ben@chromium.org,sky@chromium.org,pkasting@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88392

Patch Set 1 : #

Total comments: 2

Patch Set 2 : sky,peter review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -9 lines) Patch
M ui/views/view_unittest.cc View 1 2 chunks +6 lines, -5 lines 0 comments Download
M ui/views/widget/root_view.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/root_view.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
tfarina
Please, take a look.
9 years, 6 months ago (2011-06-07 23:34:35 UTC) #1
sky
I'm not seeing these methods anymore. -Scott http://codereview.chromium.org/7104042/diff/1004/ui/views/view_unittest.cc File ui/views/view_unittest.cc (right): http://codereview.chromium.org/7104042/diff/1004/ui/views/view_unittest.cc#newcode60 ui/views/view_unittest.cc:60: ObserverView() : ...
9 years, 6 months ago (2011-06-08 15:57:35 UTC) #2
tfarina
On Wed, Jun 8, 2011 at 12:57 PM, <sky@chromium.org> wrote: > I'm not seeing these ...
9 years, 6 months ago (2011-06-08 17:30:00 UTC) #3
sky
My mistake, I was looking in views not ui/views. You need to ask Ben about ...
9 years, 6 months ago (2011-06-08 17:36:34 UTC) #4
tfarina
On 2011/06/08 17:36:34, sky wrote: > My mistake, I was looking in views not ui/views. ...
9 years, 6 months ago (2011-06-08 18:05:03 UTC) #5
Peter Kasting
No harm in fixing these, I did similar things myself a while ago. LGTM with ...
9 years, 6 months ago (2011-06-08 19:10:53 UTC) #6
tfarina
9 years, 6 months ago (2011-06-08 19:13:56 UTC) #7
http://codereview.chromium.org/7104042/diff/1004/ui/views/view_unittest.cc
File ui/views/view_unittest.cc (right):

http://codereview.chromium.org/7104042/diff/1004/ui/views/view_unittest.cc#ne...
ui/views/view_unittest.cc:60: ObserverView() : view_added_(false),
On 2011/06/08 15:57:35, sky wrote:
> The old code is the correct indentation style. See
> http://www.corp.google.com/eng/doc/cppguide.xml#Constructor_Initializer_Lists
.

Done.

Powered by Google App Engine
This is Rietveld 408576698