| 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_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "chrome/browser/ui/views/website_settings/permission_selector_view_obse
rver.h" | 13 #include "chrome/browser/ui/views/website_settings/permission_selector_view_obse
rver.h" |
| 14 #include "chrome/browser/ui/website_settings/permission_menu_model.h" | 14 #include "chrome/browser/ui/website_settings/permission_menu_model.h" |
| 15 #include "chrome/browser/ui/website_settings/website_settings_ui.h" | 15 #include "chrome/browser/ui/website_settings/website_settings_ui.h" |
| 16 #include "chrome/common/content_settings.h" | 16 #include "components/content_settings/core/common/content_settings.h" |
| 17 #include "components/content_settings/core/common/content_settings_types.h" | 17 #include "components/content_settings/core/common/content_settings_types.h" |
| 18 #include "ui/views/controls/button/menu_button_listener.h" | 18 #include "ui/views/controls/button/menu_button_listener.h" |
| 19 #include "ui/views/view.h" | 19 #include "ui/views/view.h" |
| 20 | 20 |
| 21 namespace internal { | 21 namespace internal { |
| 22 class PermissionMenuButton; | 22 class PermissionMenuButton; |
| 23 } | 23 } |
| 24 | 24 |
| 25 namespace views { | 25 namespace views { |
| 26 class ImageView; | 26 class ImageView; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 50 | 50 |
| 51 views::ImageView* icon_; // Owned by the views hierachy. | 51 views::ImageView* icon_; // Owned by the views hierachy. |
| 52 internal::PermissionMenuButton* menu_button_; // Owned by the views hierachy. | 52 internal::PermissionMenuButton* menu_button_; // Owned by the views hierachy. |
| 53 | 53 |
| 54 ObserverList<PermissionSelectorViewObserver, false> observer_list_; | 54 ObserverList<PermissionSelectorViewObserver, false> observer_list_; |
| 55 | 55 |
| 56 DISALLOW_COPY_AND_ASSIGN(PermissionSelectorView); | 56 DISALLOW_COPY_AND_ASSIGN(PermissionSelectorView); |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_VIEW_H_ | 59 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_VIEW_H_ |
| OLD | NEW |