Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: chrome/browser/ui/views/options/general_page_view.cc

Issue 6204002: Carnitas: Remove chrome/browser/views, update references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yay, more syncing Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/views/options/general_page_view.h" 5 #include "chrome/browser/ui/views/options/general_page_view.h"
6 6
7 #include "app/combobox_model.h" 7 #include "app/combobox_model.h"
8 #include "app/l10n_util.h" 8 #include "app/l10n_util.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "chrome/browser/browser_window.h" 14 #include "chrome/browser/browser_window.h"
15 #include "chrome/browser/custom_home_pages_table_model.h" 15 #include "chrome/browser/custom_home_pages_table_model.h"
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 } 887 }
888 homepage_use_url_textfield_->SetEnabled(enabled); 888 homepage_use_url_textfield_->SetEnabled(enabled);
889 homepage_use_url_textfield_->SetReadOnly(!enabled); 889 homepage_use_url_textfield_->SetReadOnly(!enabled);
890 } 890 }
891 891
892 void GeneralPageView::SetDefaultSearchProvider() { 892 void GeneralPageView::SetDefaultSearchProvider() {
893 const int index = default_search_engine_combobox_->selected_item(); 893 const int index = default_search_engine_combobox_->selected_item();
894 default_search_engines_model_->model()->SetDefaultSearchProvider( 894 default_search_engines_model_->model()->SetDefaultSearchProvider(
895 default_search_engines_model_->GetTemplateURLAt(index)); 895 default_search_engines_model_->GetTemplateURLAt(index));
896 } 896 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/options/general_page_view.h ('k') | chrome/browser/ui/views/options/languages_page_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698