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

Side by Side Diff: chrome/browser/ui/gtk/external_protocol_dialog_gtk.cc

Issue 6296012: Update references part 2: files in chrome/browser/ui/... (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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/gtk/extension_view_gtk.cc ('k') | chrome/browser/ui/gtk/find_bar_gtk.h » ('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) 2011 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/ui/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"
12 #include "app/text_elider.h" 12 #include "app/text_elider.h"
13 #include "base/message_loop.h"
13 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram.h"
14 #include "base/message_loop.h"
15 #include "base/string_util.h" 15 #include "base/string_util.h"
16 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
17 #include "chrome/browser/external_protocol_handler.h" 17 #include "chrome/browser/external_protocol_handler.h"
18 #include "chrome/browser/gtk/gtk_util.h"
19 #include "chrome/browser/tab_contents/tab_util.h" 18 #include "chrome/browser/tab_contents/tab_util.h"
19 #include "chrome/browser/ui/gtk/gtk_util.h"
20 #include "grit/chromium_strings.h" 20 #include "grit/chromium_strings.h"
21 #include "grit/generated_resources.h" 21 #include "grit/generated_resources.h"
22 22
23 namespace { 23 namespace {
24 24
25 const int kMessageWidth = 400; 25 const int kMessageWidth = 400;
26 26
27 } // namespace 27 } // namespace
28 28
29 /////////////////////////////////////////////////////////////////////////////// 29 ///////////////////////////////////////////////////////////////////////////////
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/extension_view_gtk.cc ('k') | chrome/browser/ui/gtk/find_bar_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698