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

Side by Side Diff: chrome/browser/ui/browser_content_setting_bubble_model_delegate.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 (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_BROWSER_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_BROWSER_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_BROWSER_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/content_settings/content_setting_bubble_model_delega te.h" 10 #include "chrome/browser/ui/content_settings/content_setting_bubble_model_delega te.h"
11 11
12 class Browser; 12 class Browser;
13 13
14 // Implementation of ContentSettingBubbleModelDelegate which uses an instance of 14 // Implementation of ContentSettingBubbleModelDelegate which uses an instance of
15 // Browser in order to fulfil its duties. 15 // Browser in order to fulfil its duties.
16 class BrowserContentSettingBubbleModelDelegate 16 class BrowserContentSettingBubbleModelDelegate
17 : public ContentSettingBubbleModelDelegate { 17 : public ContentSettingBubbleModelDelegate {
18 public: 18 public:
19 explicit BrowserContentSettingBubbleModelDelegate(Browser* browser); 19 explicit BrowserContentSettingBubbleModelDelegate(Browser* browser);
20 virtual ~BrowserContentSettingBubbleModelDelegate(); 20 ~BrowserContentSettingBubbleModelDelegate() override;
21 21
22 // ContentSettingBubbleModelDelegate implementation: 22 // ContentSettingBubbleModelDelegate implementation:
23 virtual void ShowCollectedCookiesDialog( 23 void ShowCollectedCookiesDialog(content::WebContents* web_contents) override;
24 content::WebContents* web_contents) override; 24 void ShowContentSettingsPage(ContentSettingsType type) override;
25 virtual void ShowContentSettingsPage(ContentSettingsType type) override; 25 void ShowLearnMorePage(ContentSettingsType type) override;
26 virtual void ShowLearnMorePage(ContentSettingsType type) override;
27 26
28 private: 27 private:
29 Browser* browser_; 28 Browser* browser_;
30 29
31 DISALLOW_COPY_AND_ASSIGN(BrowserContentSettingBubbleModelDelegate); 30 DISALLOW_COPY_AND_ASSIGN(BrowserContentSettingBubbleModelDelegate);
32 }; 31 };
33 32
34 #endif // CHROME_BROWSER_UI_BROWSER_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_ 33 #endif // CHROME_BROWSER_UI_BROWSER_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698