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

Side by Side Diff: third_party/WebKit/Source/modules/extensions/DeveloperPrivate.h

Issue 2074263002: [Experimental] Fool around with exposing extension bindings via blink Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef DeveloperPrivate_h
6 #define DeveloperPrivate_h
7
8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "extensions/common/api/mojo/developer_private.mojom-blink.h"
10 #include "platform/heap/GarbageCollected.h"
11 #include "platform/heap/Heap.h"
12
13 namespace blink {
14
15 class LocalFrame;
16 class UpdateExtensionConfigurationParams;
17 class VoidCallback;
18
19 class DeveloperPrivate : public GarbageCollectedFinalized<DeveloperPrivate>, pub lic ScriptWrappable {
20 DEFINE_WRAPPERTYPEINFO();
21
22 public:
23 DeveloperPrivate(LocalFrame*);
24 virtual ~DeveloperPrivate() {}
25
26 static DeveloperPrivate* create(LocalFrame* frame)
27 {
28 return new DeveloperPrivate(frame);
29 }
30
31 void updateExtensionConfiguration(UpdateExtensionConfigurationParams&, VoidC allback*);
32 void onUpdateExtensionConfigurationCallback(VoidCallback*);
33
34 DECLARE_TRACE();
35
36 private:
37 extensions::mojom::blink::DeveloperPrivatePtr m_developerPrivate;
38 };
39
40 } // namespace blink
41
42 #endif // DeveloperPrivate
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698