OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/views/options/cookies_view.h" | 5 #include "chrome/browser/views/options/cookies_view.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
12 #include "chrome/browser/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
13 #include "chrome/browser/views/appcache_info_view.h" | 13 #include "chrome/browser/views/appcache_info_view.h" |
14 #include "chrome/browser/views/cookie_info_view.h" | 14 #include "chrome/browser/views/cookie_info_view.h" |
15 #include "chrome/browser/views/database_info_view.h" | 15 #include "chrome/browser/views/database_info_view.h" |
16 #include "chrome/browser/views/indexed_db_info_view.h" | 16 #include "chrome/browser/views/indexed_db_info_view.h" |
17 #include "chrome/browser/views/local_storage_info_view.h" | 17 #include "chrome/browser/views/local_storage_info_view.h" |
18 #include "gfx/canvas.h" | 18 #include "gfx/canvas.h" |
19 #include "gfx/color_utils.h" | 19 #include "gfx/color_utils.h" |
20 #include "grit/generated_resources.h" | 20 #include "grit/generated_resources.h" |
21 #include "grit/locale_settings.h" | 21 #include "grit/locale_settings.h" |
22 #include "net/base/cookie_monster.h" | 22 #include "net/base/cookie_monster.h" |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 GetTotalNodeCount() > 1); | 388 GetTotalNodeCount() > 1); |
389 } | 389 } |
390 | 390 |
391 void CookiesView::UpdateVisibleDetailedInfo(views::View* view) { | 391 void CookiesView::UpdateVisibleDetailedInfo(views::View* view) { |
392 cookie_info_view_->SetVisible(view == cookie_info_view_); | 392 cookie_info_view_->SetVisible(view == cookie_info_view_); |
393 database_info_view_->SetVisible(view == database_info_view_); | 393 database_info_view_->SetVisible(view == database_info_view_); |
394 local_storage_info_view_->SetVisible(view == local_storage_info_view_); | 394 local_storage_info_view_->SetVisible(view == local_storage_info_view_); |
395 appcache_info_view_->SetVisible(view == appcache_info_view_); | 395 appcache_info_view_->SetVisible(view == appcache_info_view_); |
396 indexed_db_info_view_->SetVisible(view == indexed_db_info_view_); | 396 indexed_db_info_view_->SetVisible(view == indexed_db_info_view_); |
397 } | 397 } |
OLD | NEW |