| 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/keyword_editor_view.h" | 5 #include "chrome/browser/gtk/keyword_editor_view.h" |
| 6 | 6 |
| 7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 editor.OnEditedKeyword(d, ASCIIToUTF16("DD"), ASCIIToUTF16("d"), | 262 editor.OnEditedKeyword(d, ASCIIToUTF16("DD"), ASCIIToUTF16("d"), |
| 263 "example.com"); | 263 "example.com"); |
| 264 EXPECT_STREQ("!,_,AA,BBB,_,@,_,C,DD", | 264 EXPECT_STREQ("!,_,AA,BBB,_,@,_,C,DD", |
| 265 GetDisplayedEngines(editor).c_str()); | 265 GetDisplayedEngines(editor).c_str()); |
| 266 | 266 |
| 267 editor.OnEditedKeyword(c, ASCIIToUTF16("CC"), ASCIIToUTF16("cc"), | 267 editor.OnEditedKeyword(c, ASCIIToUTF16("CC"), ASCIIToUTF16("cc"), |
| 268 "example.com"); | 268 "example.com"); |
| 269 EXPECT_STREQ("!,_,AA,BBB,_,@,_,CC,DD", | 269 EXPECT_STREQ("!,_,AA,BBB,_,@,_,CC,DD", |
| 270 GetDisplayedEngines(editor).c_str()); | 270 GetDisplayedEngines(editor).c_str()); |
| 271 } | 271 } |
| OLD | NEW |