OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/gtk/options/cookies_view.h" | 5 #include "chrome/browser/gtk/options/cookies_view.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "app/gfx/gtk_util.h" |
10 #include "app/l10n_util.h" | 11 #include "app/l10n_util.h" |
11 #include "base/gfx/gtk_util.h" | |
12 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
13 #include "base/string_util.h" | 13 #include "base/string_util.h" |
14 #include "base/time_format.h" | 14 #include "base/time_format.h" |
15 #include "chrome/browser/cookies_table_model.h" | 15 #include "chrome/browser/cookies_table_model.h" |
16 #include "chrome/common/gtk_util.h" | 16 #include "chrome/common/gtk_util.h" |
17 #include "grit/generated_resources.h" | 17 #include "grit/generated_resources.h" |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
21 // Initial size for dialog. | 21 // Initial size for dialog. |
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 window->EnableControls(); | 446 window->EnableControls(); |
447 } | 447 } |
448 | 448 |
449 // static | 449 // static |
450 void CookiesView::OnFilterClearButtonClicked(GtkButton* button, | 450 void CookiesView::OnFilterClearButtonClicked(GtkButton* button, |
451 CookiesView* window) { | 451 CookiesView* window) { |
452 gtk_entry_set_text(GTK_ENTRY(window->filter_entry_), ""); | 452 gtk_entry_set_text(GTK_ENTRY(window->filter_entry_), ""); |
453 window->filter_update_factory_.RevokeAll(); | 453 window->filter_update_factory_.RevokeAll(); |
454 window->UpdateFilterResults(); | 454 window->UpdateFilterResults(); |
455 } | 455 } |
OLD | NEW |