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

Unified Diff: blimp/client/core/blimp_client_context_impl.cc

Issue 2191743002: Setup the delegate in Chrome, so we may put chrome java functions we need in blimp to the delegate … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 4 years, 4 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: blimp/client/core/blimp_client_context_impl.cc
diff --git a/blimp/client/core/blimp_client_context_impl.cc b/blimp/client/core/blimp_client_context_impl.cc
index 076fc78f34ea64ed7f5f8af03e5d9688d9169896..22c829ebcd54e5511ac518d328d6b6483a4a9673 100644
--- a/blimp/client/core/blimp_client_context_impl.cc
+++ b/blimp/client/core/blimp_client_context_impl.cc
@@ -64,6 +64,10 @@ void BlimpClientContextImpl::SetDelegate(BlimpClientContextDelegate* delegate) {
delegate_ = delegate;
}
+BlimpClientContextDelegate* BlimpClientContextImpl::GetDelegate() {
+ return delegate_;
+}
+
std::unique_ptr<BlimpContents> BlimpClientContextImpl::CreateBlimpContents() {
std::unique_ptr<BlimpContents> blimp_contents =
base::MakeUnique<BlimpContentsImpl>();

Powered by Google App Engine
This is Rietveld 408576698