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

Side by Side Diff: chrome/browser/gtk/gtk_chrome_button.cc

Issue 259047: Move classes depending on Skia out of base/gfx and into app/gfx. Rename... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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/gtk/first_run_bubble.cc ('k') | chrome/browser/gtk/gtk_theme_provider.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) 2009 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_button.h" 5 #include "chrome/browser/gtk/gtk_chrome_button.h"
6 6
7 #include "app/gfx/gtk_util.h"
7 #include "base/basictypes.h" 8 #include "base/basictypes.h"
8 #include "base/gfx/gtk_util.h"
9 #include "chrome/browser/gtk/nine_box.h" 9 #include "chrome/browser/gtk/nine_box.h"
10 10
11 #include "grit/app_resources.h" 11 #include "grit/app_resources.h"
12 12
13 namespace { 13 namespace {
14 14
15 // The theme graphics for when the mouse is over the button. 15 // The theme graphics for when the mouse is over the button.
16 NineBox* g_nine_box_prelight; 16 NineBox* g_nine_box_prelight;
17 // The theme graphics for when the button is clicked. 17 // The theme graphics for when the button is clicked.
18 NineBox* g_nine_box_active; 18 NineBox* g_nine_box_active;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 } 152 }
153 153
154 void gtk_chrome_button_set_use_gtk_rendering(GtkChromeButton* button, 154 void gtk_chrome_button_set_use_gtk_rendering(GtkChromeButton* button,
155 gboolean value) { 155 gboolean value) {
156 g_return_if_fail(GTK_IS_CHROME_BUTTON(button)); 156 g_return_if_fail(GTK_IS_CHROME_BUTTON(button));
157 GtkChromeButtonPrivate *priv = GTK_CHROME_BUTTON_GET_PRIVATE(button); 157 GtkChromeButtonPrivate *priv = GTK_CHROME_BUTTON_GET_PRIVATE(button);
158 priv->use_gtk_rendering = value; 158 priv->use_gtk_rendering = value;
159 } 159 }
160 160
161 G_END_DECLS 161 G_END_DECLS
OLDNEW
« no previous file with comments | « chrome/browser/gtk/first_run_bubble.cc ('k') | chrome/browser/gtk/gtk_theme_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698