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

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

Issue 900733003: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 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
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_WINDOW_ANDROID_HELPER_H_ 5 #ifndef CHROME_BROWSER_UI_ANDROID_WINDOW_ANDROID_HELPER_H_
6 #define CHROME_BROWSER_UI_ANDROID_WINDOW_ANDROID_HELPER_H_ 6 #define CHROME_BROWSER_UI_ANDROID_WINDOW_ANDROID_HELPER_H_
7 7
8 #include "content/public/browser/web_contents_user_data.h" 8 #include "content/public/browser/web_contents_user_data.h"
9 9
10 namespace ui { 10 namespace ui {
11 class WindowAndroid; 11 class WindowAndroid;
12 } 12 }
13 13
14 // Per-tab class to provide access to WindowAndroid object. 14 // Per-tab class to provide access to WindowAndroid object.
15 class WindowAndroidHelper 15 class WindowAndroidHelper
16 : public content::WebContentsUserData<WindowAndroidHelper> { 16 : public content::WebContentsUserData<WindowAndroidHelper> {
17 public: 17 public:
18 virtual ~WindowAndroidHelper(); 18 ~WindowAndroidHelper() override;
19 19
20 void SetWindowAndroid(ui::WindowAndroid* window_android); 20 void SetWindowAndroid(ui::WindowAndroid* window_android);
21 ui::WindowAndroid* GetWindowAndroid(); 21 ui::WindowAndroid* GetWindowAndroid();
22 22
23 private: 23 private:
24 explicit WindowAndroidHelper(content::WebContents* web_contents); 24 explicit WindowAndroidHelper(content::WebContents* web_contents);
25 friend class content::WebContentsUserData<WindowAndroidHelper>; 25 friend class content::WebContentsUserData<WindowAndroidHelper>;
26 26
27 // The owning window that has a hold of main application activity. 27 // The owning window that has a hold of main application activity.
28 ui::WindowAndroid* window_android_; 28 ui::WindowAndroid* window_android_;
29 29
30 DISALLOW_COPY_AND_ASSIGN(WindowAndroidHelper); 30 DISALLOW_COPY_AND_ASSIGN(WindowAndroidHelper);
31 }; 31 };
32 32
33 #endif // CHROME_BROWSER_UI_ANDROID_WINDOW_ANDROID_HELPER_H_ 33 #endif // CHROME_BROWSER_UI_ANDROID_WINDOW_ANDROID_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/android/website_settings_popup_legacy_android.h ('k') | chrome/browser/ui/auto_login_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698