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

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

Issue 6328002: Update references part 1: subdirectories of 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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
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/translate/translate_infobar_base_gtk.h" 5 #include "chrome/browser/ui/gtk/translate/translate_infobar_base_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/translate/options_menu_model.h" 9 #include "chrome/browser/translate/options_menu_model.h"
10 #include "chrome/browser/translate/translate_infobar_delegate.h" 10 #include "chrome/browser/translate/translate_infobar_delegate.h"
11 #include "chrome/browser/gtk/translate/after_translate_infobar_gtk.h" 11 #include "chrome/browser/ui/gtk/gtk_util.h"
12 #include "chrome/browser/gtk/translate/before_translate_infobar_gtk.h" 12 #include "chrome/browser/ui/gtk/menu_gtk.h"
13 #include "chrome/browser/gtk/translate/translate_message_infobar_gtk.h" 13 #include "chrome/browser/ui/gtk/translate/after_translate_infobar_gtk.h"
14 #include "chrome/browser/gtk/gtk_util.h" 14 #include "chrome/browser/ui/gtk/translate/before_translate_infobar_gtk.h"
15 #include "chrome/browser/gtk/menu_gtk.h" 15 #include "chrome/browser/ui/gtk/translate/translate_message_infobar_gtk.h"
16 #include "gfx/canvas.h" 16 #include "gfx/canvas.h"
17 #include "grit/generated_resources.h" 17 #include "grit/generated_resources.h"
18 #include "ui/base/animation/slide_animation.h" 18 #include "ui/base/animation/slide_animation.h"
19 19
20 namespace { 20 namespace {
21 21
22 // To be able to map from language id <-> entry in the combo box, we 22 // To be able to map from language id <-> entry in the combo box, we
23 // store the language id in the combo box data model in addition to the 23 // store the language id in the combo box data model in addition to the
24 // displayed name. 24 // displayed name.
25 enum { 25 enum {
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 break; 232 break;
233 default: 233 default:
234 NOTREACHED(); 234 NOTREACHED();
235 } 235 }
236 infobar->Init(); 236 infobar->Init();
237 // Set |infobar_view_| so that the model can notify the infobar when it 237 // Set |infobar_view_| so that the model can notify the infobar when it
238 // changes. 238 // changes.
239 infobar_view_ = infobar; 239 infobar_view_ = infobar;
240 return infobar; 240 return infobar;
241 } 241 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698