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

Unified Diff: chrome/browser/ui/views/page_info/permission_selector_row.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/views/page_info/permission_selector_row.h
diff --git a/chrome/browser/ui/views/page_info/permission_selector_row.h b/chrome/browser/ui/views/page_info/permission_selector_row.h
index 8150a814f0b68203593bcb4e30a89506dcc74ecb..af592a60286693a35bd0a3d0d42a46f8e6127cb3 100644
--- a/chrome/browser/ui/views/page_info/permission_selector_row.h
+++ b/chrome/browser/ui/views/page_info/permission_selector_row.h
@@ -10,8 +10,8 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/observer_list.h"
+#include "chrome/browser/ui/page_info/page_info_ui.h"
#include "chrome/browser/ui/page_info/permission_menu_model.h"
-#include "chrome/browser/ui/page_info/website_settings_ui.h"
#include "chrome/browser/ui/views/page_info/permission_selector_row_observer.h"
#include "components/content_settings/core/common/content_settings.h"
#include "components/content_settings/core/common/content_settings_types.h"
@@ -26,7 +26,7 @@ class PermissionMenuButton;
}
namespace test {
-class WebsiteSettingsPopupViewTestApi;
+class PageInfoPopupViewTestApi;
}
namespace views {
@@ -46,23 +46,21 @@ class PermissionSelectorRow {
// The |PermissionSelectorRow|'s constituent views are added to |layout|.
PermissionSelectorRow(Profile* profile,
const GURL& url,
- const WebsiteSettingsUI::PermissionInfo& permission,
+ const PageInfoUI::PermissionInfo& permission,
views::GridLayout* layout);
virtual ~PermissionSelectorRow();
void AddObserver(PermissionSelectorRowObserver* observer);
- void PermissionChanged(const WebsiteSettingsUI::PermissionInfo& permission);
+ void PermissionChanged(const PageInfoUI::PermissionInfo& permission);
private:
- friend class test::WebsiteSettingsPopupViewTestApi;
-
- void InitializeMenuButtonView(
- views::GridLayout* layout,
- const WebsiteSettingsUI::PermissionInfo& permission);
- void InitializeComboboxView(
- views::GridLayout* layout,
- const WebsiteSettingsUI::PermissionInfo& permission);
+ friend class test::PageInfoPopupViewTestApi;
+
+ void InitializeMenuButtonView(views::GridLayout* layout,
+ const PageInfoUI::PermissionInfo& permission);
+ void InitializeComboboxView(views::GridLayout* layout,
+ const PageInfoUI::PermissionInfo& permission);
// Returns the "button" for this row, which is the control used to change the
// permission's value. This is either a |MenuButton| or a |Combobox|.

Powered by Google App Engine
This is Rietveld 408576698