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

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

Issue 716043002: Implement event sender service for testing (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 #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 "gin/handle.h" 9 #include "gin/handle.h"
10 #include "gin/object_template_builder.h" 10 #include "gin/object_template_builder.h"
11 #include "gin/wrappable.h" 11 #include "gin/wrappable.h"
12 #include "sky/viewer/services/test_harness.mojom.h" 12 #include "sky/services/testing/test_harness.mojom.h"
13 13
14 namespace sky { 14 namespace sky {
15 class DocumentView; 15 class DocumentView;
16 16
17 class Internals : public gin::Wrappable<Internals> { 17 class Internals : public gin::Wrappable<Internals> {
18 public: 18 public:
19 static gin::WrapperInfo kWrapperInfo; 19 static gin::WrapperInfo kWrapperInfo;
20 static gin::Handle<Internals> Create(v8::Isolate*, DocumentView*); 20 static gin::Handle<Internals> Create(v8::Isolate*, DocumentView*);
21 21
22 virtual ~Internals(); 22 virtual ~Internals();
(...skipping 14 matching lines...) Expand all
37 37
38 base::WeakPtr<DocumentView> document_view_; 38 base::WeakPtr<DocumentView> document_view_;
39 TestHarnessPtr test_harness_; 39 TestHarnessPtr test_harness_;
40 40
41 MOJO_DISALLOW_COPY_AND_ASSIGN(Internals); 41 MOJO_DISALLOW_COPY_AND_ASSIGN(Internals);
42 }; 42 };
43 43
44 } // namespace sky 44 } // namespace sky
45 45
46 #endif // SKY_VIEWER_INTERNALS_H_ 46 #endif // SKY_VIEWER_INTERNALS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698