Chromium Code Reviews

Side by Side Diff: chrome/browser/ui/gtk/translate/before_translate_infobar_gtk.cc

Issue 6251001: Move chrome/browser/gtk/ to chrome/browser/ui/gtk/... (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.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
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/translate/before_translate_infobar_gtk.h" 5 #include "chrome/browser/gtk/translate/before_translate_infobar_gtk.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/gtk/gtk_util.h" 9 #include "chrome/browser/gtk/gtk_util.h"
10 #include "chrome/browser/translate/translate_infobar_delegate.h" 10 #include "chrome/browser/translate/translate_infobar_delegate.h"
11 #include "grit/generated_resources.h" 11 #include "grit/generated_resources.h"
(...skipping 84 matching lines...)
96 RemoveInfoBar(); 96 RemoveInfoBar();
97 } 97 }
98 98
99 void BeforeTranslateInfoBar::OnNeverTranslatePressed(GtkWidget* sender) { 99 void BeforeTranslateInfoBar::OnNeverTranslatePressed(GtkWidget* sender) {
100 GetDelegate()->NeverTranslatePageLanguage(); 100 GetDelegate()->NeverTranslatePageLanguage();
101 } 101 }
102 102
103 void BeforeTranslateInfoBar::OnAlwaysTranslatePressed(GtkWidget* sender) { 103 void BeforeTranslateInfoBar::OnAlwaysTranslatePressed(GtkWidget* sender) {
104 GetDelegate()->AlwaysTranslatePageLanguage(); 104 GetDelegate()->AlwaysTranslatePageLanguage();
105 } 105 }
OLDNEW

Powered by Google App Engine