Chromium Code Reviews| Index: chrome/browser/ui/content_settings/content_setting_bubble_model.h |
| diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.h b/chrome/browser/ui/content_settings/content_setting_bubble_model.h |
| index 4f542bbfd54d76c60b6ed6f2143b122ec08ddf8f..281855942b812131c6ac132d5b92645a08bfa4ec 100644 |
| --- a/chrome/browser/ui/content_settings/content_setting_bubble_model.h |
| +++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.h |
| @@ -157,6 +157,12 @@ class ContentSettingBubbleModel : public content::NotificationObserver { |
| void set_selected_device(const content::MediaStreamDevice& device) { |
| bubble_content_.media_menus[device.type].selected_device = device; |
| } |
| + bool setting_is_managed() { |
| + return setting_is_managed_; |
| + } |
| + void set_setting_is_managed(bool managed) { |
| + setting_is_managed_ = managed; |
| + } |
| private: |
| content::WebContents* web_contents_; |
| @@ -165,6 +171,9 @@ class ContentSettingBubbleModel : public content::NotificationObserver { |
| BubbleContent bubble_content_; |
| // A registrar for listening for WEB_CONTENTS_DESTROYED notifications. |
| content::NotificationRegistrar registrar_; |
| + // A flag that indicates if the content setting is managed and can't be |
|
Bernhard Bauer
2014/01/07 18:54:05
"managed" == "can't be controlled by the user", ri
markusheintz_
2014/01/08 08:24:36
Good point. I replaced "and" with "i.e". Thanks fo
|
| + // controlled by the user. |
| + bool setting_is_managed_; |
| DISALLOW_COPY_AND_ASSIGN(ContentSettingBubbleModel); |
| }; |