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

Side by Side Diff: ash/accelerators/exit_warning_handler.h

Issue 18050008: Use a direct include of time headers in android_webview/, apps/, ash/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « apps/shell_window_geometry_cache.h ('k') | ash/accelerators/exit_warning_handler.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 ASH_ACCELERATORS_EXIT_WARNING_HANDLER_H_ 5 #ifndef ASH_ACCELERATORS_EXIT_WARNING_HANDLER_H_
6 #define ASH_ACCELERATORS_EXIT_WARNING_HANDLER_H_ 6 #define ASH_ACCELERATORS_EXIT_WARNING_HANDLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/timer.h" 9 #include "base/timer/timer.h"
10 #include "ui/base/accelerators/accelerator.h" 10 #include "ui/base/accelerators/accelerator.h"
11 11
12 namespace views { 12 namespace views {
13 class Widget; 13 class Widget;
14 } 14 }
15 15
16 namespace ash { 16 namespace ash {
17 17
18 // In order to avoid accidental exits when the user presses the exit 18 // In order to avoid accidental exits when the user presses the exit
19 // shortcut by mistake, we require the user press it twice within a 19 // shortcut by mistake, we require the user press it twice within a
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // Flag to suppress starting the timer for testing. For test we call 77 // Flag to suppress starting the timer for testing. For test we call
78 // TimerAction() directly to simulate the expiration of the timer. 78 // TimerAction() directly to simulate the expiration of the timer.
79 bool stub_timer_for_test_; 79 bool stub_timer_for_test_;
80 80
81 DISALLOW_COPY_AND_ASSIGN(ExitWarningHandler); 81 DISALLOW_COPY_AND_ASSIGN(ExitWarningHandler);
82 }; 82 };
83 83
84 } // namespace ash 84 } // namespace ash
85 85
86 #endif // ASH_ACCELERATORS_EXIT_WARNING_HANDLER_H_ 86 #endif // ASH_ACCELERATORS_EXIT_WARNING_HANDLER_H_
OLDNEW
« no previous file with comments | « apps/shell_window_geometry_cache.h ('k') | ash/accelerators/exit_warning_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698