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

Unified Diff: ash/test/test_metro_viewer_process_host.h

Issue 271543009: Send the device scale factor from Windows 8 ASH during initialization via the MetroViewerHostMsg_Se… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: GetDPIscale returns the global scale factor Created 6 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: ash/test/test_metro_viewer_process_host.h
diff --git a/ash/test/test_metro_viewer_process_host.h b/ash/test/test_metro_viewer_process_host.h
index 25a66e3d48570768dbeb51b3bed41a228bf1781e..f04ff0f0f3f902dbac355eebd8bc1d866c7e8fa6 100644
--- a/ash/test/test_metro_viewer_process_host.h
+++ b/ash/test/test_metro_viewer_process_host.h
@@ -23,7 +23,8 @@ class TestMetroViewerProcessHost : public win8::MetroViewerProcessHost {
private:
// win8::MetroViewerProcessHost implementation
virtual void OnChannelError() OVERRIDE;
- virtual void OnSetTargetSurface(gfx::NativeViewId target_surface) OVERRIDE;
+ virtual void OnSetTargetSurface(gfx::NativeViewId target_surface,
+ float device_scale) OVERRIDE;
virtual void OnOpenURL(const base::string16& url) OVERRIDE;
virtual void OnHandleSearchRequest(
const base::string16& search_string) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698