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

Side by Side Diff: mojo/edk/js/handle.h

Issue 709603002: Move mojo/apps/js tests et al to mojo/edk/js/test,tests (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: chromium environment for JS tests 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 MOJO_BINDINGS_JS_HANDLE_H_ 5 #ifndef MOJO_EDK_JS_HANDLE_H_
6 #define MOJO_BINDINGS_JS_HANDLE_H_ 6 #define MOJO_EDK_JS_HANDLE_H_
7 7
8 #include "base/observer_list.h" 8 #include "base/observer_list.h"
9 #include "gin/converter.h" 9 #include "gin/converter.h"
10 #include "gin/handle.h" 10 #include "gin/handle.h"
11 #include "gin/object_template_builder.h" 11 #include "gin/object_template_builder.h"
12 #include "gin/wrappable.h" 12 #include "gin/wrappable.h"
13 #include "mojo/public/cpp/system/core.h" 13 #include "mojo/public/cpp/system/core.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 namespace js { 16 namespace js {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 if (!Converter<mojo::js::HandleWrapper*>::FromV8(isolate, val, &object)) { 94 if (!Converter<mojo::js::HandleWrapper*>::FromV8(isolate, val, &object)) {
95 return false; 95 return false;
96 } 96 }
97 *out = gin::Handle<mojo::js::HandleWrapper>(val, object); 97 *out = gin::Handle<mojo::js::HandleWrapper>(val, object);
98 return true; 98 return true;
99 } 99 }
100 }; 100 };
101 101
102 } // namespace gin 102 } // namespace gin
103 103
104 #endif // MOJO_BINDINGS_JS_HANDLE_H_ 104 #endif // MOJO_EDK_JS_HANDLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698