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

Unified Diff: ui/views/view.cc

Issue 10391165: Notification for device scale factor change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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
Index: ui/views/view.cc
diff --git a/ui/views/view.cc b/ui/views/view.cc
index f5dd39bad26f0c74fc485eb827ee2182b1f2a8f5..4705f303778f3d3fd28d9918e463d67adb75b803 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -1230,6 +1230,9 @@ void View::OnPaintLayer(gfx::Canvas* canvas) {
PaintCommon(canvas);
}
+void View::OnDeviceScaleFactorChanged(float device_scale_factor) {
+}
sky 2012/05/16 21:16:01 Doesn't this need to percolate to child views?
oshima 2012/05/16 21:50:29 Not right now. Repainting will paint the content a
+
void View::ReorderLayers() {
View* v = this;
while (v && !v->layer())

Powered by Google App Engine
This is Rietveld 408576698