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

Side by Side Diff: chrome/browser/ui/views/keyword_editor_view.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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) 2011 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/ui/views/keyword_editor_view.h" 5 #include "chrome/browser/ui/views/keyword_editor_view.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/stl_util-inl.h" 10 #include "base/stl_util-inl.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/search_engines/template_url.h" 14 #include "chrome/browser/search_engines/template_url.h"
15 #include "chrome/browser/search_engines/template_url_model.h" 15 #include "chrome/browser/search_engines/template_url_model.h"
16 #include "chrome/browser/search_engines/template_url_table_model.h" 16 #include "chrome/browser/search_engines/template_url_table_model.h"
17 #include "chrome/browser/ui/views/browser_dialogs.h" 17 #include "chrome/browser/ui/views/browser_dialogs.h"
18 #include "chrome/browser/ui/views/first_run_search_engine_view.h" 18 #include "chrome/browser/ui/views/first_run_search_engine_view.h"
19 #include "chrome/common/pref_names.h" 19 #include "chrome/common/pref_names.h"
20 #include "gfx/point.h"
21 #include "googleurl/src/gurl.h" 20 #include "googleurl/src/gurl.h"
22 #include "grit/generated_resources.h" 21 #include "grit/generated_resources.h"
23 #include "grit/locale_settings.h" 22 #include "grit/locale_settings.h"
24 #include "grit/theme_resources.h" 23 #include "grit/theme_resources.h"
25 #include "ui/base/l10n/l10n_util.h" 24 #include "ui/base/l10n/l10n_util.h"
25 #include "ui/gfx/point.h"
26 #include "views/background.h" 26 #include "views/background.h"
27 #include "views/controls/button/native_button.h" 27 #include "views/controls/button/native_button.h"
28 #include "views/controls/table/table_view.h" 28 #include "views/controls/table/table_view.h"
29 #include "views/controls/textfield/textfield.h" 29 #include "views/controls/textfield/textfield.h"
30 #include "views/layout/grid_layout.h" 30 #include "views/layout/grid_layout.h"
31 #include "views/layout/layout_constants.h" 31 #include "views/layout/layout_constants.h"
32 #include "views/widget/widget.h" 32 #include "views/widget/widget.h"
33 #include "views/window/dialog_delegate.h" 33 #include "views/window/dialog_delegate.h"
34 #include "views/window/window.h" 34 #include "views/window/window.h"
35 35
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 add_button_->SetEnabled(controller_->loaded()); 299 add_button_->SetEnabled(controller_->loaded());
300 } 300 }
301 301
302 void KeywordEditorView::MakeDefaultTemplateURL() { 302 void KeywordEditorView::MakeDefaultTemplateURL() {
303 int new_index = 303 int new_index =
304 controller_->MakeDefaultTemplateURL(table_view_->FirstSelectedRow()); 304 controller_->MakeDefaultTemplateURL(table_view_->FirstSelectedRow());
305 if (new_index >= 0) 305 if (new_index >= 0)
306 table_view_->Select(new_index); 306 table_view_->Select(new_index);
307 default_chosen_ = true; 307 default_chosen_ = true;
308 } 308 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/keyboard_overlay_delegate.h ('k') | chrome/browser/ui/views/list_background.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698