summaryrefslogtreecommitdiffstats
path: root/ui/aura/window_tree_host_ozone.h
diff options
context:
space:
mode:
authorsky <sky@chromium.org>2015-06-18 09:24:25 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-18 16:24:57 +0000
commitb2afc80c28194355a327afc86a3ac0a4bf9ec692 (patch)
tree0278f3ba67f178be0b8923a7270a6f9ff9fbdd4a /ui/aura/window_tree_host_ozone.h
parentc3cbf801393eff10b8fe91e862ff63fd7c59da8c (diff)
downloadchromium_src-b2afc80c28194355a327afc86a3ac0a4bf9ec692.zip
chromium_src-b2afc80c28194355a327afc86a3ac0a4bf9ec692.tar.gz
chromium_src-b2afc80c28194355a327afc86a3ac0a4bf9ec692.tar.bz2
Plumbs through device scale factor when widget is available
BUG=none TEST=none R=sadrul@chromium.org TBR=jam@chromium.org Review URL: https://codereview.chromium.org/1184123008 Cr-Commit-Position: refs/heads/master@{#335059}
Diffstat (limited to 'ui/aura/window_tree_host_ozone.h')
-rw-r--r--ui/aura/window_tree_host_ozone.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/aura/window_tree_host_ozone.h b/ui/aura/window_tree_host_ozone.h
index 67f01d9..b356a30 100644
--- a/ui/aura/window_tree_host_ozone.h
+++ b/ui/aura/window_tree_host_ozone.h
@@ -48,7 +48,8 @@ class AURA_EXPORT WindowTreeHostOzone : public WindowTreeHost,
void OnClosed() override;
void OnWindowStateChanged(ui::PlatformWindowState new_state) override;
void OnLostCapture() override;
- void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) override;
+ void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget,
+ float device_pixel_ratio) override;
void OnActivationChanged(bool active) override;
// Platform-specific part of this WindowTreeHost.