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

Side by Side Diff: chrome/browser/process_singleton_win.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
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/process_singleton.h" 5 #include "chrome/browser/process_singleton.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/process_util.h" 11 #include "base/process_util.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "base/win/scoped_handle.h" 13 #include "base/win/scoped_handle.h"
14 #include "base/win/wrapped_window_proc.h" 14 #include "base/win/wrapped_window_proc.h"
15 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
16 #include "chrome/browser/extensions/extensions_startup.h" 16 #include "chrome/browser/extensions/extensions_startup.h"
17 #include "chrome/browser/platform_util.h" 17 #include "chrome/browser/platform_util.h"
18 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
19 #include "chrome/browser/profiles/profile_manager.h" 19 #include "chrome/browser/profiles/profile_manager.h"
20 #include "chrome/browser/ui/browser_init.h" 20 #include "chrome/browser/ui/browser_init.h"
21 #include "chrome/common/chrome_constants.h" 21 #include "chrome/common/chrome_constants.h"
22 #include "chrome/common/chrome_paths.h" 22 #include "chrome/common/chrome_paths.h"
23 #include "chrome/common/chrome_switches.h" 23 #include "chrome/common/chrome_switches.h"
24 #include "chrome/common/result_codes.h" 24 #include "content/common/result_codes.h"
25 #include "grit/chromium_strings.h" 25 #include "grit/chromium_strings.h"
26 #include "grit/generated_resources.h" 26 #include "grit/generated_resources.h"
27 #include "ui/base/l10n/l10n_util.h" 27 #include "ui/base/l10n/l10n_util.h"
28 #include "ui/base/win/hwnd_util.h" 28 #include "ui/base/win/hwnd_util.h"
29 29
30 namespace { 30 namespace {
31 31
32 // Checks the visibility of the enumerated window and signals once a visible 32 // Checks the visibility of the enumerated window and signals once a visible
33 // window has been found. 33 // window has been found.
34 BOOL CALLBACK BrowserWindowEnumeration(HWND window, LPARAM param) { 34 BOOL CALLBACK BrowserWindowEnumeration(HWND window, LPARAM param) {
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 switch (message) { 306 switch (message) {
307 case WM_COPYDATA: 307 case WM_COPYDATA:
308 return OnCopyData(reinterpret_cast<HWND>(wparam), 308 return OnCopyData(reinterpret_cast<HWND>(wparam),
309 reinterpret_cast<COPYDATASTRUCT*>(lparam)); 309 reinterpret_cast<COPYDATASTRUCT*>(lparam));
310 default: 310 default:
311 break; 311 break;
312 } 312 }
313 313
314 return ::DefWindowProc(hwnd, message, wparam, lparam); 314 return ::DefWindowProc(hwnd, message, wparam, lparam);
315 } 315 }
OLDNEW
« no previous file with comments | « chrome/browser/platform_util_linux.cc ('k') | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698