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

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

Issue 560473003: DateView Touch Feedback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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 | « no previous file | 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 bfec10cdafd49c8b57e4b5fcad29d36139497820..301fa093a0b7789df30e2e81d740bef5bf46da57 100644
--- a/ash/system/date/date_view.h
+++ b/ash/system/date/date_view.h
@@ -66,6 +66,9 @@ class ASH_EXPORT DateView : public BaseDateTimeView {
base::HourClockType GetHourTypeForTesting() const;
private:
+ // Sets active rendering state and updates the color of |date_label_|.
+ void SetActive(bool active);
+
// Overridden from BaseDateTimeView.
virtual void UpdateTextInternal(const base::Time& now) override;
@@ -75,6 +78,7 @@ class ASH_EXPORT DateView : public BaseDateTimeView {
// Overridden from views::View.
virtual void OnMouseEntered(const ui::MouseEvent& event) override;
virtual void OnMouseExited(const ui::MouseEvent& event) override;
+ virtual void OnGestureEvent(ui::GestureEvent* event) override;
views::Label* date_label_;
« no previous file with comments | « no previous file | ash/system/date/date_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698