OLD | NEW |
---|---|
(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 | |
OLD | NEW |