| Index: chrome/browser/ui/page_info/page_info_ui.h
|
| diff --git a/chrome/browser/ui/page_info/page_info_ui.h b/chrome/browser/ui/page_info/page_info_ui.h
|
| index e1d47caafdda24f1c21fda1f324193e8539575e4..391f52861f5668675953c6dcc17b935b71b1ae8f 100644
|
| --- a/chrome/browser/ui/page_info/page_info_ui.h
|
| +++ b/chrome/browser/ui/page_info/page_info_ui.h
|
| @@ -15,6 +15,7 @@
|
| #include "components/content_settings/core/common/content_settings_types.h"
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| +class GURL;
|
| class Profile;
|
| class PageInfo;
|
|
|
| @@ -155,6 +156,16 @@ class PageInfoUI {
|
| ContentSetting default_setting,
|
| content_settings::SettingSource source);
|
|
|
| + // Returns a string indicating whether the permission was blocked via an
|
| + // extension, enterprise policy, or embargo.
|
| + static base::string16 PermissionDecisionReasonToUIString(
|
| + Profile* profile,
|
| + const PermissionInfo& permission,
|
| + const GURL& url);
|
| +
|
| + // Returns the color to use for the permission decision reason strings.
|
| + static SkColor GetPermissionDecisionTextColor();
|
| +
|
| // Returns the icon resource ID for the given permission |type| and |setting|.
|
| static int GetPermissionIconID(ContentSettingsType type,
|
| ContentSetting setting);
|
|
|