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

Side by Side Diff: components/exo/wm_helper_mus.h

Issue 2812663002: exo: Fix cursor scale when crossing displays (Closed)
Patch Set: Rebase Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_EXO_WM_HELPER_MUS_H_ 5 #ifndef COMPONENTS_EXO_WM_HELPER_MUS_H_
6 #define COMPONENTS_EXO_WM_HELPER_MUS_H_ 6 #define COMPONENTS_EXO_WM_HELPER_MUS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/exo/wm_helper.h" 9 #include "components/exo/wm_helper.h"
10 #include "ui/aura/client/focus_change_observer.h" 10 #include "ui/aura/client/focus_change_observer.h"
(...skipping 26 matching lines...) Expand all
37 aura::Window* GetFocusedWindow() const override; 37 aura::Window* GetFocusedWindow() const override;
38 ui::CursorSetType GetCursorSet() const override; 38 ui::CursorSetType GetCursorSet() const override;
39 void AddPreTargetHandler(ui::EventHandler* handler) override; 39 void AddPreTargetHandler(ui::EventHandler* handler) override;
40 void PrependPreTargetHandler(ui::EventHandler* handler) override; 40 void PrependPreTargetHandler(ui::EventHandler* handler) override;
41 void RemovePreTargetHandler(ui::EventHandler* handler) override; 41 void RemovePreTargetHandler(ui::EventHandler* handler) override;
42 void AddPostTargetHandler(ui::EventHandler* handler) override; 42 void AddPostTargetHandler(ui::EventHandler* handler) override;
43 void RemovePostTargetHandler(ui::EventHandler* handler) override; 43 void RemovePostTargetHandler(ui::EventHandler* handler) override;
44 bool IsMaximizeModeWindowManagerEnabled() const override; 44 bool IsMaximizeModeWindowManagerEnabled() const override;
45 bool IsSpokenFeedbackEnabled() const override; 45 bool IsSpokenFeedbackEnabled() const override;
46 void PlayEarcon(int sound_key) const override; 46 void PlayEarcon(int sound_key) const override;
47 void SetCursor(gfx::NativeCursor cursor) override;
47 48
48 // Overridden from aura::FocusSynchronizerObserver: 49 // Overridden from aura::FocusSynchronizerObserver:
49 void OnActiveFocusClientChanged(aura::client::FocusClient* focus_client, 50 void OnActiveFocusClientChanged(aura::client::FocusClient* focus_client,
50 aura::Window* focus_client_root) override; 51 aura::Window* focus_client_root) override;
51 52
52 // Overridden from ui::client::FocusChangeObserver: 53 // Overridden from ui::client::FocusChangeObserver:
53 void OnWindowFocused(aura::Window* gained_focus, 54 void OnWindowFocused(aura::Window* gained_focus,
54 aura::Window* lost_focus) override; 55 aura::Window* lost_focus) override;
55 56
56 // Overridden from ui::InputDeviceEventObserver: 57 // Overridden from ui::InputDeviceEventObserver:
(...skipping 13 matching lines...) Expand all
70 aura::Window* root_with_active_focus_client_ = nullptr; 71 aura::Window* root_with_active_focus_client_ = nullptr;
71 aura::Window* active_window_ = nullptr; 72 aura::Window* active_window_ = nullptr;
72 aura::Window* focused_window_ = nullptr; 73 aura::Window* focused_window_ = nullptr;
73 74
74 DISALLOW_COPY_AND_ASSIGN(WMHelperMus); 75 DISALLOW_COPY_AND_ASSIGN(WMHelperMus);
75 }; 76 };
76 77
77 } // namespace exo 78 } // namespace exo
78 79
79 #endif // COMPONENTS_EXO_WM_HELPER_H_ 80 #endif // COMPONENTS_EXO_WM_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698