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

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

Issue 115825: Move text_field.cc and rename the class to Textfield in preparation for porti... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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
« no previous file with comments | « chrome/browser/views/find_bar_view.cc ('k') | chrome/browser/views/login_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/keyword_editor_view.h" 5 #include "chrome/browser/views/keyword_editor_view.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/common/pref_service.h" 21 #include "chrome/common/pref_service.h"
22 #include "googleurl/src/gurl.h" 22 #include "googleurl/src/gurl.h"
23 #include "grit/app_resources.h" 23 #include "grit/app_resources.h"
24 #include "grit/generated_resources.h" 24 #include "grit/generated_resources.h"
25 #include "grit/locale_settings.h" 25 #include "grit/locale_settings.h"
26 #include "grit/theme_resources.h" 26 #include "grit/theme_resources.h"
27 #include "third_party/skia/include/core/SkBitmap.h" 27 #include "third_party/skia/include/core/SkBitmap.h"
28 #include "views/background.h" 28 #include "views/background.h"
29 #include "views/grid_layout.h" 29 #include "views/grid_layout.h"
30 #include "views/controls/button/native_button.h" 30 #include "views/controls/button/native_button.h"
31 #include "views/controls/text_field.h" 31 #include "views/controls/textfield/textfield.h"
32 #include "views/standard_layout.h" 32 #include "views/standard_layout.h"
33 #include "views/widget/widget.h" 33 #include "views/widget/widget.h"
34 #include "views/window/dialog_delegate.h" 34 #include "views/window/dialog_delegate.h"
35 #include "views/window/window.h" 35 #include "views/window/window.h"
36 36
37 using views::GridLayout; 37 using views::GridLayout;
38 using views::NativeButton; 38 using views::NativeButton;
39 using views::TableColumn; 39 using views::TableColumn;
40 40
41 // Group IDs used by TemplateURLTableModel. 41 // Group IDs used by TemplateURLTableModel.
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 } 644 }
645 const int new_index = table_model_->IndexOfTemplateURL(keyword); 645 const int new_index = table_model_->IndexOfTemplateURL(keyword);
646 table_model_->NotifyChanged(new_index); 646 table_model_->NotifyChanged(new_index);
647 647
648 // Make sure the new default is in the main group. 648 // Make sure the new default is in the main group.
649 table_model_->MoveToMainGroup(index); 649 table_model_->MoveToMainGroup(index);
650 650
651 // And select it. 651 // And select it.
652 table_view_->Select(table_model_->IndexOfTemplateURL(keyword)); 652 table_view_->Select(table_model_->IndexOfTemplateURL(keyword));
653 } 653 }
OLDNEW
« no previous file with comments | « chrome/browser/views/find_bar_view.cc ('k') | chrome/browser/views/login_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698