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

Unified Diff: chrome/browser/gtk/external_protocol_dialog_gtk.h

Issue 194002: Add external protocol dialog for Linux.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/external_protocol_handler.cc ('k') | chrome/browser/gtk/external_protocol_dialog_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/external_protocol_dialog_gtk.h
===================================================================
--- chrome/browser/gtk/external_protocol_dialog_gtk.h (revision 0)
+++ chrome/browser/gtk/external_protocol_dialog_gtk.h (revision 0)
@@ -0,0 +1,29 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_
+#define CHROME_BROWSER_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_
+
+#include "base/time.h"
+#include "googleurl/src/gurl.h"
+
+class TabContents;
+
+typedef struct _GtkWidget GtkWidget;
+
+class ExternalProtocolDialogGtk {
+ public:
+ ExternalProtocolDialogGtk(const GURL& url, TabContents* tab_contents);
+
+ private:
+ static void OnDialogResponse(GtkWidget* widget,
+ int response,
+ ExternalProtocolDialogGtk* dialog);
+
+ GtkWidget* dialog_;
+ GURL url_;
+ base::Time creation_time_;
+};
+
+#endif // CHROME_BROWSER_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_
Property changes on: chrome/browser/gtk/external_protocol_dialog_gtk.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/external_protocol_handler.cc ('k') | chrome/browser/gtk/external_protocol_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698