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

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

Issue 92743002: Extract UI dependencies from ExtensionHost, part 3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase extension_view_host Created 7 years 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
« no previous file with comments | « chrome/browser/extensions/extension_view_host.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_ANDROID_EXTENSIONS_EXTENSION_VIEW_ANDROID_H_ 5 #ifndef CHROME_BROWSER_UI_ANDROID_EXTENSIONS_EXTENSION_VIEW_ANDROID_H_
6 #define CHROME_BROWSER_UI_ANDROID_EXTENSIONS_EXTENSION_VIEW_ANDROID_H_ 6 #define CHROME_BROWSER_UI_ANDROID_EXTENSIONS_EXTENSION_VIEW_ANDROID_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ui/gfx/native_widget_types.h"
9 #include "ui/gfx/size.h" 10 #include "ui/gfx/size.h"
10 11
11 class Browser; 12 class Browser;
12 13
14 // Android does not support extensions, so this is just a stub.
13 class ExtensionViewAndroid { 15 class ExtensionViewAndroid {
14 public: 16 public:
15 Browser* browser() const { return NULL; } 17 Browser* browser() const { return NULL; }
18 gfx::NativeView native_view() const { return NULL; }
16 19
17 void ResizeDueToAutoResize(const gfx::Size& new_size); 20 void ResizeDueToAutoResize(const gfx::Size& new_size);
18 void RenderViewCreated(); 21 void RenderViewCreated();
19 22
20 private: 23 private:
21 ExtensionViewAndroid() { } 24 ExtensionViewAndroid() { }
22 25
23 DISALLOW_COPY_AND_ASSIGN(ExtensionViewAndroid); 26 DISALLOW_COPY_AND_ASSIGN(ExtensionViewAndroid);
24 }; 27 };
25 28
26 #endif // CHROME_BROWSER_UI_ANDROID_EXTENSIONS_EXTENSION_VIEW_ANDROID_H_ 29 #endif // CHROME_BROWSER_UI_ANDROID_EXTENSIONS_EXTENSION_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_view_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698