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

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: Removed drawable png as it was checked in separately. 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/logging.h"
8 #include "base/string_piece.h"
9 #include "content/shell/android/shell_manager.h"
10
11 namespace content {
12
13 base::StringPiece Shell::PlatformResourceProvider(int key) {
14 return base::StringPiece();
15 }
16
17 void Shell::PlatformInitialize() {
18 }
19
20 void Shell::PlatformCleanUp() {
21 }
22
23 void Shell::PlatformEnableUIControl(UIControl control, bool is_enabled) {
24 }
25
26 void Shell::PlatformSetAddressBarURL(const GURL& url) {
27 }
28
29 void Shell::PlatformSetIsLoading(bool loading) {
30 }
31
32 void Shell::PlatformCreateWindow(int width, int height) {
33 shell_view_.reset(CreateShellView());
34 }
35
36 void Shell::PlatformSetContents() {
37 shell_view_->InitFromTabContents(web_contents_.get());
38 }
39
40 void Shell::PlatformResizeSubViews() {
41 // Not needed; subviews are bound.
42 }
43
44 void Shell::Close() {
45 // TODO(tedchoc): Implement Close method for android shell
46 NOTIMPLEMENTED();
47 }
48
49 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698