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

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

Issue 6672070: Move the remaining files in chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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/metrics/metrics_log.h ('k') | chrome/browser/platform_util_common_linux.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) 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/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/process_util.h" 10 #include "base/process_util.h"
11 #include "base/task.h" 11 #include "base/task.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "chrome/browser/browser_list.h" 13 #include "chrome/browser/browser_list.h"
14 #include "chrome/browser/tabs/tab_strip_model.h" 14 #include "chrome/browser/tabs/tab_strip_model.h"
15 #include "chrome/browser/ui/webui/filebrowse_ui.h" 15 #include "chrome/browser/ui/webui/filebrowse_ui.h"
16 #include "chrome/browser/ui/webui/mediaplayer_ui.h" 16 #include "chrome/browser/ui/webui/mediaplayer_ui.h"
17 #include "chrome/common/process_watcher.h"
18 #include "content/browser/browser_thread.h" 17 #include "content/browser/browser_thread.h"
18 #include "content/common/process_watcher.h"
19 #include "googleurl/src/gurl.h" 19 #include "googleurl/src/gurl.h"
20 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
21 #include "ui/base/l10n/l10n_util.h" 21 #include "ui/base/l10n/l10n_util.h"
22 22
23 class Profile; 23 class Profile;
24 24
25 namespace platform_util { 25 namespace platform_util {
26 26
27 static const std::string kGmailComposeUrl = 27 static const std::string kGmailComposeUrl =
28 "https://mail.google.com/mail/?extsrc=mailto&url="; 28 "https://mail.google.com/mail/?extsrc=mailto&url=";
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 void OpenExternal(const GURL& url) { 116 void OpenExternal(const GURL& url) {
117 if (url.SchemeIs("mailto")) { 117 if (url.SchemeIs("mailto")) {
118 std::string string_url = kGmailComposeUrl; 118 std::string string_url = kGmailComposeUrl;
119 string_url.append(url.spec()); 119 string_url.append(url.spec());
120 BrowserThread::PostTask( 120 BrowserThread::PostTask(
121 BrowserThread::UI, FROM_HERE, NewRunnableFunction(OpenURL, string_url)); 121 BrowserThread::UI, FROM_HERE, NewRunnableFunction(OpenURL, string_url));
122 } 122 }
123 } 123 }
124 124
125 } // namespace platform_util 125 } // namespace platform_util
OLDNEW
« no previous file with comments | « chrome/browser/metrics/metrics_log.h ('k') | chrome/browser/platform_util_common_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698