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

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

Issue 2744933002: Move Views Page Info UI code to its own folder. (Closed)
Patch Set: *shakes other fist at mass-rename.py* 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/website_settings/chosen_object_row.h
diff --git a/chrome/browser/ui/views/website_settings/chosen_object_row.h b/chrome/browser/ui/views/website_settings/chosen_object_row.h
deleted file mode 100644
index 02a14c3cc9e808f479f482160b40a33426c4da4f..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/website_settings/chosen_object_row.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_ROW_H_
-#define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_CHOSEN_OBJECT_ROW_H_
-
-#include "base/macros.h"
-#include "chrome/browser/ui/page_info/website_settings_ui.h"
-#include "ui/views/controls/button/button.h"
-#include "ui/views/view.h"
-
-namespace views {
-class ImageButton;
-class ImageView;
-}
-
-class ChosenObjectRowObserver;
-
-// A ChosenObjectRow is a row in the Page Info bubble that shows an individual
-// object (e.g. a Bluetooth device, a USB device) that the current site has
-// access to.
-class ChosenObjectRow : public views::View, public views::ButtonListener {
- public:
- explicit ChosenObjectRow(
- std::unique_ptr<WebsiteSettingsUI::ChosenObjectInfo> info);
-
- void AddObserver(ChosenObjectRowObserver* observer);
-
- private:
- ~ChosenObjectRow() 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<ChosenObjectRowObserver> observer_list_;
- std::unique_ptr<WebsiteSettingsUI::ChosenObjectInfo> info_;
-
- DISALLOW_COPY_AND_ASSIGN(ChosenObjectRow);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_CHOSEN_OBJECT_ROW_H_
« no previous file with comments | « chrome/browser/ui/views/website_settings/OWNERS ('k') | chrome/browser/ui/views/website_settings/chosen_object_row.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698