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

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

Issue 23769011: Move a bunch of windows stuff from ui/base/win to ui/gfx/win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar bustage. Created 7 years, 3 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.cc ('k') | chrome/browser/ui/views/app_menu_button_win.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) 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 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 20 matching lines...) Expand all
31 #include "chrome/common/chrome_constants.h" 31 #include "chrome/common/chrome_constants.h"
32 #include "chrome/common/chrome_paths.h" 32 #include "chrome/common/chrome_paths.h"
33 #include "chrome/common/chrome_paths_internal.h" 33 #include "chrome/common/chrome_paths_internal.h"
34 #include "chrome/common/chrome_switches.h" 34 #include "chrome/common/chrome_switches.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"
37 #include "grit/chromium_strings.h" 37 #include "grit/chromium_strings.h"
38 #include "grit/generated_resources.h" 38 #include "grit/generated_resources.h"
39 #include "net/base/escape.h" 39 #include "net/base/escape.h"
40 #include "ui/base/l10n/l10n_util.h" 40 #include "ui/base/l10n/l10n_util.h"
41 #include "ui/base/win/hwnd_util.h" 41 #include "ui/gfx/win/hwnd_util.h"
42 42
43 namespace { 43 namespace {
44 44
45 const char kLockfile[] = "lockfile"; 45 const char kLockfile[] = "lockfile";
46 46
47 const int kMetroChromeActivationTimeoutMs = 3000; 47 const int kMetroChromeActivationTimeoutMs = 3000;
48 48
49 // A helper class that acquires the given |mutex| while the AutoLockMutex is in 49 // A helper class that acquires the given |mutex| while the AutoLockMutex is in
50 // scope. 50 // scope.
51 class AutoLockMutex { 51 class AutoLockMutex {
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 ::SetEvent(metro_activation_event); 455 ::SetEvent(metro_activation_event);
456 } 456 }
457 } 457 }
458 } 458 }
459 459
460 return window_.hwnd() != NULL; 460 return window_.hwnd() != NULL;
461 } 461 }
462 462
463 void ProcessSingleton::Cleanup() { 463 void ProcessSingleton::Cleanup() {
464 } 464 }
OLDNEW
« no previous file with comments | « chrome/browser/metrics/metrics_log.cc ('k') | chrome/browser/ui/views/app_menu_button_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698