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

Side by Side Diff: chrome/browser/chromeos/status/clock_menu_button.h

Issue 6904160: Implement new gray mock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review nits Created 9 years, 7 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CHROMEOS_STATUS_CLOCK_MENU_BUTTON_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_CLOCK_MENU_BUTTON_H_
6 #define CHROME_BROWSER_CHROMEOS_STATUS_CLOCK_MENU_BUTTON_H_ 6 #define CHROME_BROWSER_CHROMEOS_STATUS_CLOCK_MENU_BUTTON_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/timer.h" 10 #include "base/timer.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // Updates text and schedules the timer to fire at the next minute interval. 87 // Updates text and schedules the timer to fire at the next minute interval.
88 void UpdateTextAndSetNextTimer(); 88 void UpdateTextAndSetNextTimer();
89 89
90 base::OneShotTimer<ClockMenuButton> timer_; 90 base::OneShotTimer<ClockMenuButton> timer_;
91 91
92 // The clock menu. 92 // The clock menu.
93 // NOTE: we use a scoped_ptr here as menu calls into 'this' from the 93 // NOTE: we use a scoped_ptr here as menu calls into 'this' from the
94 // constructor. 94 // constructor.
95 scoped_ptr<views::Menu2> clock_menu_; 95 scoped_ptr<views::Menu2> clock_menu_;
96 96
97 StatusAreaHost* host_;
98
99 PrefChangeRegistrar registrar_; 97 PrefChangeRegistrar registrar_;
100 98
101 DISALLOW_COPY_AND_ASSIGN(ClockMenuButton); 99 DISALLOW_COPY_AND_ASSIGN(ClockMenuButton);
102 }; 100 };
103 101
104 } // namespace chromeos 102 } // namespace chromeos
105 103
106 #endif // CHROME_BROWSER_CHROMEOS_STATUS_CLOCK_MENU_BUTTON_H_ 104 #endif // CHROME_BROWSER_CHROMEOS_STATUS_CLOCK_MENU_BUTTON_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/background_view.cc ('k') | chrome/browser/chromeos/status/clock_menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698