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

Side by Side Diff: chrome/browser/ui/gtk/gtk_tree.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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/browser/ui/gtk/gtk_theme_provider.cc ('k') | chrome/browser/ui/gtk/gtk_util.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser/ui/gtk/gtk_tree.h" 5 #include "chrome/browser/ui/gtk/gtk_tree.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/ui/gtk/gtk_theme_provider.h" 9 #include "chrome/browser/ui/gtk/gtk_theme_provider.h"
10 #include "gfx/gtk_util.h"
11 #include "third_party/skia/include/core/SkBitmap.h" 10 #include "third_party/skia/include/core/SkBitmap.h"
12 #include "ui/base/models/table_model.h" 11 #include "ui/base/models/table_model.h"
12 #include "ui/gfx/gtk_util.h"
13 13
14 namespace gtk_tree { 14 namespace gtk_tree {
15 15
16 gint GetRowNumForPath(GtkTreePath* path) { 16 gint GetRowNumForPath(GtkTreePath* path) {
17 gint* indices = gtk_tree_path_get_indices(path); 17 gint* indices = gtk_tree_path_get_indices(path);
18 if (!indices) { 18 if (!indices) {
19 NOTREACHED(); 19 NOTREACHED();
20 return -1; 20 return -1;
21 } 21 }
22 return indices[0]; 22 return indices[0];
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 void TreeAdapter::TreeNodeChanged(ui::TreeModel* model, 466 void TreeAdapter::TreeNodeChanged(ui::TreeModel* model,
467 ui::TreeModelNode* node) { 467 ui::TreeModelNode* node) {
468 delegate_->OnAnyModelUpdateStart(); 468 delegate_->OnAnyModelUpdateStart();
469 GtkTreeIter iter; 469 GtkTreeIter iter;
470 if (GetTreeIter(node, &iter)) 470 if (GetTreeIter(node, &iter))
471 FillRow(&iter, node); 471 FillRow(&iter, node);
472 delegate_->OnAnyModelUpdate(); 472 delegate_->OnAnyModelUpdate();
473 } 473 }
474 474
475 } // namespace gtk_tree 475 } // namespace gtk_tree
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/gtk_theme_provider.cc ('k') | chrome/browser/ui/gtk/gtk_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698