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

Side by Side Diff: chrome/views/controls/text_field.cc

Issue 109043: Move l10n_util to app/ (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/views/controls/table/table_view.cc ('k') | chrome/views/controls/tree/tree_view.cc » ('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) 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/views/controls/text_field.h" 5 #include "chrome/views/controls/text_field.h"
6 6
7 #include <atlbase.h> 7 #include <atlbase.h>
8 #include <atlapp.h> 8 #include <atlapp.h>
9 #include <atlcrack.h> 9 #include <atlcrack.h>
10 #include <atlctrls.h> 10 #include <atlctrls.h>
11 #include <tom.h> // For ITextDocument, a COM interface to CRichEditCtrl 11 #include <tom.h> // For ITextDocument, a COM interface to CRichEditCtrl
12 #include <vsstyle.h> 12 #include <vsstyle.h>
13 13
14 #include "app/l10n_util.h"
15 #include "app/l10n_util_win.h"
14 #include "base/clipboard.h" 16 #include "base/clipboard.h"
15 #include "base/gfx/native_theme.h" 17 #include "base/gfx/native_theme.h"
16 #include "base/scoped_clipboard_writer.h" 18 #include "base/scoped_clipboard_writer.h"
17 #include "base/string_util.h" 19 #include "base/string_util.h"
18 #include "base/win_util.h" 20 #include "base/win_util.h"
19 #include "chrome/browser/browser_process.h" 21 #include "chrome/browser/browser_process.h"
20 #include "chrome/common/gfx/insets.h" 22 #include "chrome/common/gfx/insets.h"
21 #include "chrome/common/l10n_util.h"
22 #include "chrome/common/l10n_util_win.h"
23 #include "chrome/common/logging_chrome.h" 23 #include "chrome/common/logging_chrome.h"
24 #include "chrome/common/win_util.h" 24 #include "chrome/common/win_util.h"
25 #include "chrome/views/controls/hwnd_view.h" 25 #include "chrome/views/controls/hwnd_view.h"
26 #include "chrome/views/controls/menu/menu.h" 26 #include "chrome/views/controls/menu/menu.h"
27 #include "chrome/views/focus/focus_util_win.h" 27 #include "chrome/views/focus/focus_util_win.h"
28 #include "chrome/views/widget/widget.h" 28 #include "chrome/views/widget/widget.h"
29 #include "grit/generated_resources.h" 29 #include "grit/generated_resources.h"
30 #include "skia/ext/skia_utils_win.h" 30 #include "skia/ext/skia_utils_win.h"
31 31
32 using gfx::NativeTheme; 32 using gfx::NativeTheme;
(...skipping 1151 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 1184
1185 COLORREF bg_color; 1185 COLORREF bg_color;
1186 if (!use_default_background_color_) 1186 if (!use_default_background_color_)
1187 bg_color = skia::SkColorToCOLORREF(background_color_); 1187 bg_color = skia::SkColorToCOLORREF(background_color_);
1188 else 1188 else
1189 bg_color = GetSysColor(read_only_ ? COLOR_3DFACE : COLOR_WINDOW); 1189 bg_color = GetSysColor(read_only_ ? COLOR_3DFACE : COLOR_WINDOW);
1190 edit_->SetBackgroundColor(bg_color); 1190 edit_->SetBackgroundColor(bg_color);
1191 } 1191 }
1192 1192
1193 } // namespace views 1193 } // namespace views
OLDNEW
« no previous file with comments | « chrome/views/controls/table/table_view.cc ('k') | chrome/views/controls/tree/tree_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698