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

Side by Side Diff: components/bubble/bubble_controller.h

Issue 1546143002: Switch to standard integer types in components/, part 1 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
« no previous file with comments | « components/bubble/BUILD.gn ('k') | components/bubble/bubble_delegate.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_BUBBLE_BUBBLE_CONTROLLER_H_ 5 #ifndef COMPONENTS_BUBBLE_BUBBLE_CONTROLLER_H_
6 #define COMPONENTS_BUBBLE_BUBBLE_CONTROLLER_H_ 6 #define COMPONENTS_BUBBLE_BUBBLE_CONTROLLER_H_
7 7
8 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
10 #include "base/threading/thread_checker.h" 11 #include "base/threading/thread_checker.h"
11 #include "components/bubble/bubble_close_reason.h" 12 #include "components/bubble/bubble_close_reason.h"
12 13
13 class BubbleDelegate; 14 class BubbleDelegate;
14 class BubbleManager; 15 class BubbleManager;
15 class BubbleUi; 16 class BubbleUi;
16 17
17 // BubbleController is responsible for the lifetime of the delegate and its UI. 18 // BubbleController is responsible for the lifetime of the delegate and its UI.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Verify that functions that affect the UI are done on the same thread. 58 // Verify that functions that affect the UI are done on the same thread.
58 base::ThreadChecker thread_checker_; 59 base::ThreadChecker thread_checker_;
59 60
60 // To keep track of the amount of time a bubble was visible. 61 // To keep track of the amount of time a bubble was visible.
61 base::TimeTicks show_time_; 62 base::TimeTicks show_time_;
62 63
63 DISALLOW_COPY_AND_ASSIGN(BubbleController); 64 DISALLOW_COPY_AND_ASSIGN(BubbleController);
64 }; 65 };
65 66
66 #endif // COMPONENTS_BUBBLE_BUBBLE_CONTROLLER_H_ 67 #endif // COMPONENTS_BUBBLE_BUBBLE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « components/bubble/BUILD.gn ('k') | components/bubble/bubble_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698