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

Side by Side Diff: services/sky/converters/basic_types.h

Issue 1235093002: Move sky_viewer into services/sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: again 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 | « services/sky/content_handler_impl.cc ('k') | services/sky/converters/basic_types.cc » ('j') | 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_CONVERTERS_BASIC_TYPES_H_ 5 #ifndef SKY_VIEWER_CONVERTERS_BASIC_TYPES_H_
6 #define SKY_VIEWER_CONVERTERS_BASIC_TYPES_H_ 6 #define SKY_VIEWER_CONVERTERS_BASIC_TYPES_H_
7 7
8 #include "mojo/public/cpp/bindings/array.h"
8 #include "mojo/public/cpp/bindings/type_converter.h" 9 #include "mojo/public/cpp/bindings/type_converter.h"
9
10 #include "mojo/public/cpp/bindings/array.h"
11 #include "sky/engine/public/platform/WebVector.h" 10 #include "sky/engine/public/platform/WebVector.h"
12 11
13 namespace blink { 12 namespace blink {
14 class WebString; 13 class WebString;
15 } 14 }
16 15
17 namespace mojo { 16 namespace mojo {
18 class String; 17 class String;
19 18
20 template<> 19 template<>
(...skipping 11 matching lines...) Expand all
32 Array<T> array(vector.size()); 31 Array<T> array(vector.size());
33 for (size_t i = 0; i < vector.size(); ++i) 32 for (size_t i = 0; i < vector.size(); ++i)
34 array[i] = TypeConverter<T, U>::Convert(vector[i]); 33 array[i] = TypeConverter<T, U>::Convert(vector[i]);
35 return array.Pass(); 34 return array.Pass();
36 } 35 }
37 }; 36 };
38 37
39 } // namespace mojo 38 } // namespace mojo
40 39
41 #endif // SKY_VIEWER_CONVERTERS_BASIC_TYPES_H_ 40 #endif // SKY_VIEWER_CONVERTERS_BASIC_TYPES_H_
OLDNEW
« no previous file with comments | « services/sky/content_handler_impl.cc ('k') | services/sky/converters/basic_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698