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

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

Issue 3068004: base/ header cleanup. Forward declaration instead of including. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: chrome_launcher_unittest.cc Created 10 years, 5 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
« no previous file with comments | « chrome/browser/metrics/metrics_service.cc ('k') | chrome/browser/process_info_snapshot_mac.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) 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/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 "app/gtk_util.h" 9 #include "app/gtk_util.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/process_util.h" 12 #include "base/process_util.h"
13 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.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 "chrome/browser/gtk/gtk_util.h"
16 #include "gfx/native_widget_types.h" 17 #include "gfx/native_widget_types.h"
17 #include "googleurl/src/gurl.h" 18 #include "googleurl/src/gurl.h"
18 19
19 namespace { 20 namespace {
20 21
21 void SetDialogTitle(GtkWidget* dialog, const string16& title) { 22 void SetDialogTitle(GtkWidget* dialog, const string16& title) {
22 gtk_window_set_title(GTK_WINDOW(dialog), UTF16ToUTF8(title).c_str()); 23 gtk_window_set_title(GTK_WINDOW(dialog), UTF16ToUTF8(title).c_str());
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // do nothing. 125 // do nothing.
125 } else { 126 } else {
126 modifier = "unknown"; 127 modifier = "unknown";
127 } 128 }
128 #endif 129 #endif
129 130
130 return ASCIIToUTF16(modifier); 131 return ASCIIToUTF16(modifier);
131 } 132 }
132 133
133 } // namespace platform_util 134 } // namespace platform_util
OLDNEW
« no previous file with comments | « chrome/browser/metrics/metrics_service.cc ('k') | chrome/browser/process_info_snapshot_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698