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

Side by Side Diff: ui/base/gtk/gtk_floating_container.cc

Issue 7701012: content: Move gtk_floating_container to ui/base/gtk/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and test on views/chromeos Created 9 years, 3 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 | « ui/base/gtk/gtk_floating_container.h ('k') | ui/ui.gyp » ('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_floating_container.h" 5 #include "ui/base/gtk/gtk_floating_container.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 #include <gtk/gtkmarshal.h> 8 #include <gtk/gtkmarshal.h>
9 #include <gtk/gtkprivate.h> 9 #include <gtk/gtkprivate.h>
10 10
11 #include <algorithm> 11 #include <algorithm>
12 12
13 namespace { 13 namespace {
14 14
15 enum { 15 enum {
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 child_info->x = 0; 311 child_info->x = 0;
312 child_info->y = 0; 312 child_info->y = 0;
313 313
314 gtk_widget_set_parent(widget, GTK_WIDGET(container)); 314 gtk_widget_set_parent(widget, GTK_WIDGET(container));
315 315
316 container->floating_children = 316 container->floating_children =
317 g_list_append(container->floating_children, child_info); 317 g_list_append(container->floating_children, child_info);
318 } 318 }
319 319
320 G_END_DECLS 320 G_END_DECLS
OLDNEW
« no previous file with comments | « ui/base/gtk/gtk_floating_container.h ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698