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

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

Issue 9147044: GTK: More GSEALing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: jhawkins refactor Created 8 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
« no previous file with comments | « chrome/browser/ui/gtk/bubble/bubble_gtk.cc ('k') | chrome/browser/ui/gtk/custom_button.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) 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/chrome_gtk_frame.h" 5 #include "chrome/browser/ui/gtk/chrome_gtk_frame.h"
6 6
7 G_BEGIN_DECLS 7 G_BEGIN_DECLS
8 8
9 // MetaFrames declaration 9 // MetaFrames declaration
10 G_DEFINE_TYPE(MetaFrames, meta_frames, GTK_TYPE_WINDOW) 10 G_DEFINE_TYPE(MetaFrames, meta_frames, GTK_TYPE_WINDOW)
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 "Scrollbar Trough Color", 138 "Scrollbar Trough Color",
139 "The background color of the slider track", 139 "The background color of the slider track",
140 GDK_TYPE_COLOR, 140 GDK_TYPE_COLOR,
141 G_PARAM_READABLE)); 141 G_PARAM_READABLE));
142 } 142 }
143 143
144 static void chrome_gtk_frame_init(ChromeGtkFrame* frame) { 144 static void chrome_gtk_frame_init(ChromeGtkFrame* frame) {
145 } 145 }
146 146
147 GtkWidget* chrome_gtk_frame_new(void) { 147 GtkWidget* chrome_gtk_frame_new(void) {
148 GtkWindow* window = 148 return GTK_WIDGET(g_object_new(chrome_gtk_frame_get_type(),
149 GTK_WINDOW(g_object_new(chrome_gtk_frame_get_type(), NULL)); 149 "type", GTK_WINDOW_TOPLEVEL,
150 window->type = GTK_WINDOW_TOPLEVEL; 150 NULL));
151 return GTK_WIDGET(window);
152 } 151 }
153 152
154
155 G_END_DECLS 153 G_END_DECLS
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/bubble/bubble_gtk.cc ('k') | chrome/browser/ui/gtk/custom_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698