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

Side by Side Diff: chrome/browser/gtk/instant_confirm_dialog_gtk.cc

Issue 5601003: Localize instant string. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/instant_confirm_dialog_gtk.h" 5 #include "chrome/browser/gtk/instant_confirm_dialog_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "chrome/browser/gtk/gtk_chrome_link_button.h" 10 #include "chrome/browser/gtk/gtk_chrome_link_button.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 void InstantConfirmDialogGtk::OnDialogResponse(GtkWidget* dialog, 67 void InstantConfirmDialogGtk::OnDialogResponse(GtkWidget* dialog,
68 int response) { 68 int response) {
69 if (response == GTK_RESPONSE_ACCEPT) 69 if (response == GTK_RESPONSE_ACCEPT)
70 InstantController::Enable(profile_); 70 InstantController::Enable(profile_);
71 71
72 delete this; 72 delete this;
73 } 73 }
74 74
75 void InstantConfirmDialogGtk::OnLinkButtonClicked(GtkWidget* button) { 75 void InstantConfirmDialogGtk::OnLinkButtonClicked(GtkWidget* button) {
76 browser::ShowOptionsURL(profile_, GURL(browser::kInstantLearnMoreURL)); 76 browser::ShowOptionsURL(profile_, browser::InstantLearnMoreURL());
77 } 77 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/options/browser_options_handler.cc ('k') | chrome/browser/gtk/options/general_page_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698