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

Unified Diff: blimp/test/test_client.cc

Issue 1929723002: [Blimp] Adds blimp engine browser test framework and LoadUrl test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addresses comments and rebases Created 4 years, 8 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
« blimp/test/test_client.h ('K') | « blimp/test/test_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/test/test_client.cc
diff --git a/blimp/test/test_client.cc b/blimp/test/test_client.cc
new file mode 100644
index 0000000000000000000000000000000000000000..14e669be82ee9ec828eb1f7f33bedc99d3569830
--- /dev/null
+++ b/blimp/test/test_client.cc
@@ -0,0 +1,38 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "blimp/test/test_client.h"
Kevin M 2016/05/02 21:32:40 test_client_session.h ? Put this in client/test?
haibinlu 2016/05/03 19:32:43 Done. put it under client/session
+
+#include "third_party/skia/include/core/SkBitmap.h"
+
+namespace blimp {
+namespace {
+// Assigner is not actually used in this test.
+const char kAssignerUrl[] = "http://www.assigner.test/";
+} // namespace
+
+TestClientSession::TestClientSession()
+ : client::BlimpClientSession(GURL(kAssignerUrl)) {}
+
+TestClientSession::~TestClientSession() {}
+
+MockNavigationFeatureDelegate::MockNavigationFeatureDelegate() {}
+
+MockNavigationFeatureDelegate::~MockNavigationFeatureDelegate() {}
+
+MockRenderWidgetFeatureDelegate::MockRenderWidgetFeatureDelegate() {}
+
+MockRenderWidgetFeatureDelegate::~MockRenderWidgetFeatureDelegate() {}
+
+void MockRenderWidgetFeatureDelegate::OnCompositorMessageReceived(
+ int render_widget_id,
+ std::unique_ptr<cc::proto::CompositorMessage> message) {
+ OnCompositorMessageReceivedPtr(render_widget_id, message.get());
+}
+
+MockImeFeatureDelegate::MockImeFeatureDelegate() {}
+
+MockImeFeatureDelegate::~MockImeFeatureDelegate() {}
+
+} // namespace blimp
« blimp/test/test_client.h ('K') | « blimp/test/test_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698