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

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

Issue 113169: Move win_util.h from common to app. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/win_util.h"
8 #include "base/base_paths.h" 9 #include "base/base_paths.h"
9 #include "base/command_line.h" 10 #include "base/command_line.h"
10 #include "base/process_util.h" 11 #include "base/process_util.h"
11 #include "base/win_util.h" 12 #include "base/win_util.h"
12 #include "chrome/browser/browser_init.h" 13 #include "chrome/browser/browser_init.h"
13 #include "chrome/browser/browser_process.h" 14 #include "chrome/browser/browser_process.h"
14 #include "chrome/browser/profile.h" 15 #include "chrome/browser/profile.h"
15 #include "chrome/browser/profile_manager.h" 16 #include "chrome/browser/profile_manager.h"
16 #include "chrome/common/chrome_constants.h" 17 #include "chrome/common/chrome_constants.h"
17 #include "chrome/common/chrome_paths.h" 18 #include "chrome/common/chrome_paths.h"
18 #include "chrome/common/result_codes.h" 19 #include "chrome/common/result_codes.h"
19 #include "chrome/common/win_util.h"
20 #include "grit/chromium_strings.h" 20 #include "grit/chromium_strings.h"
21 #include "grit/generated_resources.h" 21 #include "grit/generated_resources.h"
22 22
23 namespace { 23 namespace {
24 24
25 // Checks the visibility of the enumerated window and signals once a visible 25 // Checks the visibility of the enumerated window and signals once a visible
26 // window has been found. 26 // window has been found.
27 BOOL CALLBACK BrowserWindowEnumeration(HWND window, LPARAM param) { 27 BOOL CALLBACK BrowserWindowEnumeration(HWND window, LPARAM param) {
28 bool* result = reinterpret_cast<bool*>(param); 28 bool* result = reinterpret_cast<bool*>(param);
29 *result = IsWindowVisible(window) != 0; 29 *result = IsWindowVisible(window) != 0;
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 switch (message) { 259 switch (message) {
260 case WM_COPYDATA: 260 case WM_COPYDATA:
261 return OnCopyData(reinterpret_cast<HWND>(wparam), 261 return OnCopyData(reinterpret_cast<HWND>(wparam),
262 reinterpret_cast<COPYDATASTRUCT*>(lparam)); 262 reinterpret_cast<COPYDATASTRUCT*>(lparam));
263 default: 263 default:
264 break; 264 break;
265 } 265 }
266 266
267 return ::DefWindowProc(hwnd, message, wparam, lparam); 267 return ::DefWindowProc(hwnd, message, wparam, lparam);
268 } 268 }
OLDNEW
« no previous file with comments | « chrome/browser/printing/printed_document.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