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

Side by Side Diff: views/controls/table/table_view.cc

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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 | « views/controls/table/native_table_win.cc ('k') | views/controls/textfield/textfield.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "views/controls/table/table_view.h" 5 #include "views/controls/table/table_view.h"
6 6
7 #include <commctrl.h> 7 #include <commctrl.h>
8 #include <windowsx.h> 8 #include <windowsx.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 11
12 #include "app/gfx/canvas.h"
13 #include "app/gfx/font.h"
14 #include "app/l10n_util.h" 12 #include "app/l10n_util.h"
15 #include "app/l10n_util_win.h" 13 #include "app/l10n_util_win.h"
16 #include "app/resource_bundle.h" 14 #include "app/resource_bundle.h"
17 #include "app/table_model.h" 15 #include "app/table_model.h"
18 #include "base/i18n/rtl.h" 16 #include "base/i18n/rtl.h"
19 #include "base/string_util.h" 17 #include "base/string_util.h"
20 #include "base/win_util.h" 18 #include "base/win_util.h"
19 #include "gfx/canvas.h"
21 #include "gfx/favicon_size.h" 20 #include "gfx/favicon_size.h"
21 #include "gfx/font.h"
22 #include "gfx/icon_util.h" 22 #include "gfx/icon_util.h"
23 #include "skia/ext/skia_utils_win.h" 23 #include "skia/ext/skia_utils_win.h"
24 #include "third_party/skia/include/core/SkBitmap.h" 24 #include "third_party/skia/include/core/SkBitmap.h"
25 #include "third_party/skia/include/core/SkColorFilter.h" 25 #include "third_party/skia/include/core/SkColorFilter.h"
26 #include "views/controls/native/native_view_host.h" 26 #include "views/controls/native/native_view_host.h"
27 #include "views/controls/table/table_view_observer.h" 27 #include "views/controls/table/table_view_observer.h"
28 28
29 namespace views { 29 namespace views {
30 30
31 // Added to column width to prevent truncation. 31 // Added to column width to prevent truncation.
(...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1576 } 1576 }
1577 1577
1578 void TableSelectionIterator::UpdateModelIndexFromViewIndex() { 1578 void TableSelectionIterator::UpdateModelIndexFromViewIndex() {
1579 if (view_index_ == -1) 1579 if (view_index_ == -1)
1580 model_index_ = -1; 1580 model_index_ = -1;
1581 else 1581 else
1582 model_index_ = table_view_->view_to_model(view_index_); 1582 model_index_ = table_view_->view_to_model(view_index_);
1583 } 1583 }
1584 1584
1585 } // namespace views 1585 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/table/native_table_win.cc ('k') | views/controls/textfield/textfield.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698