| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include <gtk/gtk.h> | 10 #include <gtk/gtk.h> |
| 11 | 11 |
| (...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1193 SCOPED_TRACE("First selection removed"); | 1193 SCOPED_TRACE("First selection removed"); |
| 1194 EXPECT_STREQ("C,B", GetMonsterCookies(monster).c_str()); | 1194 EXPECT_STREQ("C,B", GetMonsterCookies(monster).c_str()); |
| 1195 EXPECT_STREQ("gdbhost1,_Web Databases,__db1," | 1195 EXPECT_STREQ("gdbhost1,_Web Databases,__db1," |
| 1196 "host1,_Local Storage,__http://host1:1/", | 1196 "host1,_Local Storage,__http://host1:1/", |
| 1197 GetDisplayedCookies(cookies_view).c_str()); | 1197 GetDisplayedCookies(cookies_view).c_str()); |
| 1198 EXPECT_EQ(TRUE, GTK_WIDGET_SENSITIVE(cookies_view.remove_all_button_)); | 1198 EXPECT_EQ(TRUE, GTK_WIDGET_SENSITIVE(cookies_view.remove_all_button_)); |
| 1199 EXPECT_EQ(FALSE, GTK_WIDGET_SENSITIVE(cookies_view.remove_button_)); | 1199 EXPECT_EQ(FALSE, GTK_WIDGET_SENSITIVE(cookies_view.remove_button_)); |
| 1200 CheckDetailsSensitivity(FALSE, FALSE, FALSE, FALSE, FALSE, cookies_view); | 1200 CheckDetailsSensitivity(FALSE, FALSE, FALSE, FALSE, FALSE, cookies_view); |
| 1201 } | 1201 } |
| 1202 } | 1202 } |
| OLD | NEW |