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

Side by Side Diff: chrome/browser/platform_util_common_linux.cc

Issue 6245006: Update references part 3: remaining files in chrome/...... (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/jankometer.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('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) 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/platform_util.h" 5 #include "chrome/browser/platform_util.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/process_util.h" 11 #include "base/process_util.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "chrome/browser/ui/gtk/gtk_util.h"
14 #include "chrome/common/process_watcher.h" 15 #include "chrome/common/process_watcher.h"
15 #include "chrome/browser/gtk/gtk_util.h"
16 #include "gfx/native_widget_types.h" 16 #include "gfx/native_widget_types.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 18
19 namespace { 19 namespace {
20 20
21 void SetDialogTitle(GtkWidget* dialog, const string16& title) { 21 void SetDialogTitle(GtkWidget* dialog, const string16& title) {
22 gtk_window_set_title(GTK_WINDOW(dialog), UTF16ToUTF8(title).c_str()); 22 gtk_window_set_title(GTK_WINDOW(dialog), UTF16ToUTF8(title).c_str());
23 23
24 #if !defined(OS_CHROMEOS) 24 #if !defined(OS_CHROMEOS)
25 // The following code requires the dialog to be realized. However, we host 25 // The following code requires the dialog to be realized. However, we host
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // do nothing. 128 // do nothing.
129 } else { 129 } else {
130 modifier = "unknown"; 130 modifier = "unknown";
131 } 131 }
132 #endif 132 #endif
133 133
134 return modifier; 134 return modifier;
135 } 135 }
136 136
137 } // namespace platform_util 137 } // namespace platform_util
OLDNEW
« no previous file with comments | « chrome/browser/jankometer.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698