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

Unified Diff: chrome/browser/ui/views/website_settings/chosen_object_view.h

Issue 2272793007: Material Page Info (Views, 1/3): Rename {ChosenObject, PermissionSelector}View classes to {...}Row. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/website_settings/chosen_object_view.h
diff --git a/chrome/browser/ui/views/website_settings/chosen_object_view.h b/chrome/browser/ui/views/website_settings/chosen_object_view.h
deleted file mode 100644
index fafd59e44dd971882912fbcdb09340300252b938..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/website_settings/chosen_object_view.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_CHOSEN_OBJECT_VIEW_H_
-#define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_CHOSEN_OBJECT_VIEW_H_
-
-#include "base/macros.h"
-#include "chrome/browser/ui/website_settings/website_settings_ui.h"
-#include "chrome/grit/generated_resources.h"
-#include "chrome/grit/theme_resources.h"
-#include "ui/base/l10n/l10n_util.h"
-#include "ui/views/controls/button/button.h"
-#include "ui/views/view.h"
-
-namespace views {
-class ImageButton;
-class ImageView;
-}
-
-class ChosenObjectViewObserver;
-
-class ChosenObjectView : public views::View, public views::ButtonListener {
- public:
- explicit ChosenObjectView(
- std::unique_ptr<WebsiteSettingsUI::ChosenObjectInfo> info);
-
- void AddObserver(ChosenObjectViewObserver* observer);
-
- private:
- ~ChosenObjectView() override;
-
- // views::ButtonListener implementation.
- void ButtonPressed(views::Button* sender, const ui::Event& event) override;
-
- views::ImageView* icon_; // Owned by the views hierarchy.
- views::ImageButton* delete_button_; // Owned by the views hierarchy.
-
- base::ObserverList<ChosenObjectViewObserver> observer_list_;
- std::unique_ptr<WebsiteSettingsUI::ChosenObjectInfo> info_;
-
- DISALLOW_COPY_AND_ASSIGN(ChosenObjectView);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_CHOSEN_OBJECT_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698