summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/toolbar_view.h
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-11-18 18:32:45 +0000
committerBen Murdoch <benm@google.com>2010-11-18 18:38:07 +0000
commit513209b27ff55e2841eac0e4120199c23acce758 (patch)
treeaeba30bb08c5f47c57003544e378a377c297eee6 /chrome/browser/views/toolbar_view.h
parent164f7496de0fbee436b385a79ead9e3cb81a50c1 (diff)
downloadexternal_chromium-513209b27ff55e2841eac0e4120199c23acce758.zip
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.gz
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.bz2
Merge Chromium at r65505: Initial merge by git.
Change-Id: I31d8f1d8cd33caaf7f47ffa7350aef42d5fbdb45
Diffstat (limited to 'chrome/browser/views/toolbar_view.h')
-rw-r--r--chrome/browser/views/toolbar_view.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/chrome/browser/views/toolbar_view.h b/chrome/browser/views/toolbar_view.h
index 8715dc5..c9b92bd 100644
--- a/chrome/browser/views/toolbar_view.h
+++ b/chrome/browser/views/toolbar_view.h
@@ -142,6 +142,9 @@ class ToolbarView : public AccessiblePaneView,
// Returns true if we should show the upgrade recommended dot.
bool IsUpgradeRecommended();
+ // Returns true if we should show the warning for incompatible software.
+ bool ShouldShowIncompatibilityWarning();
+
// Returns the number of pixels above the location bar in non-normal display.
int PopupTopSpacing() const;
@@ -158,12 +161,12 @@ class ToolbarView : public AccessiblePaneView,
return display_mode_ == DISPLAYMODE_NORMAL;
}
- // Starts the recurring timer that periodically asks the upgrade notifier
+ // Starts the recurring timer that periodically asks the notification dot
// to pulsate.
- void ShowUpgradeReminder();
+ void ShowNotificationDot();
- // Show the reminder, tempting the user to upgrade by pulsating.
- void PulsateUpgradeNotifier();
+ // Show the reminder, tempting the user to take a look.
+ void PulsateNotificationDot();
// Gets a canvas with the icon for the app menu. It will possibly contain
// an overlaid badge if an update is recommended.
@@ -210,12 +213,12 @@ class ToolbarView : public AccessiblePaneView,
// Vector of listeners to receive callbacks when the menu opens.
std::vector<views::MenuListener*> menu_listeners_;
- // The animation that makes the update reminder pulse.
- scoped_ptr<SlideAnimation> update_reminder_animation_;
+ // The animation that makes the notification dot pulse.
+ scoped_ptr<SlideAnimation> notification_dot_animation_;
// We periodically restart the animation after it has been showed
// once, to create a pulsating effect.
- base::RepeatingTimer<ToolbarView> upgrade_reminder_pulse_timer_;
+ base::RepeatingTimer<ToolbarView> notification_dot_pulse_timer_;
// Used to post tasks to switch to the next/previous menu.
ScopedRunnableMethodFactory<ToolbarView> method_factory_;