OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 #include "chrome/renderer/loadtimes_extension_bindings.h" | 5 #include "chrome/renderer/loadtimes_extension_bindings.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 | 8 |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "chrome/renderer/navigation_state.h" | 10 #include "content/renderer/navigation_state.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
12 #include "v8/include/v8.h" | 12 #include "v8/include/v8.h" |
13 | 13 |
14 using WebKit::WebDataSource; | 14 using WebKit::WebDataSource; |
15 using WebKit::WebFrame; | 15 using WebKit::WebFrame; |
16 using WebKit::WebNavigationType; | 16 using WebKit::WebNavigationType; |
17 | 17 |
18 // Values for CSI "tran" property | 18 // Values for CSI "tran" property |
19 const int kTransitionLink = 0; | 19 const int kTransitionLink = 0; |
20 const int kTransitionForwardBack = 6; | 20 const int kTransitionForwardBack = 6; |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 } | 177 } |
178 return v8::Null(); | 178 return v8::Null(); |
179 } | 179 } |
180 }; | 180 }; |
181 | 181 |
182 v8::Extension* LoadTimesExtension::Get() { | 182 v8::Extension* LoadTimesExtension::Get() { |
183 return new LoadTimesExtensionWrapper(); | 183 return new LoadTimesExtensionWrapper(); |
184 } | 184 } |
185 | 185 |
186 } // namespace extensions_v8 | 186 } // namespace extensions_v8 |
OLD | NEW |