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

Side by Side Diff: third_party/WebKit/Source/core/frame/NavigatorClipboard.h

Issue 2695593006: Initial stub version of Async Clipboard API (Closed)
Patch Set: Expected layout tests results for mac Created 3 years, 5 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 NavigatorClipboard_h
6 #define NavigatorClipboard_h
7
8 #include "core/CoreExport.h"
9 #include "core/frame/Navigator.h"
10 #include "platform/Supplementable.h"
11 #include "platform/heap/Handle.h"
12 #include "platform/wtf/Noncopyable.h"
13
14 namespace blink {
15
16 class Clipboard;
17 class ScriptState;
18
19 class NavigatorClipboard final : public GarbageCollected<NavigatorClipboard>,
20 public Supplement<Navigator> {
21 USING_GARBAGE_COLLECTED_MIXIN(NavigatorClipboard);
22 WTF_MAKE_NONCOPYABLE(NavigatorClipboard);
23
24 public:
25 static Clipboard* clipboard(ScriptState*, Navigator&);
26
27 DECLARE_TRACE();
28
29 private:
30 explicit NavigatorClipboard(Navigator&);
31 static const char* SupplementName();
32
33 Member<Clipboard> clipboard_;
34 };
35
36 } // namespace blink
37
38 #endif // NavigatorClipboard.h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/BUILD.gn ('k') | third_party/WebKit/Source/core/frame/NavigatorClipboard.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698