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

Side by Side Diff: components/bubble/bubble_delegate.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/bubble_controller.h ('k') | components/bubble/bubble_manager.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_DELEGATE_H_ 5 #ifndef COMPONENTS_BUBBLE_BUBBLE_DELEGATE_H_
6 #define COMPONENTS_BUBBLE_BUBBLE_DELEGATE_H_ 6 #define COMPONENTS_BUBBLE_BUBBLE_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
11 #include "components/bubble/bubble_close_reason.h" 12 #include "components/bubble/bubble_close_reason.h"
12 13
13 class BubbleUi; 14 class BubbleUi;
14 15
15 // Inherit from this class to define a bubble. A bubble is a small transient UI 16 // Inherit from this class to define a bubble. A bubble is a small transient UI
16 // surface anchored to a parent window. Most bubbles are dismissed when they 17 // surface anchored to a parent window. Most bubbles are dismissed when they
17 // lose focus. 18 // lose focus.
18 class BubbleDelegate { 19 class BubbleDelegate {
19 public: 20 public:
(...skipping 18 matching lines...) Expand all
38 virtual bool UpdateBubbleUi(BubbleUi* bubble_ui); 39 virtual bool UpdateBubbleUi(BubbleUi* bubble_ui);
39 40
40 // Used to identify a bubble for collecting metrics. 41 // Used to identify a bubble for collecting metrics.
41 virtual std::string GetName() const = 0; 42 virtual std::string GetName() const = 0;
42 43
43 private: 44 private:
44 DISALLOW_COPY_AND_ASSIGN(BubbleDelegate); 45 DISALLOW_COPY_AND_ASSIGN(BubbleDelegate);
45 }; 46 };
46 47
47 #endif // COMPONENTS_BUBBLE_BUBBLE_DELEGATE_H_ 48 #endif // COMPONENTS_BUBBLE_BUBBLE_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/bubble/bubble_controller.h ('k') | components/bubble/bubble_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698