OLD | NEW |
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 #include "chrome/browser/gtk/external_protocol_dialog_gtk.h" | 5 #include "chrome/browser/gtk/external_protocol_dialog_gtk.h" |
6 | 6 |
7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "app/l10n_util.h" | 11 #include "app/l10n_util.h" |
(...skipping 112 matching lines...) Loading... |
124 if (response == GTK_RESPONSE_ACCEPT) { | 124 if (response == GTK_RESPONSE_ACCEPT) { |
125 UMA_HISTOGRAM_LONG_TIMES("clickjacking.launch_url", | 125 UMA_HISTOGRAM_LONG_TIMES("clickjacking.launch_url", |
126 base::TimeTicks::Now() - creation_time_); | 126 base::TimeTicks::Now() - creation_time_); |
127 | 127 |
128 ExternalProtocolHandler::LaunchUrlWithoutSecurityCheck(url_); | 128 ExternalProtocolHandler::LaunchUrlWithoutSecurityCheck(url_); |
129 } | 129 } |
130 | 130 |
131 gtk_widget_destroy(dialog_); | 131 gtk_widget_destroy(dialog_); |
132 delete this; | 132 delete this; |
133 } | 133 } |
OLD | NEW |