Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / ui / browser_content_setting_bubble_model_delegate.h
bloba4ca5b6c00b4031fe6e4fcee60e787e8a8c7e53b
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.
5 #ifndef CHROME_BROWSER_UI_BROWSER_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_BROWSER_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/content_settings/content_setting_bubble_model_delegate.h"
12 class Browser;
14 // Implementation of ContentSettingBubbleModelDelegate which uses an instance of
15 // Browser in order to fulfil its duties.
16 class BrowserContentSettingBubbleModelDelegate
17 : public ContentSettingBubbleModelDelegate {
18 public:
19 explicit BrowserContentSettingBubbleModelDelegate(Browser* browser);
20 ~BrowserContentSettingBubbleModelDelegate() override;
22 // ContentSettingBubbleModelDelegate implementation:
23 void ShowCollectedCookiesDialog(content::WebContents* web_contents) override;
24 void ShowContentSettingsPage(ContentSettingsType type) override;
25 void ShowLearnMorePage(ContentSettingsType type) override;
27 private:
28 Browser* browser_;
30 DISALLOW_COPY_AND_ASSIGN(BrowserContentSettingBubbleModelDelegate);
33 #endif // CHROME_BROWSER_UI_BROWSER_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_