diff options
Diffstat (limited to 'chrome/browser/gtk/gtk_util.h')
-rw-r--r-- | chrome/browser/gtk/gtk_util.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/gtk/gtk_util.h b/chrome/browser/gtk/gtk_util.h index e28778a..1d8b6d3 100644 --- a/chrome/browser/gtk/gtk_util.h +++ b/chrome/browser/gtk/gtk_util.h @@ -17,6 +17,8 @@ typedef struct _GtkWidget GtkWidget; class GtkThemeProvider; +class GURL; +class Profile; struct RendererPreferences; // from common/renderer_preferences.h namespace event_utils { @@ -270,6 +272,11 @@ void SetWMLastUserActionTime(GtkWindow* window); // function, instead using the timestamp from the latest GDK event. guint32 XTimeNow(); +// Uses the autocomplete controller for |profile| to convert the contents of the +// PRIMARY selection to a parsed URL. Returns true and sets |url| on success, +// otherwise returns false. +bool URLFromPrimarySelection(Profile* profile, GURL* url); + } // namespace gtk_util #endif // CHROME_BROWSER_GTK_GTK_UTIL_H_ |