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

Side by Side Diff: chrome/browser/ui/android/extensions/extension_view_android.h

Issue 363233002: Abstract base 'ExtensionView' to Fix DEPS violation in extension_view_host.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Init() must be done after assigning Created 6 years, 5 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 #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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698