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 13 matching lines...) Expand all Loading... |
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.h" |
| 34 #include "net/cookies/canonical_cookie.h" |
34 #include "ui/base/l10n/l10n_util.h" | 35 #include "ui/base/l10n/l10n_util.h" |
35 #include "ui/base/resource/resource_bundle.h" | 36 #include "ui/base/resource/resource_bundle.h" |
36 #include "ui/gfx/color_utils.h" | 37 #include "ui/gfx/color_utils.h" |
37 #include "ui/views/controls/button/text_button.h" | 38 #include "ui/views/controls/button/text_button.h" |
38 #include "ui/views/controls/image_view.h" | 39 #include "ui/views/controls/image_view.h" |
39 #include "ui/views/controls/label.h" | 40 #include "ui/views/controls/label.h" |
40 #include "ui/views/controls/tabbed_pane/tabbed_pane.h" | 41 #include "ui/views/controls/tabbed_pane/tabbed_pane.h" |
41 #include "ui/views/controls/tree/tree_view.h" | 42 #include "ui/views/controls/tree/tree_view.h" |
42 #include "ui/views/layout/box_layout.h" | 43 #include "ui/views/layout/box_layout.h" |
43 #include "ui/views/layout/grid_layout.h" | 44 #include "ui/views/layout/grid_layout.h" |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 /////////////////////////////////////////////////////////////////////////////// | 532 /////////////////////////////////////////////////////////////////////////////// |
532 // CollectedCookiesViews, content::NotificationObserver implementation: | 533 // CollectedCookiesViews, content::NotificationObserver implementation: |
533 | 534 |
534 void CollectedCookiesViews::Observe( | 535 void CollectedCookiesViews::Observe( |
535 int type, | 536 int type, |
536 const content::NotificationSource& source, | 537 const content::NotificationSource& source, |
537 const content::NotificationDetails& details) { | 538 const content::NotificationDetails& details) { |
538 DCHECK(type == chrome::NOTIFICATION_COLLECTED_COOKIES_SHOWN); | 539 DCHECK(type == chrome::NOTIFICATION_COLLECTED_COOKIES_SHOWN); |
539 window_->CloseConstrainedWindow(); | 540 window_->CloseConstrainedWindow(); |
540 } | 541 } |
OLD | NEW |