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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(V8MutationCallback); 42 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(V8MutationCallback);
43 USING_FAST_MALLOC_WILL_BE_REMOVED(V8MutationCallback); 43 USING_FAST_MALLOC_WILL_BE_REMOVED(V8MutationCallback);
44 public: 44 public:
45 static PassOwnPtrWillBeRawPtr<V8MutationCallback> create(v8::Local<v8::Funct ion> callback, v8::Local<v8::Object> owner, ScriptState* scriptState) 45 static PassOwnPtrWillBeRawPtr<V8MutationCallback> create(v8::Local<v8::Funct ion> callback, v8::Local<v8::Object> owner, ScriptState* scriptState)
46 { 46 {
47 return adoptPtrWillBeNoop(new V8MutationCallback(callback, owner, script State)); 47 return adoptPtrWillBeNoop(new V8MutationCallback(callback, owner, script State));
48 } 48 }
49 ~V8MutationCallback() override; 49 ~V8MutationCallback() override;
50 50
51 void call(const WillBeHeapVector<RefPtrWillBeMember<MutationRecord>>&, Mutat ionObserver*) override; 51 void call(const WillBeHeapVector<RefPtrWillBeMember<MutationRecord>>&, Mutat ionObserver*) override;
52 ExecutionContext* executionContext() const override { return ContextLifecycl eObserver::executionContext(); } 52 ExecutionContext* getExecutionContext() const override { return ContextLifec ycleObserver::getExecutionContext(); }
53 53
54 DECLARE_VIRTUAL_TRACE(); 54 DECLARE_VIRTUAL_TRACE();
55 55
56 private: 56 private:
57 V8MutationCallback(v8::Local<v8::Function>, v8::Local<v8::Object>, ScriptSta te*); 57 V8MutationCallback(v8::Local<v8::Function>, v8::Local<v8::Object>, ScriptSta te*);
58 58
59 static void setWeakCallback(const v8::WeakCallbackInfo<V8MutationCallback>&) ; 59 static void setWeakCallback(const v8::WeakCallbackInfo<V8MutationCallback>&) ;
60 60
61 ScopedPersistent<v8::Function> m_callback; 61 ScopedPersistent<v8::Function> m_callback;
62 RefPtr<ScriptState> m_scriptState; 62 RefPtr<ScriptState> m_scriptState;
63 }; 63 };
64 64
65 } // namespace blink 65 } // namespace blink
66 66
67 #endif // V8MutationCallback_h 67 #endif // V8MutationCallback_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698