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

Side by Side Diff: mojo/services/view_manager/public/cpp/lib/view_private.cc

Issue 880743002: Plumb ViewportMetrics change notifications around the world and back. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Now without skydb changes Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "view_manager/public/cpp/lib/view_private.h" 5 #include "view_manager/public/cpp/lib/view_private.h"
6 6
7 namespace mojo { 7 namespace mojo {
8 8
9 ViewPrivate::ViewPrivate(View* view) 9 ViewPrivate::ViewPrivate(View* view)
10 : view_(view) { 10 : view_(view) {
11 CHECK(view);
eseidel 2015/01/27 22:46:58 This will just make crash stacks easier to read as
11 } 12 }
12 13
13 ViewPrivate::~ViewPrivate() { 14 ViewPrivate::~ViewPrivate() {
14 } 15 }
15 16
16 // static 17 // static
17 View* ViewPrivate::LocalCreate() { 18 View* ViewPrivate::LocalCreate() {
18 return new View; 19 return new View;
19 } 20 }
20 21
21 } // namespace mojo 22 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698