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 #include "chrome/browser/ui/views/collected_cookies_views.h" | 5 #include "chrome/browser/ui/views/collected_cookies_views.h" |
6 | 6 |
7 #include "chrome/browser/browsing_data_appcache_helper.h" | 7 #include "chrome/browser/browsing_data_appcache_helper.h" |
8 #include "chrome/browser/browsing_data_cookie_helper.h" | 8 #include "chrome/browser/browsing_data_cookie_helper.h" |
9 #include "chrome/browser/browsing_data_database_helper.h" | 9 #include "chrome/browser/browsing_data_database_helper.h" |
10 #include "chrome/browser/browsing_data_file_system_helper.h" | 10 #include "chrome/browser/browsing_data_file_system_helper.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "chrome/browser/ui/tab_contents/tab_contents.h" | 23 #include "chrome/browser/ui/tab_contents/tab_contents.h" |
24 #include "chrome/browser/ui/views/constrained_window_views.h" | 24 #include "chrome/browser/ui/views/constrained_window_views.h" |
25 #include "chrome/browser/ui/views/cookie_info_view.h" | 25 #include "chrome/browser/ui/views/cookie_info_view.h" |
26 #include "chrome/common/chrome_notification_types.h" | 26 #include "chrome/common/chrome_notification_types.h" |
27 #include "chrome/common/pref_names.h" | 27 #include "chrome/common/pref_names.h" |
28 #include "content/public/browser/notification_details.h" | 28 #include "content/public/browser/notification_details.h" |
29 #include "content/public/browser/notification_source.h" | 29 #include "content/public/browser/notification_source.h" |
30 #include "content/public/browser/web_contents.h" | 30 #include "content/public/browser/web_contents.h" |
31 #include "grit/generated_resources.h" | 31 #include "grit/generated_resources.h" |
32 #include "grit/locale_settings.h" | 32 #include "grit/locale_settings.h" |
33 #include "grit/theme_resources.h" | 33 #include "grit/theme_resources_standard.h" |
34 #include "ui/base/l10n/l10n_util.h" | 34 #include "ui/base/l10n/l10n_util.h" |
35 #include "ui/base/resource/resource_bundle.h" | 35 #include "ui/base/resource/resource_bundle.h" |
36 #include "ui/gfx/color_utils.h" | 36 #include "ui/gfx/color_utils.h" |
37 #include "ui/views/controls/button/text_button.h" | 37 #include "ui/views/controls/button/text_button.h" |
38 #include "ui/views/controls/image_view.h" | 38 #include "ui/views/controls/image_view.h" |
39 #include "ui/views/controls/label.h" | 39 #include "ui/views/controls/label.h" |
40 #include "ui/views/controls/tabbed_pane/tabbed_pane.h" | 40 #include "ui/views/controls/tabbed_pane/tabbed_pane.h" |
41 #include "ui/views/controls/tree/tree_view.h" | 41 #include "ui/views/controls/tree/tree_view.h" |
42 #include "ui/views/layout/box_layout.h" | 42 #include "ui/views/layout/box_layout.h" |
43 #include "ui/views/layout/grid_layout.h" | 43 #include "ui/views/layout/grid_layout.h" |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 /////////////////////////////////////////////////////////////////////////////// | 524 /////////////////////////////////////////////////////////////////////////////// |
525 // CollectedCookiesViews, content::NotificationObserver implementation: | 525 // CollectedCookiesViews, content::NotificationObserver implementation: |
526 | 526 |
527 void CollectedCookiesViews::Observe( | 527 void CollectedCookiesViews::Observe( |
528 int type, | 528 int type, |
529 const content::NotificationSource& source, | 529 const content::NotificationSource& source, |
530 const content::NotificationDetails& details) { | 530 const content::NotificationDetails& details) { |
531 DCHECK(type == chrome::NOTIFICATION_COLLECTED_COOKIES_SHOWN); | 531 DCHECK(type == chrome::NOTIFICATION_COLLECTED_COOKIES_SHOWN); |
532 window_->CloseConstrainedWindow(); | 532 window_->CloseConstrainedWindow(); |
533 } | 533 } |
OLD | NEW |