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

Side by Side Diff: sky/viewer/internals.h

Issue 1214633009: Include mojo/public/cpp/bindings/binding.h wherever mojo::Binding<> is used. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « sky/viewer/compositor/surface_holder.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef SKY_VIEWER_INTERNALS_H_ 5 #ifndef SKY_VIEWER_INTERNALS_H_
6 #define SKY_VIEWER_INTERNALS_H_ 6 #define SKY_VIEWER_INTERNALS_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/supports_user_data.h" 9 #include "base/supports_user_data.h"
10 #include "dart/runtime/include/dart_api.h" 10 #include "dart/runtime/include/dart_api.h"
11 #include "mojo/public/cpp/bindings/binding.h"
11 #include "mojo/public/interfaces/application/shell.mojom.h" 12 #include "mojo/public/interfaces/application/shell.mojom.h"
12 #include "sky/services/testing/test_harness.mojom.h" 13 #include "sky/services/testing/test_harness.mojom.h"
13 14
14 namespace sky { 15 namespace sky {
15 class DocumentView; 16 class DocumentView;
16 17
17 class Internals : public base::SupportsUserData::Data, 18 class Internals : public base::SupportsUserData::Data,
18 public mojo::Shell { 19 public mojo::Shell {
19 public: 20 public:
20 ~Internals() override; 21 ~Internals() override;
(...skipping 19 matching lines...) Expand all
40 base::WeakPtr<DocumentView> document_view_; 41 base::WeakPtr<DocumentView> document_view_;
41 mojo::Binding<mojo::Shell> shell_binding_; 42 mojo::Binding<mojo::Shell> shell_binding_;
42 TestHarnessPtr test_harness_; 43 TestHarnessPtr test_harness_;
43 44
44 MOJO_DISALLOW_COPY_AND_ASSIGN(Internals); 45 MOJO_DISALLOW_COPY_AND_ASSIGN(Internals);
45 }; 46 };
46 47
47 } // namespace sky 48 } // namespace sky
48 49
49 #endif // SKY_VIEWER_INTERNALS_H_ 50 #endif // SKY_VIEWER_INTERNALS_H_
OLDNEW
« no previous file with comments | « sky/viewer/compositor/surface_holder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698