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

Side by Side Diff: sky/engine/bindings-dart/core/dart/DartMutationCallback.h

Issue 918273002: Remove bindings-dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
OLDNEW
(Empty)
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 #ifndef DartMutationCallback_h
8 #define DartMutationCallback_h
9
10 #include "bindings/core/dart/DartCallback.h"
11 #include "bindings/core/dart/DartDOMWrapper.h"
12 #include "bindings/core/v8/ActiveDOMCallback.h"
13 #include "core/dom/MutationCallback.h"
14
15 namespace blink {
16
17 class DartMutationCallback : public MutationCallback, public ActiveDOMCallback {
18 public:
19 static PassOwnPtr<DartMutationCallback> create(Dart_Handle object, Execution Context* context, Dart_Handle& exception)
20 {
21 return adoptPtr(new DartMutationCallback(object, exception, context));
22 }
23
24 virtual ExecutionContext* executionContext() const { return ActiveDOMCallbac k::executionContext(); }
25
26 virtual void call(const Vector<RefPtr<MutationRecord> >& mutations, Mutation Observer* observer);
27
28
29 private:
30 DartMutationCallback(Dart_Handle object, Dart_Handle& exception, ExecutionCo ntext* context)
31 : ActiveDOMCallback(context)
32 , m_callback(object, exception)
33 {
34 }
35
36 DartCallback m_callback;
37 };
38
39 }
40
41 #endif // DartMutationCallback_h
OLDNEW
« no previous file with comments | « sky/engine/bindings-dart/core/dart/DartLibraryIds.h ('k') | sky/engine/bindings-dart/core/dart/DartMutationCallback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698