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

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

Issue 579503003: Revert of mojo: Create a basic clipboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « mojo/services/html_viewer/blink_platform_impl.h ('k') | mojo/services/html_viewer/webclipboard_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/html_viewer/blink_platform_impl.cc
diff --git a/mojo/services/html_viewer/blink_platform_impl.cc b/mojo/services/html_viewer/blink_platform_impl.cc
index 315a850db217211f48bd00116b52a23d1c146a21..1d19b830585f3fbad9f215c65b54a0e884056b32 100644
--- a/mojo/services/html_viewer/blink_platform_impl.cc
+++ b/mojo/services/html_viewer/blink_platform_impl.cc
@@ -11,7 +11,6 @@
#include "base/synchronization/waitable_event.h"
#include "base/time/time.h"
#include "mojo/public/cpp/application/application_impl.h"
-#include "mojo/services/html_viewer/webclipboard_impl.h"
#include "mojo/services/html_viewer/webcookiejar_impl.h"
#include "mojo/services/html_viewer/websockethandle_impl.h"
#include "mojo/services/html_viewer/webthread_impl.h"
@@ -60,10 +59,6 @@
CookieStorePtr cookie_store;
network_service_->GetCookieStore(Get(&cookie_store));
cookie_jar_.reset(new WebCookieJarImpl(cookie_store.Pass()));
-
- ClipboardPtr clipboard;
- app->ConnectToService("mojo:mojo_clipboard", &clipboard);
- clipboard_.reset(new WebClipboardImpl(clipboard.Pass()));
}
BlinkPlatformImpl::~BlinkPlatformImpl() {
@@ -71,10 +66,6 @@
blink::WebCookieJar* BlinkPlatformImpl::cookieJar() {
return cookie_jar_.get();
-}
-
-blink::WebClipboard* BlinkPlatformImpl::clipboard() {
- return clipboard_.get();
}
blink::WebMimeRegistry* BlinkPlatformImpl::mimeRegistry() {
« no previous file with comments | « mojo/services/html_viewer/blink_platform_impl.h ('k') | mojo/services/html_viewer/webclipboard_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698