X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fash%2Fdisplay%2Fmirror_window_controller.h;h=06a586e9373b9a1e02e8007fd25d7432f37f481b;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=86773f18eec6bb44ef9d0e3b8e2d68512ae12649;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ash/display/mirror_window_controller.h b/src/ash/display/mirror_window_controller.h index 86773f1..06a586e 100644 --- a/src/ash/display/mirror_window_controller.h +++ b/src/ash/display/mirror_window_controller.h @@ -32,7 +32,6 @@ class MirrorWindowTestApi; namespace internal { class DisplayInfo; -class CursorWindowDelegate; // An object that copies the content of the primary root window to a // mirror window. This also draws a mouse cursor as the mouse cursor @@ -53,15 +52,12 @@ class ASH_EXPORT MirrorWindowController : public aura::RootWindowObserver { // Close the mirror window. void Close(); - // Updates the mirrored cursor location,shape and - // visibility. - void UpdateCursorLocation(); - void SetMirroredCursor(gfx::NativeCursor cursor); - void SetMirroredCursorVisibility(bool visible); - // aura::RootWindowObserver overrides: virtual void OnWindowTreeHostResized(const aura::RootWindow* root) OVERRIDE; + // Returns the mirror root window. + aura::RootWindow* root_window() const { return root_window_.get(); } + private: friend class test::MirrorWindowTestApi; @@ -69,12 +65,7 @@ class ASH_EXPORT MirrorWindowController : public aura::RootWindowObserver { // configuration. scoped_ptr CreateRootWindowTransformer() const; - int current_cursor_type_; - gfx::Display::Rotation current_cursor_rotation_; - aura::Window* cursor_window_; // owned by root window. scoped_ptr root_window_; - scoped_ptr cursor_window_delegate_; - gfx::Point hot_point_; gfx::Size mirror_window_host_size_; scoped_refptr reflector_;