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

Side by Side Diff: chrome/browser/views/toolbar_star_toggle.h

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_VIEWS_TOOLBAR_STAR_TOGGLE_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TOOLBAR_STAR_TOGGLE_H_
6 #define CHROME_BROWSER_VIEWS_TOOLBAR_STAR_TOGGLE_H_ 6 #define CHROME_BROWSER_VIEWS_TOOLBAR_STAR_TOGGLE_H_
7 7
8 #include "base/time.h" 8 #include "base/time.h"
9 #include "chrome/browser/views/info_bubble.h" 9 #include "chrome/browser/views/info_bubble.h"
10 #include "chrome/views/button.h" 10 #include "chrome/views/button.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 private: 44 private:
45 // InfoBubbleDelegate. 45 // InfoBubbleDelegate.
46 virtual void InfoBubbleClosing(InfoBubble* info_bubble); 46 virtual void InfoBubbleClosing(InfoBubble* info_bubble);
47 virtual bool CloseOnEscape(); 47 virtual bool CloseOnEscape();
48 48
49 // Contains us. 49 // Contains us.
50 BrowserToolbarView* host_; 50 BrowserToolbarView* host_;
51 51
52 // Time the bubble last closed. 52 // Time the bubble last closed.
53 TimeTicks bubble_closed_time_; 53 base::TimeTicks bubble_closed_time_;
54 54
55 // If true NotifyClick does nothing. This is set in OnMousePressed based on 55 // If true NotifyClick does nothing. This is set in OnMousePressed based on
56 // the amount of time between when the bubble clicked and now. 56 // the amount of time between when the bubble clicked and now.
57 bool ignore_click_; 57 bool ignore_click_;
58 58
59 // Is the bubble showing? 59 // Is the bubble showing?
60 bool is_bubble_showing_; 60 bool is_bubble_showing_;
61 61
62 DISALLOW_EVIL_CONSTRUCTORS(ToolbarStarToggle); 62 DISALLOW_EVIL_CONSTRUCTORS(ToolbarStarToggle);
63 }; 63 };
64 64
65 #endif // CHROME_BROWSER_VIEWS_TOOLBAR_STAR_TOGGLE_H_ 65 #endif // CHROME_BROWSER_VIEWS_TOOLBAR_STAR_TOGGLE_H_
66 66
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698