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

Side by Side Diff: chrome/views/table_view.cc

Issue 13101: Move base/gfx/skia_util to skia/ext/skia_util_win.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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/tabbed_pane.cc ('k') | chrome/views/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 <algorithm> 5 #include <algorithm>
6 #include <windowsx.h> 6 #include <windowsx.h>
7 7
8 #include "chrome/views/table_view.h" 8 #include "chrome/views/table_view.h"
9 9
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/win_util.h" 11 #include "base/win_util.h"
12 #include "base/gfx/skia_utils.h"
13 #include "chrome/common/gfx/chrome_canvas.h" 12 #include "chrome/common/gfx/chrome_canvas.h"
14 #include "chrome/common/gfx/favicon_size.h" 13 #include "chrome/common/gfx/favicon_size.h"
15 #include "chrome/common/gfx/icon_util.h" 14 #include "chrome/common/gfx/icon_util.h"
16 #include "chrome/common/resource_bundle.h" 15 #include "chrome/common/resource_bundle.h"
17 #include "chrome/common/win_util.h" 16 #include "chrome/common/win_util.h"
18 #include "chrome/views/hwnd_view.h" 17 #include "chrome/views/hwnd_view.h"
19 #include "SkBitmap.h" 18 #include "SkBitmap.h"
20 #include "SkColorFilter.h" 19 #include "SkColorFilter.h"
20 #include "skia/ext/skia_utils_win.h"
21 21
22 namespace views { 22 namespace views {
23 23
24 // Added to column width to prevent truncation. 24 // Added to column width to prevent truncation.
25 const int kListViewTextPadding = 15; 25 const int kListViewTextPadding = 15;
26 // Additional column width necessary if column has icons. 26 // Additional column width necessary if column has icons.
27 const int kListViewIconWidthAndPadding = 18; 27 const int kListViewIconWidthAndPadding = 18;
28 28
29 const int kImageSize = 18; 29 const int kImageSize = 18;
30 30
(...skipping 1525 matching lines...) Expand 10 before | Expand all | Expand 10 after
1556 } 1556 }
1557 1557
1558 void TableSelectionIterator::UpdateModelIndexFromViewIndex() { 1558 void TableSelectionIterator::UpdateModelIndexFromViewIndex() {
1559 if (view_index_ == -1) 1559 if (view_index_ == -1)
1560 model_index_ = -1; 1560 model_index_ = -1;
1561 else 1561 else
1562 model_index_ = table_view_->view_to_model(view_index_); 1562 model_index_ = table_view_->view_to_model(view_index_);
1563 } 1563 }
1564 1564
1565 } // namespace views 1565 } // namespace views
OLDNEW
« no previous file with comments | « chrome/views/tabbed_pane.cc ('k') | chrome/views/text_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698