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

Side by Side Diff: ui/views/widget/gtk_views_fixed.h

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 years, 1 month 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/views/widget/drop_target_win.cc ('k') | ui/views/widget/gtk_views_fixed.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) 2009 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 #ifndef VIEWS_WIDGET_GTK_VIEWS_FIXED_H_ 5 #ifndef UI_VIEWS_WIDGET_GTK_VIEWS_FIXED_H_
6 #define VIEWS_WIDGET_GTK_VIEWS_FIXED_H_ 6 #define UI_VIEWS_WIDGET_GTK_VIEWS_FIXED_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gdk/gdk.h> 9 #include <gdk/gdk.h>
10 #include <gtk/gtkfixed.h> 10 #include <gtk/gtkfixed.h>
11 11
12 // GtkViewsFixed is a subclass of GtkFixed that can give child widgets 12 // GtkViewsFixed is a subclass of GtkFixed that can give child widgets
13 // a set size rather than their requisitioned size (which is actually 13 // a set size rather than their requisitioned size (which is actually
14 // a minimum size, and that can cause issues). This behavior is 14 // a minimum size, and that can cause issues). This behavior is
15 // controlled by gtk_views_fixed_set_widget_size; the default is to 15 // controlled by gtk_views_fixed_set_widget_size; the default is to
16 // use the Widget's requisitioned size. 16 // use the Widget's requisitioned size.
(...skipping 29 matching lines...) Expand all
46 46
47 // If width and height are 0, go back to using the requisitioned size. 47 // If width and height are 0, go back to using the requisitioned size.
48 // Queues up a re-size on the widget. 48 // Queues up a re-size on the widget.
49 void gtk_views_fixed_set_widget_size(GtkWidget* widget, int width, int height); 49 void gtk_views_fixed_set_widget_size(GtkWidget* widget, int width, int height);
50 50
51 bool gtk_views_fixed_get_widget_size(GtkWidget* widget, 51 bool gtk_views_fixed_get_widget_size(GtkWidget* widget,
52 int* width, int* height); 52 int* width, int* height);
53 53
54 G_END_DECLS 54 G_END_DECLS
55 55
56 #endif // VIEWS_WIDGET_GTK_VIEWS_FIXED_H 56 #endif // UI_VIEWS_WIDGET_GTK_VIEWS_FIXED_H_
OLDNEW
« no previous file with comments | « ui/views/widget/drop_target_win.cc ('k') | ui/views/widget/gtk_views_fixed.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698