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

Side by Side Diff: chrome/browser/gtk/options/fonts_languages_window_gtk.cc

Issue 5606002: Move:... (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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/fonts_languages_window.h" 5 #include "chrome/browser/fonts_languages_window.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 "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "chrome/browser/gtk/gtk_util.h" 11 #include "chrome/browser/gtk/gtk_util.h"
12 #include "chrome/browser/profile.h" 12 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/gtk/options/fonts_page_gtk.h" 13 #include "chrome/browser/gtk/options/fonts_page_gtk.h"
14 #include "chrome/browser/gtk/options/languages_page_gtk.h" 14 #include "chrome/browser/gtk/options/languages_page_gtk.h"
15 #include "grit/chromium_strings.h" 15 #include "grit/chromium_strings.h"
16 #include "grit/generated_resources.h" 16 #include "grit/generated_resources.h"
17 17
18 /////////////////////////////////////////////////////////////////////////////// 18 ///////////////////////////////////////////////////////////////////////////////
19 // FontsLanguagesWindowGtk 19 // FontsLanguagesWindowGtk
20 // 20 //
21 // The contents of the Options dialog window. 21 // The contents of the Options dialog window.
22 22
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 FontsLanguagesPage page, 140 FontsLanguagesPage page,
141 Profile* profile) { 141 Profile* profile) {
142 DCHECK(profile); 142 DCHECK(profile);
143 // If there's already an existing fonts and language window, activate it and 143 // If there's already an existing fonts and language window, activate it and
144 // switch to the specified page. 144 // switch to the specified page.
145 if (!instance_) 145 if (!instance_)
146 instance_ = new FontsLanguagesWindowGtk(profile); 146 instance_ = new FontsLanguagesWindowGtk(profile);
147 147
148 instance_->ShowTabPage(window, page); 148 instance_->ShowTabPage(window, page);
149 } 149 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/options/cookies_view.cc ('k') | chrome/browser/gtk/options/fonts_page_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698