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

Side by Side Diff: chrome/browser/ui/fullscreen/fullscreen_within_tab_helper.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FULLSCREEN_FULLSCREEN_WITHIN_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_WITHIN_TAB_HELPER_H_
6 #define CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_WITHIN_TAB_HELPER_H_ 6 #define CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_WITHIN_TAB_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 // Helper used by FullscreenController to track the state of a WebContents that 10 // Helper used by FullscreenController to track the state of a WebContents that
(...skipping 18 matching lines...) Expand all
29 is_fullscreen_for_captured_tab_ = is_fullscreen; 29 is_fullscreen_for_captured_tab_ = is_fullscreen;
30 } 30 }
31 31
32 // Immediately remove and destroy the FullscreenWithinTabHelper instance 32 // Immediately remove and destroy the FullscreenWithinTabHelper instance
33 // associated with |web_contents|. 33 // associated with |web_contents|.
34 static void RemoveForWebContents(content::WebContents* web_contents); 34 static void RemoveForWebContents(content::WebContents* web_contents);
35 35
36 private: 36 private:
37 friend class content::WebContentsUserData<FullscreenWithinTabHelper>; 37 friend class content::WebContentsUserData<FullscreenWithinTabHelper>;
38 explicit FullscreenWithinTabHelper(content::WebContents* ignored); 38 explicit FullscreenWithinTabHelper(content::WebContents* ignored);
39 virtual ~FullscreenWithinTabHelper(); 39 ~FullscreenWithinTabHelper() override;
40 40
41 bool is_fullscreen_for_captured_tab_; 41 bool is_fullscreen_for_captured_tab_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(FullscreenWithinTabHelper); 43 DISALLOW_COPY_AND_ASSIGN(FullscreenWithinTabHelper);
44 }; 44 };
45 45
46 #endif // CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_WITHIN_TAB_HELPER_H_ 46 #endif // CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_WITHIN_TAB_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698