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