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

Side by Side Diff: content/shell/shell_android.cc

Issue 10035034: Implement the skeleton of an android content shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unnecessary bits. Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/shell/shell.h"
6
7 #include "base/string_piece.h"
8 #include "content/shell/android/shell_manager.h"
9
10 namespace content {
11
12 base::StringPiece Shell::PlatformResourceProvider(int key) {
13 return base::StringPiece();
14 }
15
16 void Shell::PlatformInitialize() {
17 }
18
19 void Shell::PlatformCleanUp() {
20 }
21
22 void Shell::PlatformEnableUIControl(UIControl control, bool is_enabled) {
23 }
24
25 void Shell::PlatformSetAddressBarURL(const GURL& url) {
26 }
27
28 void Shell::PlatformSetIsLoading(bool loading) {
29 }
30
31 void Shell::PlatformCreateWindow(int width, int height) {
32 shell_view_.reset(CreateShellView());
33 }
34
35 void Shell::PlatformSetContents() {
36 shell_view_->InitFromTabContents(web_contents_.get());
37 }
38
39 void Shell::PlatformResizeSubViews() {
40 // Not needed; subviews are bound.
41 }
42
43 void Shell::Close() {
44 // 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.
45 }
46
47 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698