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

Unified Diff: ui/aura/root_window.cc

Issue 12087124: Disable touch calibration on external touchscreen. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix Win compilation take 2 + rebase Created 7 years, 11 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/root_window.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index 96cb84a9f1d5178c9357881a22eb2a55553a59bc..a23996272ab796f3c74a7190b6a267de96bb3df2 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -84,15 +84,18 @@ void SetLastMouseLocation(const RootWindow* root_window,
RootWindowHost* CreateHost(RootWindow* root_window,
const RootWindow::CreateParams& params) {
RootWindowHost* host = params.host ?
- params.host : RootWindowHost::Create(params.initial_bounds);
+ params.host : RootWindowHost::Create(params.initial_bounds,
+ params.is_internal_display);
host->SetDelegate(root_window);
return host;
}
} // namespace
-RootWindow::CreateParams::CreateParams(const gfx::Rect& a_initial_bounds)
+RootWindow::CreateParams::CreateParams(const gfx::Rect& a_initial_bounds,
+ bool a_is_internal_display)
: initial_bounds(a_initial_bounds),
+ is_internal_display(a_is_internal_display),
host(NULL) {
}

Powered by Google App Engine
This is Rietveld 408576698