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

Side by Side Diff: chrome/browser/process_singleton_modal_dialog_lock.h

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef CHROME_BROWSER_PROCESS_SINGLETON_MODAL_DIALOG_LOCK_H_ 5 #ifndef CHROME_BROWSER_PROCESS_SINGLETON_MODAL_DIALOG_LOCK_H_
6 #define CHROME_BROWSER_PROCESS_SINGLETON_MODAL_DIALOG_LOCK_H_ 6 #define CHROME_BROWSER_PROCESS_SINGLETON_MODAL_DIALOG_LOCK_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/macros.h"
10 #include "chrome/browser/process_singleton.h" 10 #include "chrome/browser/process_singleton.h"
11 #include "ui/gfx/native_widget_types.h" 11 #include "ui/gfx/native_widget_types.h"
12 12
13 namespace base { 13 namespace base {
14 class CommandLine; 14 class CommandLine;
15 class FilePath; 15 class FilePath;
16 } 16 }
17 17
18 // Provides a ProcessSingleton::NotificationCallback that prevents 18 // Provides a ProcessSingleton::NotificationCallback that prevents
19 // command-line handling when a modal dialog is active during startup. The 19 // command-line handling when a modal dialog is active during startup. The
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 const base::FilePath& current_directory); 54 const base::FilePath& current_directory);
55 55
56 gfx::NativeWindow active_dialog_; 56 gfx::NativeWindow active_dialog_;
57 ProcessSingleton::NotificationCallback original_callback_; 57 ProcessSingleton::NotificationCallback original_callback_;
58 SetForegroundWindowHandler set_foreground_window_handler_; 58 SetForegroundWindowHandler set_foreground_window_handler_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(ProcessSingletonModalDialogLock); 60 DISALLOW_COPY_AND_ASSIGN(ProcessSingletonModalDialogLock);
61 }; 61 };
62 62
63 #endif // CHROME_BROWSER_PROCESS_SINGLETON_MODAL_DIALOG_LOCK_H_ 63 #endif // CHROME_BROWSER_PROCESS_SINGLETON_MODAL_DIALOG_LOCK_H_
OLDNEW
« no previous file with comments | « chrome/browser/process_singleton_browsertest.cc ('k') | chrome/browser/process_singleton_modal_dialog_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698