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

Side by Side Diff: src/api.h

Issue 1282503003: Remove several grab-bag includes from the v8.h header. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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 | « src/accessors.h ('k') | src/api.cc » ('j') | src/v8.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project 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 V8_API_H_ 5 #ifndef V8_API_H_
6 #define V8_API_H_ 6 #define V8_API_H_
7 7
8 #include "src/v8.h"
9
10 #include "include/v8-testing.h" 8 #include "include/v8-testing.h"
11 #include "src/contexts.h" 9 #include "src/contexts.h"
12 #include "src/factory.h" 10 #include "src/factory.h"
13 #include "src/isolate.h" 11 #include "src/isolate.h"
14 #include "src/list-inl.h" 12 #include "src/list-inl.h"
13 #include "src/objects-inl.h"
15 14
16 namespace v8 { 15 namespace v8 {
17 16
18 // Constants used in the implementation of the API. The most natural thing 17 // Constants used in the implementation of the API. The most natural thing
19 // would usually be to place these with the classes that use them, but 18 // would usually be to place these with the classes that use them, but
20 // we want to keep them out of v8.h because it is an externally 19 // we want to keep them out of v8.h because it is an externally
21 // visible file. 20 // visible file.
22 class Consts { 21 class Consts {
23 public: 22 public:
24 enum TemplateType { 23 enum TemplateType {
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 stress_type_ = stress_type; 638 stress_type_ = stress_type;
640 } 639 }
641 640
642 private: 641 private:
643 static v8::Testing::StressType stress_type_; 642 static v8::Testing::StressType stress_type_;
644 }; 643 };
645 644
646 } } // namespace v8::internal 645 } } // namespace v8::internal
647 646
648 #endif // V8_API_H_ 647 #endif // V8_API_H_
OLDNEW
« no previous file with comments | « src/accessors.h ('k') | src/api.cc » ('j') | src/v8.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698