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: ash/host/ash_window_tree_host_x11.h

Issue 294943007: Merge 270252 "Re-land "Move touch CTM from X into Chrome"" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1985/src/
Patch Set: 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
« no previous file with comments | « ash/host/ash_window_tree_host.h ('k') | ash/host/ash_window_tree_host_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/ash_window_tree_host_x11.h
===================================================================
--- ash/host/ash_window_tree_host_x11.h (revision 271938)
+++ ash/host/ash_window_tree_host_x11.h (working copy)
@@ -30,6 +30,7 @@
virtual void SetRootWindowTransformer(
scoped_ptr<RootWindowTransformer> transformer) OVERRIDE;
virtual aura::WindowTreeHost* AsWindowTreeHost() OVERRIDE;
+ virtual void UpdateDisplayID(int64 id1, int64 id2) OVERRIDE;
// aura::WindowTreehost:
virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
@@ -41,6 +42,7 @@
// aura::WindowTreeHostX11:
virtual void OnConfigureNotify() OVERRIDE;
+ virtual bool CanDispatchEvent(const ui::PlatformEvent& event) OVERRIDE;
virtual void TranslateAndDispatchLocatedEvent(ui::LocatedEvent* event)
OVERRIDE;
@@ -48,24 +50,21 @@
virtual void OnWindowInitialized(aura::Window* window) OVERRIDE;
virtual void OnHostInitialized(aura::WindowTreeHost* host) OVERRIDE;
- class TouchEventCalibrate;
-
- // Update is_internal_display_ based on the current state.
- void UpdateIsInternalDisplay();
-
// Set the CrOS touchpad "tap paused" property. It is used to temporarily
// turn off the Tap-to-click feature when the mouse pointer is invisible.
void SetCrOSTapPaused(bool state);
- // True if the root host resides on the internal display
- bool is_internal_display_;
-
scoped_ptr<XID[]> pointer_barriers_;
- scoped_ptr<TouchEventCalibrate> touch_calibrate_;
-
TransformerHelper transformer_helper_;
+ // The display IDs associated with this root window.
+ // In single monitor or extended mode dual monitor case, the root window
+ // is associated with one display.
+ // In mirror mode dual monitors case, the root window is associated with
+ // both displays.
+ std::pair<int64, int64> display_ids_;
+
DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostX11);
};
« no previous file with comments | « ash/host/ash_window_tree_host.h ('k') | ash/host/ash_window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698