Chromium Code Reviews

Side by Side Diff: chrome/browser/ui/gtk/options/languages_page_gtk_unittest.cc

Issue 6251001: Move chrome/browser/gtk/ to chrome/browser/ui/gtk/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 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/languages_page_gtk.h" 5 #include "chrome/browser/gtk/options/languages_page_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "chrome/browser/language_combobox_model.h" 11 #include "chrome/browser/language_combobox_model.h"
(...skipping 288 matching lines...)
300 EXPECT_STREQ("French", GetDisplayedSpellCheckerLang(page).c_str()); 300 EXPECT_STREQ("French", GetDisplayedSpellCheckerLang(page).c_str());
301 301
302 gtk_combo_box_set_active( 302 gtk_combo_box_set_active(
303 GTK_COMBO_BOX(page.dictionary_language_combobox_), 303 GTK_COMBO_BOX(page.dictionary_language_combobox_),
304 page.dictionary_language_model_->GetIndexFromLocale("it")); 304 page.dictionary_language_model_->GetIndexFromLocale("it"));
305 EXPECT_STREQ("Italian", GetDisplayedLangs(page).c_str()); 305 EXPECT_STREQ("Italian", GetDisplayedLangs(page).c_str());
306 EXPECT_STREQ("it", 306 EXPECT_STREQ("it",
307 profile_->GetPrefs()->GetString(prefs::kAcceptLanguages).c_str()); 307 profile_->GetPrefs()->GetString(prefs::kAcceptLanguages).c_str());
308 EXPECT_STREQ("Italian", GetDisplayedSpellCheckerLang(page).c_str()); 308 EXPECT_STREQ("Italian", GetDisplayedSpellCheckerLang(page).c_str());
309 } 309 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/options/languages_page_gtk.cc ('k') | chrome/browser/ui/gtk/options/managed_prefs_banner_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine