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

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

Issue 9702068: Move extension pop-ups and notifications to the new auto-resize code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: small update Created 8 years, 9 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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "ui/gfx/size.h" 10 #include "ui/gfx/size.h"
11 11
12 class Browser; 12 class Browser;
13 13
14 class ExtensionViewAndroid { 14 class ExtensionViewAndroid {
15 public: 15 public:
16 Browser* browser() const { return NULL; } 16 Browser* browser() const { return NULL; }
17 17
18 void UpdatePreferredSize(const gfx::Size& new_size); 18 void ResizeDueToAutoResize(const gfx::Size& new_size);
19 void RenderViewCreated(); 19 void RenderViewCreated();
20 20
21 private: 21 private:
22 ExtensionViewAndroid() { } 22 ExtensionViewAndroid() { }
23 23
24 DISALLOW_COPY_AND_ASSIGN(ExtensionViewAndroid); 24 DISALLOW_COPY_AND_ASSIGN(ExtensionViewAndroid);
25 }; 25 };
26 26
27 #endif // CHROME_BROWSER_UI_ANDROID_EXTENSIONS_EXTENSION_VIEW_ANDROID_H_ 27 #endif // CHROME_BROWSER_UI_ANDROID_EXTENSIONS_EXTENSION_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698