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

Side by Side Diff: chrome/browser/ui/android/window_android_helper.h

Issue 11098008: Adding a WindowAndroidHelper class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nilesh's nits 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
(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_WINDOW_ANDROID_HELPER_H_
6 #define CHROME_BROWSER_UI_ANDROID_WINDOW_ANDROID_HELPER_H_
7
8 #include "content/public/browser/web_contents_user_data.h"
9
10 namespace ui {
11 class WindowAndroid;
12 }
13
14 class WindowAndroidHelper
15 : public content::WebContentsUserData<WindowAndroidHelper> {
Ted C 2012/10/10 17:41:21 +2 indent
aurimas (slooooooooow) 2012/10/10 18:07:48 Done.
16 public:
17 virtual ~WindowAndroidHelper();
18
19 void SetWindowAndroid(ui::WindowAndroid* window_android);
20 ui::WindowAndroid* GetWindowAndroid();
21
22 private:
23 explicit WindowAndroidHelper(content::WebContents* web_contents);
24 friend class content::WebContentsUserData<WindowAndroidHelper>;
25
26 // The owning window that has a hold of main application activity.
27 ui::WindowAndroid* window_android_;
28
29 DISALLOW_COPY_AND_ASSIGN(WindowAndroidHelper);
30 };
31
32 #endif // CHROME_BROWSER_UI_ANDROID_WINDOW_ANDROID_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698