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

Unified Diff: chrome/browser/ui/page_info/permission_menu_model.h

Issue 2754383004: Rename WebsiteSettings code to PageInfo. (Closed)
Patch Set: Upload missing comment fix for WebSettingsUI -> PageInfoUI. Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/page_info/permission_menu_model.h
diff --git a/chrome/browser/ui/page_info/permission_menu_model.h b/chrome/browser/ui/page_info/permission_menu_model.h
index 01425a6cc0c2ba3e786be273839456f41945c779..d6d01e54dbbc8f5e3c54b40c8278de9da309f696 100644
--- a/chrome/browser/ui/page_info/permission_menu_model.h
+++ b/chrome/browser/ui/page_info/permission_menu_model.h
@@ -6,7 +6,7 @@
#define CHROME_BROWSER_UI_PAGE_INFO_PERMISSION_MENU_MODEL_H_
#include "base/macros.h"
-#include "chrome/browser/ui/page_info/website_settings_ui.h"
+#include "chrome/browser/ui/page_info/page_info_ui.h"
#include "components/content_settings/core/common/content_settings.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "ui/base/models/simple_menu_model.h"
@@ -18,13 +18,13 @@ class Profile;
class PermissionMenuModel : public ui::SimpleMenuModel,
public ui::SimpleMenuModel::Delegate {
public:
- typedef base::Callback<void(const WebsiteSettingsUI::PermissionInfo&)>
+ typedef base::Callback<void(const PageInfoUI::PermissionInfo&)>
ChangeCallback;
// Create a new menu model for permission settings.
PermissionMenuModel(Profile* profile,
const GURL& url,
- const WebsiteSettingsUI::PermissionInfo& info,
+ const PageInfoUI::PermissionInfo& info,
const ChangeCallback& callback);
// Creates a special-case menu model that only has the allow and block
// options. It does not track a permission type. |setting| is the
@@ -45,7 +45,7 @@ class PermissionMenuModel : public ui::SimpleMenuModel,
HostContentSettingsMap* host_content_settings_map_;
// The permission info represented by the menu model.
- WebsiteSettingsUI::PermissionInfo permission_;
+ PageInfoUI::PermissionInfo permission_;
// Callback to be called when the permission's setting is changed.
ChangeCallback callback_;
« no previous file with comments | « chrome/browser/ui/page_info/page_info_unittest.cc ('k') | chrome/browser/ui/page_info/permission_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698