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

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

Issue 10961066: Revert 158199 - extensions: Add ExtensionView interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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
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 "base/compiler_specific.h" 9 #include "ui/gfx/size.h"
10 #include "chrome/browser/extensions/extension_view.h"
11 10
12 class ExtensionViewAndroid : public ExtensionView { 11 class Browser;
12
13 class ExtensionViewAndroid {
13 public: 14 public:
14 ExtensionViewAndroid(); 15 Browser* browser() const { return NULL; }
15 virtual ~ExtensionViewAndroid(); 16
17 void ResizeDueToAutoResize(const gfx::Size& new_size);
18 void RenderViewCreated();
16 19
17 private: 20 private:
18 // Overridden from ExtensionView: 21 ExtensionViewAndroid() { }
19 virtual Browser* GetBrowser() OVERRIDE;
20 virtual const Browser* GetBrowser() const OVERRIDE;
21 virtual gfx::NativeView GetNativeView() OVERRIDE;
22 virtual content::RenderViewHost* GetRenderViewHost() const OVERRIDE;
23 virtual void SetContainer(ExtensionViewContainer* container) OVERRIDE;
24 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) OVERRIDE;
25 virtual void RenderViewCreated() OVERRIDE;
26 virtual void DidStopLoading() OVERRIDE;
27 virtual void WindowFrameChanged() OVERRIDE;
28 22
29 DISALLOW_COPY_AND_ASSIGN(ExtensionViewAndroid); 23 DISALLOW_COPY_AND_ASSIGN(ExtensionViewAndroid);
30 }; 24 };
31 25
32 #endif // CHROME_BROWSER_UI_ANDROID_EXTENSIONS_EXTENSION_VIEW_ANDROID_H_ 26 #endif // CHROME_BROWSER_UI_ANDROID_EXTENSIONS_EXTENSION_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_view_container.h ('k') | chrome/browser/ui/android/extensions/extension_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698