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

Unified Diff: ash/system/date/date_default_view.cc

Issue 1837093003: NOSUBMIT: Demonstrate accelerated layer painting problem in mus/mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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.h ('k') | components/mus/public/cpp/lib/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/date/date_default_view.cc
diff --git a/ash/system/date/date_default_view.cc b/ash/system/date/date_default_view.cc
index 35b4d3659beff08bff211096045bb839dd454d60..cba3de2f9ef89779cab2e4ba37ac76500b883758 100644
--- a/ash/system/date/date_default_view.cc
+++ b/ash/system/date/date_default_view.cc
@@ -126,6 +126,13 @@ const tray::DateView* DateDefaultView::GetDateView() const {
return date_view_;
}
+void DateDefaultView::OnPaint(gfx::Canvas* canvas) {
+ // JAMES: This is triggered by hovering the mouse over the lower-left corner
+ // of the bubble.
+ LOG(ERROR) << "JAMES OnPaint";
+ views::View::OnPaint(canvas);
+}
+
void DateDefaultView::ButtonPressed(views::Button* sender,
const ui::Event& event) {
ash::Shell* shell = ash::Shell::GetInstance();
« no previous file with comments | « ash/system/date/date_default_view.h ('k') | components/mus/public/cpp/lib/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698