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

Unified Diff: ui/aura/remote_window_tree_host_win.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: Removed tabs 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: ui/aura/remote_window_tree_host_win.h
diff --git a/ui/aura/remote_window_tree_host_win.h b/ui/aura/remote_window_tree_host_win.h
index 3243cd92640300515d1646361edd5c8655ab88fc..0ff913e1faab28d81b8cb1e99fe08655a62eba1d 100644
--- a/ui/aura/remote_window_tree_host_win.h
+++ b/ui/aura/remote_window_tree_host_win.h
@@ -120,10 +120,13 @@ class AURA_EXPORT RemoteWindowTreeHostWin
// HWND. A return value of false typically indicates we're not in metro mode.
static bool IsValid();
- // Sets the handle to the remote window. The |remote_window| is the actual
- // window owned by the viewer process. Call this before Connected() for some
- // customers like input method initialization which needs the handle.
- void SetRemoteWindowHandle(HWND remote_window);
+ // Sets the handle to the remote window and the scale factor. The
+ // |remote_window| is the actual window owned by the viewer process. Call
+ // this before Connected() for some customers like input method
+ // initialization which needs the handle.
+ // |device_scale| indicates the Windows 8 dpi scale.
+ void InitializeRemoteWindowAndScaleFactor(HWND remote_window,
+ float device_scale);
// The |host| can be used when we need to send a message to it.
void Connected(IPC::Sender* host);
« no previous file with comments | « chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc ('k') | ui/aura/remote_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698