Index: content/shell/shell_android.cc |
diff --git a/content/shell/shell_android.cc b/content/shell/shell_android.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..35ef3ac22162af1286ee9648370f7aca90d5bd13 |
--- /dev/null |
+++ b/content/shell/shell_android.cc |
@@ -0,0 +1,47 @@ |
+// Copyright (c) 2012 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 "content/shell/shell.h" |
+ |
+#include "base/string_piece.h" |
+#include "content/shell/android/shell_manager.h" |
+ |
+namespace content { |
+ |
+base::StringPiece Shell::PlatformResourceProvider(int key) { |
+ return base::StringPiece(); |
+} |
+ |
+void Shell::PlatformInitialize() { |
+} |
+ |
+void Shell::PlatformCleanUp() { |
+} |
+ |
+void Shell::PlatformEnableUIControl(UIControl control, bool is_enabled) { |
+} |
+ |
+void Shell::PlatformSetAddressBarURL(const GURL& url) { |
+} |
+ |
+void Shell::PlatformSetIsLoading(bool loading) { |
+} |
+ |
+void Shell::PlatformCreateWindow(int width, int height) { |
+ shell_view_.reset(CreateShellView()); |
+} |
+ |
+void Shell::PlatformSetContents() { |
+ shell_view_->InitFromTabContents(web_contents_.get()); |
+} |
+ |
+void Shell::PlatformResizeSubViews() { |
+ // Not needed; subviews are bound. |
+} |
+ |
+void Shell::Close() { |
+ // TODO(tedchoc): Implement Close method for android shell |
Yaron
2012/04/19 00:35:34
#include "base/logging.h" and add NOTIMPLEMENTED()
Ted C
2012/04/19 01:17:07
Done.
|
+} |
+ |
+} // namespace content |