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

Side by Side Diff: mojo/services/html_viewer/webclipboard_impl.h

Issue 861683003: Move services code brought in from Mojo to live under //third_party. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SERVICES_HTML_VIEWER_WEBCLIPBOARD_IMPL_H_ 5 #ifndef MOJO_SERVICES_HTML_VIEWER_WEBCLIPBOARD_IMPL_H_
6 #define MOJO_SERVICES_HTML_VIEWER_WEBCLIPBOARD_IMPL_H_ 6 #define MOJO_SERVICES_HTML_VIEWER_WEBCLIPBOARD_IMPL_H_
7 7
8 #include "mojo/services/clipboard/public/interfaces/clipboard.mojom.h"
9 #include "third_party/WebKit/public/platform/WebClipboard.h" 8 #include "third_party/WebKit/public/platform/WebClipboard.h"
9 #include "third_party/mojo_services/src/clipboard/public/interfaces/clipboard.mo jom.h"
10 10
11 namespace html_viewer { 11 namespace html_viewer {
12 12
13 class WebClipboardImpl : public blink::WebClipboard { 13 class WebClipboardImpl : public blink::WebClipboard {
14 public: 14 public:
15 WebClipboardImpl(mojo::ClipboardPtr clipboard); 15 WebClipboardImpl(mojo::ClipboardPtr clipboard);
16 virtual ~WebClipboardImpl(); 16 virtual ~WebClipboardImpl();
17 17
18 // blink::WebClipboard methods: 18 // blink::WebClipboard methods:
19 virtual uint64_t sequenceNumber(Buffer); 19 virtual uint64_t sequenceNumber(Buffer);
(...skipping 19 matching lines...) Expand all
39 mojo::Clipboard::Type ConvertBufferType(Buffer buffer); 39 mojo::Clipboard::Type ConvertBufferType(Buffer buffer);
40 40
41 mojo::ClipboardPtr clipboard_; 41 mojo::ClipboardPtr clipboard_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(WebClipboardImpl); 43 DISALLOW_COPY_AND_ASSIGN(WebClipboardImpl);
44 }; 44 };
45 45
46 } // namespace html_viewer 46 } // namespace html_viewer
47 47
48 #endif // MOJO_SERVICES_HTML_VIEWER_WEBCLIPBOARD_IMPL_H_ 48 #endif // MOJO_SERVICES_HTML_VIEWER_WEBCLIPBOARD_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/html_viewer/html_viewer.cc ('k') | mojo/services/html_viewer/weblayertreeview_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698