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

Unified Diff: extensions/browser/app_window/test_app_window_contents.cc

Issue 696063008: Refactor ShellDesktopController and ShellNativeAppWindow to allow for non-aura implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: + Created 6 years, 1 month 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 | « extensions/browser/app_window/test_app_window_contents.h ('k') | extensions/browser/extensions_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/app_window/test_app_window_contents.cc
diff --git a/extensions/browser/app_window/test_app_window_contents.cc b/extensions/browser/app_window/test_app_window_contents.cc
new file mode 100644
index 0000000000000000000000000000000000000000..4cc856d609b27b03fef5b803528ef8da4170e9f6
--- /dev/null
+++ b/extensions/browser/app_window/test_app_window_contents.cc
@@ -0,0 +1,39 @@
+// Copyright 2014 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 "extensions/browser/app_window/test_app_window_contents.h"
+
+#include "content/public/browser/web_contents.h"
+
+namespace extensions {
+
+TestAppWindowContents::TestAppWindowContents(content::WebContents* web_contents)
+ : web_contents_(web_contents) {
+}
+
+TestAppWindowContents::~TestAppWindowContents() {
+}
+
+void TestAppWindowContents::Initialize(content::BrowserContext* context,
+ const GURL& url) {
+}
+
+void TestAppWindowContents::LoadContents(int32 creator_process_id) {
+}
+
+void TestAppWindowContents::NativeWindowChanged(
+ NativeAppWindow* native_app_window) {
+}
+
+void TestAppWindowContents::NativeWindowClosed() {
+}
+
+void TestAppWindowContents::DispatchWindowShownForTests() const {
+}
+
+content::WebContents* TestAppWindowContents::GetWebContents() const {
+ return web_contents_.get();
+}
+
+} // namespace extensions
« no previous file with comments | « extensions/browser/app_window/test_app_window_contents.h ('k') | extensions/browser/extensions_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698