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

Side by Side Diff: sky/engine/bindings/builtin_natives.cc

Issue 915293003: Rename sky/engine/bindings2 to sky/engine/bindings (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: more better Created 5 years, 10 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 | « sky/engine/bindings/builtin_natives.h ('k') | sky/engine/bindings/builtin_sky.h » ('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 #include "sky/engine/config.h" 5 #include "sky/engine/config.h"
6 #include "sky/engine/bindings2/builtin_natives.h" 6 #include "sky/engine/bindings/builtin_natives.h"
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 #include <string.h> 10 #include <string.h>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "dart/runtime/include/dart_api.h" 15 #include "dart/runtime/include/dart_api.h"
16 #include "sky/engine/bindings2/builtin.h" 16 #include "sky/engine/bindings/builtin.h"
17 #include "sky/engine/core/dom/Microtask.h" 17 #include "sky/engine/core/dom/Microtask.h"
18 #include "sky/engine/core/script/dom_dart_state.h" 18 #include "sky/engine/core/script/dom_dart_state.h"
19 #include "sky/engine/tonic/dart_api_scope.h" 19 #include "sky/engine/tonic/dart_api_scope.h"
20 #include "sky/engine/tonic/dart_builtin.h" 20 #include "sky/engine/tonic/dart_builtin.h"
21 #include "sky/engine/tonic/dart_error.h" 21 #include "sky/engine/tonic/dart_error.h"
22 #include "sky/engine/tonic/dart_isolate_scope.h" 22 #include "sky/engine/tonic/dart_isolate_scope.h"
23 #include "sky/engine/tonic/dart_state.h" 23 #include "sky/engine/tonic/dart_state.h"
24 #include "sky/engine/tonic/dart_value.h" 24 #include "sky/engine/tonic/dart_value.h"
25 #include "sky/engine/wtf/text/WTFString.h" 25 #include "sky/engine/wtf/text/WTFString.h"
26 26
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 void Timer_cancel(Dart_NativeArguments args) { 177 void Timer_cancel(Dart_NativeArguments args) {
178 int64_t timer_id = 0; 178 int64_t timer_id = 0;
179 DART_CHECK_VALID(Dart_GetNativeIntegerArgument(args, 0, &timer_id)); 179 DART_CHECK_VALID(Dart_GetNativeIntegerArgument(args, 0, &timer_id));
180 180
181 DOMDartState* state = DOMDartState::Current(); 181 DOMDartState* state = DOMDartState::Current();
182 DOMTimer::removeByID(state->document(), timer_id); 182 DOMTimer::removeByID(state->document(), timer_id);
183 } 183 }
184 184
185 } // namespace blink 185 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/bindings/builtin_natives.h ('k') | sky/engine/bindings/builtin_sky.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698