Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 "chrome/browser/common/web_contents_user_data.h" | |
|
Avi (use Gerrit)
2012/10/09 21:30:50
This just moved.
#include "content/public/browser
aurimas (slooooooooow)
2012/10/10 00:22:14
Done.
| |
| 9 #include "ui/gfx/android/window_android.h" | |
| 10 | |
| 11 class WindowAndroidHelper : public WebContentsUserData<WindowAndroidHelper> { | |
|
Avi (use Gerrit)
2012/10/09 21:30:50
content::WebContentsUserData
aurimas (slooooooooow)
2012/10/10 00:22:14
Done.
| |
| 12 public: | |
| 13 virtual ~WindowAndroidHelper(); | |
| 14 | |
| 15 void setWindowAndroid(ui::WindowAndroid* windowAndroid); | |
|
Ted C
2012/10/09 22:47:54
c++ style should be SetWindowAndroid (capitalizing
aurimas (slooooooooow)
2012/10/10 00:22:14
Done.
| |
| 16 ui::WindowAndroid* getWindowAndroid(); | |
| 17 | |
| 18 private: | |
| 19 explicit WindowAndroidHelper(content::WebContents* web_contents); | |
| 20 friend class WebContentsUserData<WindowAndroidHelper>; | |
|
Avi (use Gerrit)
2012/10/09 21:30:50
content::WebContentsUserData
aurimas (slooooooooow)
2012/10/10 00:22:14
Done.
| |
| 21 | |
| 22 // The owning window that has a hold of main application activity. | |
| 23 ui::WindowAndroid* window_android_; | |
| 24 | |
| 25 DISALLOW_COPY_AND_ASSIGN(WindowAndroidHelper); | |
| 26 }; | |
| 27 | |
| 28 #endif // CHROME_BROWSER_UI_ANDROID_WINDOW_ANDROID_HELPER_H_ | |
| OLD | NEW |