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

Side by Side Diff: third_party/WebKit/Source/modules/document_metadata/CopylessPasteServer.h

Issue 2787703002: Add mojo service for CopylessPaste in Blink (Closed)
Patch Set: makeUnique Created 3 years, 8 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 2017 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 CopylessPasteServer_h
6 #define CopylessPasteServer_h
7
8 #include "modules/ModulesExport.h"
9 #include "platform/heap/Persistent.h"
10 #include "public/platform/modules/document_metadata/copyless_paste.mojom-blink.h "
11
12 namespace blink {
13
14 class LocalFrame;
15
16 class MODULES_EXPORT CopylessPasteServer final
17 : public mojom::blink::CopylessPaste {
18 public:
19 explicit CopylessPasteServer(LocalFrame&);
20
21 static void bindMojoRequest(LocalFrame*, mojom::blink::CopylessPasteRequest);
22
23 void GetEntities(const GetEntitiesCallback&) override;
24
25 private:
26 WeakPersistent<LocalFrame> m_frame;
27 };
28
29 } // namespace blink
30
31 #endif // CopylessPasteServer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698