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

Unified Diff: mojo/services/html_viewer/blink_platform_impl.h

Issue 562483002: mojo: Create a basic clipboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes for sky; commenting. Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/html_viewer/blink_platform_impl.h
diff --git a/mojo/services/html_viewer/blink_platform_impl.h b/mojo/services/html_viewer/blink_platform_impl.h
index 5aaf3582ada626b3b7fa275e92adae2db1ad1c83..73c7206d5092a1273b3ac319db08f90125130a15 100644
--- a/mojo/services/html_viewer/blink_platform_impl.h
+++ b/mojo/services/html_viewer/blink_platform_impl.h
@@ -17,6 +17,7 @@
namespace mojo {
class ApplicationImpl;
+class WebClipboardImpl;
class WebCookieJarImpl;
class BlinkPlatformImpl : public blink::Platform {
@@ -26,6 +27,7 @@ class BlinkPlatformImpl : public blink::Platform {
// blink::Platform methods:
virtual blink::WebCookieJar* cookieJar();
+ virtual blink::WebClipboard* clipboard();
virtual blink::WebMimeRegistry* mimeRegistry();
virtual blink::WebThemeEngine* themeEngine();
virtual blink::WebString defaultLocale();
@@ -74,6 +76,7 @@ class BlinkPlatformImpl : public blink::Platform {
base::ThreadLocalStorage::Slot current_thread_slot_;
WebThemeEngineImpl theme_engine_;
scoped_ptr<WebCookieJarImpl> cookie_jar_;
+ scoped_ptr<WebClipboardImpl> clipboard_;
WebMimeRegistryImpl mime_registry_;
blink::WebScrollbarBehavior scrollbar_behavior_;

Powered by Google App Engine
This is Rietveld 408576698