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

Side by Side Diff: chrome/views/controls/table/table_view.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.h ('k') | chrome/views/controls/text_field.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) 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/views/controls/table/table_view.h" 5 #include "chrome/views/controls/table/table_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <windowsx.h> 8 #include <windowsx.h>
9 9
10 #include "app/l10n_util_win.h"
10 #include "app/resource_bundle.h" 11 #include "app/resource_bundle.h"
11 #include "base/string_util.h" 12 #include "base/string_util.h"
12 #include "base/win_util.h" 13 #include "base/win_util.h"
13 #include "chrome/common/gfx/chrome_canvas.h" 14 #include "chrome/common/gfx/chrome_canvas.h"
14 #include "chrome/common/gfx/favicon_size.h" 15 #include "chrome/common/gfx/favicon_size.h"
15 #include "chrome/common/gfx/icon_util.h" 16 #include "chrome/common/gfx/icon_util.h"
16 #include "chrome/common/l10n_util_win.h"
17 #include "chrome/common/win_util.h" 17 #include "chrome/common/win_util.h"
18 #include "chrome/views/controls/hwnd_view.h" 18 #include "chrome/views/controls/hwnd_view.h"
19 #include "SkBitmap.h" 19 #include "SkBitmap.h"
20 #include "SkColorFilter.h" 20 #include "SkColorFilter.h"
21 #include "skia/ext/skia_utils_win.h" 21 #include "skia/ext/skia_utils_win.h"
22 22
23 namespace views { 23 namespace views {
24 24
25 // Added to column width to prevent truncation. 25 // Added to column width to prevent truncation.
26 const int kListViewTextPadding = 15; 26 const int kListViewTextPadding = 15;
(...skipping 1535 matching lines...) Expand 10 before | Expand all | Expand 10 after
1562 } 1562 }
1563 1563
1564 void TableSelectionIterator::UpdateModelIndexFromViewIndex() { 1564 void TableSelectionIterator::UpdateModelIndexFromViewIndex() {
1565 if (view_index_ == -1) 1565 if (view_index_ == -1)
1566 model_index_ = -1; 1566 model_index_ = -1;
1567 else 1567 else
1568 model_index_ = table_view_->view_to_model(view_index_); 1568 model_index_ = table_view_->view_to_model(view_index_);
1569 } 1569 }
1570 1570
1571 } // namespace views 1571 } // namespace views
OLDNEW
« no previous file with comments | « chrome/views/controls/table/table_view.h ('k') | chrome/views/controls/text_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698