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