OLD | NEW |
---|---|
(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 | |
haraken
2017/04/06 02:26:32
Add a class-level comment.
wychen
2017/04/06 15:34:58
I think the coding style in Blink was more like pr
| |
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 | |
OLD | NEW |