| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_ROW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_ROW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_ROW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_ROW_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
| 13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
| 14 #include "chrome/browser/ui/page_info/website_settings_ui.h" |
| 14 #include "chrome/browser/ui/views/website_settings/permission_selector_row_obser
ver.h" | 15 #include "chrome/browser/ui/views/website_settings/permission_selector_row_obser
ver.h" |
| 15 #include "chrome/browser/ui/website_settings/permission_menu_model.h" | 16 #include "chrome/browser/ui/website_settings/permission_menu_model.h" |
| 16 #include "chrome/browser/ui/website_settings/website_settings_ui.h" | |
| 17 #include "components/content_settings/core/common/content_settings.h" | 17 #include "components/content_settings/core/common/content_settings.h" |
| 18 #include "components/content_settings/core/common/content_settings_types.h" | 18 #include "components/content_settings/core/common/content_settings_types.h" |
| 19 #include "ui/views/controls/button/menu_button_listener.h" | 19 #include "ui/views/controls/button/menu_button_listener.h" |
| 20 #include "ui/views/view.h" | 20 #include "ui/views/view.h" |
| 21 | 21 |
| 22 class Profile; | 22 class Profile; |
| 23 | 23 |
| 24 namespace internal { | 24 namespace internal { |
| 25 class ComboboxModelAdapter; | 25 class ComboboxModelAdapter; |
| 26 class PermissionCombobox; | 26 class PermissionCombobox; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 views::ImageView* icon_; // Owned by the views hierachy. | 68 views::ImageView* icon_; // Owned by the views hierachy. |
| 69 internal::PermissionMenuButton* menu_button_; // Owned by the views hierachy. | 69 internal::PermissionMenuButton* menu_button_; // Owned by the views hierachy. |
| 70 internal::PermissionCombobox* combobox_; // Owned by the views hierarchy. | 70 internal::PermissionCombobox* combobox_; // Owned by the views hierarchy. |
| 71 | 71 |
| 72 base::ObserverList<PermissionSelectorRowObserver, false> observer_list_; | 72 base::ObserverList<PermissionSelectorRowObserver, false> observer_list_; |
| 73 | 73 |
| 74 DISALLOW_COPY_AND_ASSIGN(PermissionSelectorRow); | 74 DISALLOW_COPY_AND_ASSIGN(PermissionSelectorRow); |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_ROW_H_ | 77 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_ROW_H_ |
| OLD | NEW |