Chromium Code Reviews

Side by Side Diff: chrome/browser/ui/gtk/gtk_chrome_link_button.h

Issue 6251001: Move chrome/browser/gtk/ to chrome/browser/ui/gtk/... (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.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 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 // Creates a link button that shows |text| in blue and underlined. The cursor 5 // Creates a link button that shows |text| in blue and underlined. The cursor
6 // changes to a hand when over the link. This is like the GTK LinkButton, but 6 // changes to a hand when over the link. This is like the GTK LinkButton, but
7 // it doesn't call the global URI link handler, etc. It is a button subclass, 7 // it doesn't call the global URI link handler, etc. It is a button subclass,
8 // so you can just handle the clicked signal. 8 // so you can just handle the clicked signal.
9 9
10 #ifndef CHROME_BROWSER_GTK_GTK_CHROME_LINK_BUTTON_H_ 10 #ifndef CHROME_BROWSER_UI_GTK_GTK_CHROME_LINK_BUTTON_H_
11 #define CHROME_BROWSER_GTK_GTK_CHROME_LINK_BUTTON_H_ 11 #define CHROME_BROWSER_UI_GTK_GTK_CHROME_LINK_BUTTON_H_
12 #pragma once 12 #pragma once
13 13
14 #include <gdk/gdk.h> 14 #include <gdk/gdk.h>
15 #include <gtk/gtk.h> 15 #include <gtk/gtk.h>
16 16
17 G_BEGIN_DECLS 17 G_BEGIN_DECLS
18 18
19 #define GTK_TYPE_CHROME_LINK_BUTTON (gtk_chrome_link_button_get_type ()) 19 #define GTK_TYPE_CHROME_LINK_BUTTON (gtk_chrome_link_button_get_type ())
20 #define GTK_CHROME_LINK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \ 20 #define GTK_CHROME_LINK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
21 GTK_TYPE_CHROME_LINK_BUTTON, \ 21 GTK_TYPE_CHROME_LINK_BUTTON, \
(...skipping 47 matching lines...)
69 69
70 // Set the color when the link is in a normal state (i.e. not pressed). 70 // Set the color when the link is in a normal state (i.e. not pressed).
71 // If not set, or called NULL |color|, the color will be blue. 71 // If not set, or called NULL |color|, the color will be blue.
72 void gtk_chrome_link_button_set_normal_color(GtkChromeLinkButton* button, 72 void gtk_chrome_link_button_set_normal_color(GtkChromeLinkButton* button,
73 const GdkColor* color); 73 const GdkColor* color);
74 74
75 GType gtk_chrome_link_button_get_type(); 75 GType gtk_chrome_link_button_get_type();
76 76
77 G_END_DECLS 77 G_END_DECLS
78 78
79 #endif // CHROME_BROWSER_GTK_GTK_CHROME_LINK_BUTTON_H_ 79 #endif // CHROME_BROWSER_UI_GTK_GTK_CHROME_LINK_BUTTON_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc ('k') | chrome/browser/ui/gtk/gtk_chrome_link_button.cc » ('j') | no next file with comments »

Powered by Google App Engine