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

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

Issue 65012: Move skia to DEPS, and put it in third_party. (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 | « views/controls/table/table_view.h ('k') | views/controls/text_field.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 "views/controls/table/table_view.h" 5 #include "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/gfx/chrome_canvas.h" 10 #include "app/gfx/chrome_canvas.h"
11 #include "app/gfx/favicon_size.h" 11 #include "app/gfx/favicon_size.h"
12 #include "app/gfx/icon_util.h" 12 #include "app/gfx/icon_util.h"
13 #include "app/l10n_util_win.h" 13 #include "app/l10n_util_win.h"
14 #include "app/resource_bundle.h" 14 #include "app/resource_bundle.h"
15 #include "base/string_util.h" 15 #include "base/string_util.h"
16 #include "base/win_util.h" 16 #include "base/win_util.h"
17 #include "skia/ext/skia_utils_win.h" 17 #include "skia/ext/skia_utils_win.h"
18 #include "skia/include/SkBitmap.h" 18 #include "third_party/skia/include/core/SkBitmap.h"
19 #include "skia/include/SkColorFilter.h" 19 #include "third_party/skia/include/core/SkColorFilter.h"
20 #include "views/controls/hwnd_view.h" 20 #include "views/controls/hwnd_view.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 // TableModel ----------------------------------------------------------------- 29 // TableModel -----------------------------------------------------------------
(...skipping 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after
1566 } 1566 }
1567 1567
1568 void TableSelectionIterator::UpdateModelIndexFromViewIndex() { 1568 void TableSelectionIterator::UpdateModelIndexFromViewIndex() {
1569 if (view_index_ == -1) 1569 if (view_index_ == -1)
1570 model_index_ = -1; 1570 model_index_ = -1;
1571 else 1571 else
1572 model_index_ = table_view_->view_to_model(view_index_); 1572 model_index_ = table_view_->view_to_model(view_index_);
1573 } 1573 }
1574 1574
1575 } // namespace views 1575 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/table/table_view.h ('k') | views/controls/text_field.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698