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 #ifndef CHROME_BROWSER_UI_ANDROID_EXTENSIONS_EXTENSION_VIEW_ANDROID_H_ | |
6 #define CHROME_BROWSER_UI_ANDROID_EXTENSIONS_EXTENSION_VIEW_ANDROID_H_ | |
7 | |
8 #include "base/basictypes.h" | |
9 #include "ui/gfx/native_widget_types.h" | |
10 #include "ui/gfx/size.h" | |
11 | |
12 class Browser; | |
13 | |
14 // Android does not support extensions, so this is just a stub. | |
15 class ExtensionViewAndroid { | |
16 public: | |
17 Browser* browser() const { return NULL; } | |
18 gfx::NativeView native_view() const { return NULL; } | |
19 | |
20 void ResizeDueToAutoResize(const gfx::Size& new_size); | |
21 void RenderViewCreated(); | |
22 | |
23 private: | |
24 ExtensionViewAndroid() { } | |
25 | |
26 DISALLOW_COPY_AND_ASSIGN(ExtensionViewAndroid); | |
27 }; | |
28 | |
29 #endif // CHROME_BROWSER_UI_ANDROID_EXTENSIONS_EXTENSION_VIEW_ANDROID_H_ | |
OLD | NEW |