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

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

Issue 8382021: Move resource_codes to content/public/common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/profiles/profile.h" 17 #include "chrome/browser/profiles/profile.h"
18 #include "chrome/browser/profiles/profile_manager.h" 18 #include "chrome/browser/profiles/profile_manager.h"
19 #include "chrome/browser/simple_message_box.h" 19 #include "chrome/browser/simple_message_box.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/installer/util/wmi.h" 24 #include "chrome/installer/util/wmi.h"
25 #include "content/common/result_codes.h" 25 #include "content/public/common/result_codes.h"
26 #include "grit/chromium_strings.h" 26 #include "grit/chromium_strings.h"
27 #include "grit/generated_resources.h" 27 #include "grit/generated_resources.h"
28 #include "ui/base/l10n/l10n_util.h" 28 #include "ui/base/l10n/l10n_util.h"
29 #include "ui/base/win/hwnd_util.h" 29 #include "ui/base/win/hwnd_util.h"
30 30
31 namespace { 31 namespace {
32 32
33 // Checks the visibility of the enumerated window and signals once a visible 33 // Checks the visibility of the enumerated window and signals once a visible
34 // window has been found. 34 // window has been found.
35 BOOL CALLBACK BrowserWindowEnumeration(HWND window, LPARAM param) { 35 BOOL CALLBACK BrowserWindowEnumeration(HWND window, LPARAM param) {
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 switch (message) { 338 switch (message) {
339 case WM_COPYDATA: 339 case WM_COPYDATA:
340 return OnCopyData(reinterpret_cast<HWND>(wparam), 340 return OnCopyData(reinterpret_cast<HWND>(wparam),
341 reinterpret_cast<COPYDATASTRUCT*>(lparam)); 341 reinterpret_cast<COPYDATASTRUCT*>(lparam));
342 default: 342 default:
343 break; 343 break;
344 } 344 }
345 345
346 return ::DefWindowProc(hwnd, message, wparam, lparam); 346 return ::DefWindowProc(hwnd, message, wparam, lparam);
347 } 347 }
OLDNEW
« no previous file with comments | « chrome/browser/hang_monitor/hung_window_detector.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698