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/cookie_info_view.h" | 5 #include "chrome/browser/ui/views/cookie_info_view.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/i18n/time_formatting.h" | 9 #include "base/i18n/time_formatting.h" |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "chrome/browser/browsing_data/cookies_tree_model.h" | 14 #include "chrome/browser/browsing_data/cookies_tree_model.h" |
15 #include "chrome/grit/generated_resources.h" | 15 #include "chrome/grit/generated_resources.h" |
16 #include "chrome/grit/locale_settings.h" | |
17 #include "net/cookies/canonical_cookie.h" | 16 #include "net/cookies/canonical_cookie.h" |
18 #include "net/cookies/parsed_cookie.h" | 17 #include "net/cookies/parsed_cookie.h" |
19 #include "third_party/skia/include/core/SkColor.h" | 18 #include "third_party/skia/include/core/SkColor.h" |
20 #include "ui/base/l10n/l10n_util.h" | 19 #include "ui/base/l10n/l10n_util.h" |
21 #include "ui/gfx/canvas.h" | 20 #include "ui/gfx/canvas.h" |
22 #include "ui/native_theme/native_theme.h" | 21 #include "ui/native_theme/native_theme.h" |
23 #include "ui/views/border.h" | 22 #include "ui/views/border.h" |
24 #include "ui/views/controls/label.h" | 23 #include "ui/views/controls/label.h" |
25 #include "ui/views/controls/textfield/textfield.h" | 24 #include "ui/views/controls/textfield/textfield.h" |
26 #include "ui/views/layout/grid_layout.h" | 25 #include "ui/views/layout/grid_layout.h" |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 AddLabelRow(three_column_layout_id, layout, domain_label_, | 184 AddLabelRow(three_column_layout_id, layout, domain_label_, |
186 domain_value_field_); | 185 domain_value_field_); |
187 AddLabelRow(three_column_layout_id, layout, path_label_, path_value_field_); | 186 AddLabelRow(three_column_layout_id, layout, path_label_, path_value_field_); |
188 AddLabelRow(three_column_layout_id, layout, send_for_label_, | 187 AddLabelRow(three_column_layout_id, layout, send_for_label_, |
189 send_for_value_field_); | 188 send_for_value_field_); |
190 AddLabelRow(three_column_layout_id, layout, created_label_, | 189 AddLabelRow(three_column_layout_id, layout, created_label_, |
191 created_value_field_); | 190 created_value_field_); |
192 AddLabelRow(three_column_layout_id, layout, expires_label_, | 191 AddLabelRow(three_column_layout_id, layout, expires_label_, |
193 expires_value_field_); | 192 expires_value_field_); |
194 } | 193 } |
OLD | NEW |