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

Unified Diff: ash/system/date/date_view.h

Issue 247663003: Date and Time dialog for when the clock isn't synced. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, single quotes in browsertest js Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/date/date_default_view.cc ('k') | ash/system/date/date_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/date/date_view.h
diff --git a/ash/system/date/date_view.h b/ash/system/date/date_view.h
index 7d03a9af369765ede8674b1f19d6c538d1f9c28d..1f4377abaf5d1ba5828df45d29f458784e230922 100644
--- a/ash/system/date/date_view.h
+++ b/ash/system/date/date_view.h
@@ -55,10 +55,10 @@ class ASH_EXPORT DateView : public BaseDateTimeView {
DateView();
virtual ~DateView();
- // Sets whether the view is actionable. An actionable date view gives visual
+ // Sets the action the view should take. An actionable date view gives visual
// feedback on hover, can be focused by keyboard, and clicking/pressing space
- // or enter on the view shows date-related settings.
- void SetActionable(bool actionable);
+ // or enter on the view executes the action.
+ void SetAction(TrayDate::DateAction action);
// Updates the format of the displayed time.
void UpdateTimeFormat();
@@ -81,7 +81,7 @@ class ASH_EXPORT DateView : public BaseDateTimeView {
// Time format (12/24hr) used for accessibility string.
base::HourClockType hour_type_;
- bool actionable_;
+ TrayDate::DateAction action_;
DISALLOW_COPY_AND_ASSIGN(DateView);
};
« no previous file with comments | « ash/system/date/date_default_view.cc ('k') | ash/system/date/date_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698