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

Side by Side Diff: ash/first_run/first_run_helper.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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 | « ash/display/screen_ash.h ('k') | ash/shelf/shelf_button.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_FIRST_RUN_FIRST_RUN_HELPER_H_ 5 #ifndef ASH_FIRST_RUN_FIRST_RUN_HELPER_H_
6 #define ASH_FIRST_RUN_FIRST_RUN_HELPER_H_ 6 #define ASH_FIRST_RUN_FIRST_RUN_HELPER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 // Returns bounds of system tray bubble. You must open bubble before calling 65 // Returns bounds of system tray bubble. You must open bubble before calling
66 // this method. 66 // this method.
67 virtual gfx::Rect GetTrayBubbleBounds() = 0; 67 virtual gfx::Rect GetTrayBubbleBounds() = 0;
68 68
69 // Returns bounds of help app button from system tray buble. You must open 69 // Returns bounds of help app button from system tray buble. You must open
70 // bubble before calling this method. 70 // bubble before calling this method.
71 virtual gfx::Rect GetHelpButtonBounds() = 0; 71 virtual gfx::Rect GetHelpButtonBounds() = 0;
72 72
73 protected: 73 protected:
74 ObserverList<Observer>& observers() { return observers_; } 74 base::ObserverList<Observer>& observers() { return observers_; }
75 75
76 private: 76 private:
77 ObserverList<Observer> observers_; 77 base::ObserverList<Observer> observers_;
78 78
79 DISALLOW_COPY_AND_ASSIGN(FirstRunHelper); 79 DISALLOW_COPY_AND_ASSIGN(FirstRunHelper);
80 }; 80 };
81 81
82 } // namespace ash 82 } // namespace ash
83 83
84 #endif // ASH_FIRST_RUN_FIRST_RUN_HELPER_H_ 84 #endif // ASH_FIRST_RUN_FIRST_RUN_HELPER_H_
85 85
OLDNEW
« no previous file with comments | « ash/display/screen_ash.h ('k') | ash/shelf/shelf_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698