OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <shellapi.h> | 7 #include <shellapi.h> |
8 #include <shobjidl.h> | 8 #include <shobjidl.h> |
9 | 9 |
| 10 #include "apps/shell_integration.h" |
10 #include "base/base_paths.h" | 11 #include "base/base_paths.h" |
11 #include "base/command_line.h" | 12 #include "base/command_line.h" |
12 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
13 #include "base/path_service.h" | 14 #include "base/path_service.h" |
14 #include "base/process_util.h" | 15 #include "base/process_util.h" |
15 #include "base/stringprintf.h" | 16 #include "base/stringprintf.h" |
16 #include "base/utf_string_conversions.h" | 17 #include "base/utf_string_conversions.h" |
17 #include "base/win/metro.h" | 18 #include "base/win/metro.h" |
18 #include "base/win/registry.h" | 19 #include "base/win/registry.h" |
19 #include "base/win/scoped_com_initializer.h" | 20 #include "base/win/scoped_com_initializer.h" |
20 #include "base/win/scoped_comptr.h" | 21 #include "base/win/scoped_comptr.h" |
21 #include "base/win/scoped_handle.h" | 22 #include "base/win/scoped_handle.h" |
22 #include "base/win/win_util.h" | 23 #include "base/win/win_util.h" |
23 #include "base/win/windows_version.h" | 24 #include "base/win/windows_version.h" |
24 #include "base/win/wrapped_window_proc.h" | 25 #include "base/win/wrapped_window_proc.h" |
25 #include "chrome/browser/browser_process.h" | 26 #include "chrome/browser/browser_process.h" |
26 #include "chrome/browser/shell_integration.h" | |
27 #include "chrome/browser/ui/simple_message_box.h" | 27 #include "chrome/browser/ui/simple_message_box.h" |
28 #include "chrome/common/chrome_constants.h" | 28 #include "chrome/common/chrome_constants.h" |
29 #include "chrome/common/chrome_paths.h" | 29 #include "chrome/common/chrome_paths.h" |
30 #include "chrome/common/chrome_paths_internal.h" | 30 #include "chrome/common/chrome_paths_internal.h" |
31 #include "chrome/common/chrome_switches.h" | 31 #include "chrome/common/chrome_switches.h" |
32 #include "chrome/installer/util/browser_distribution.h" | 32 #include "chrome/installer/util/browser_distribution.h" |
33 #include "chrome/installer/util/install_util.h" | 33 #include "chrome/installer/util/install_util.h" |
34 #include "chrome/installer/util/shell_util.h" | 34 #include "chrome/installer/util/shell_util.h" |
35 #include "chrome/installer/util/wmi.h" | 35 #include "chrome/installer/util/wmi.h" |
36 #include "content/public/common/result_codes.h" | 36 #include "content/public/common/result_codes.h" |
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 switch (message) { | 615 switch (message) { |
616 case WM_COPYDATA: | 616 case WM_COPYDATA: |
617 return OnCopyData(reinterpret_cast<HWND>(wparam), | 617 return OnCopyData(reinterpret_cast<HWND>(wparam), |
618 reinterpret_cast<COPYDATASTRUCT*>(lparam)); | 618 reinterpret_cast<COPYDATASTRUCT*>(lparam)); |
619 default: | 619 default: |
620 break; | 620 break; |
621 } | 621 } |
622 | 622 |
623 return ::DefWindowProc(hwnd, message, wparam, lparam); | 623 return ::DefWindowProc(hwnd, message, wparam, lparam); |
624 } | 624 } |
OLD | NEW |