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

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

Issue 6296012: Update references part 2: files in chrome/browser/ui/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
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/gtk/gtk_chrome_shrinkable_hbox.h" 5 #include "chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8
8 #include <algorithm> 9 #include <algorithm>
9 10
10 namespace { 11 namespace {
11 12
12 enum { 13 enum {
13 PROP_0, 14 PROP_0,
14 PROP_HIDE_CHILD_DIRECTLY 15 PROP_HIDE_CHILD_DIRECTLY
15 }; 16 };
16 17
17 struct SizeAllocateData { 18 struct SizeAllocateData {
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 274
274 gint gtk_chrome_shrinkable_hbox_get_visible_child_count( 275 gint gtk_chrome_shrinkable_hbox_get_visible_child_count(
275 GtkChromeShrinkableHBox* box) { 276 GtkChromeShrinkableHBox* box) {
276 gint visible_children_count = 0; 277 gint visible_children_count = 0;
277 gtk_container_foreach(GTK_CONTAINER(box), CountVisibleChildren, 278 gtk_container_foreach(GTK_CONTAINER(box), CountVisibleChildren,
278 &visible_children_count); 279 &visible_children_count);
279 return visible_children_count; 280 return visible_children_count;
280 } 281 }
281 282
282 G_END_DECLS 283 G_END_DECLS
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/gtk_chrome_link_button.cc ('k') | chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698