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

Side by Side Diff: ui/aura/window_tree_host_mac.h

Issue 710553002: aura: Remove WindowTreeHost::PostNativeEvent(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 1 month 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
« no previous file with comments | « ui/aura/window_tree_host.h ('k') | ui/aura/window_tree_host_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_AURA_WINDOW_TREE_HOST_MAC_H_ 5 #ifndef UI_AURA_WINDOW_TREE_HOST_MAC_H_
6 #define UI_AURA_WINDOW_TREE_HOST_MAC_H_ 6 #define UI_AURA_WINDOW_TREE_HOST_MAC_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
(...skipping 29 matching lines...) Expand all
40 virtual gfx::Insets GetInsets() const override; 40 virtual gfx::Insets GetInsets() const override;
41 virtual void SetInsets(const gfx::Insets& insets) override; 41 virtual void SetInsets(const gfx::Insets& insets) override;
42 virtual gfx::Point GetLocationOnNativeScreen() const override; 42 virtual gfx::Point GetLocationOnNativeScreen() const override;
43 virtual void SetCapture() override; 43 virtual void SetCapture() override;
44 virtual void ReleaseCapture() override; 44 virtual void ReleaseCapture() override;
45 virtual bool ConfineCursorToRootWindow() override; 45 virtual bool ConfineCursorToRootWindow() override;
46 virtual void UnConfineCursor() override; 46 virtual void UnConfineCursor() override;
47 virtual void SetCursorNative(gfx::NativeCursor cursor_type) override; 47 virtual void SetCursorNative(gfx::NativeCursor cursor_type) override;
48 virtual void MoveCursorToNative(const gfx::Point& location) override; 48 virtual void MoveCursorToNative(const gfx::Point& location) override;
49 virtual void OnCursorVisibilityChangedNative(bool show) override; 49 virtual void OnCursorVisibilityChangedNative(bool show) override;
50 virtual void PostNativeEvent(const base::NativeEvent& event) override;
51 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) override; 50 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) override;
52 51
53 private: 52 private:
54 base::scoped_nsobject<NSWindow> window_; 53 base::scoped_nsobject<NSWindow> window_;
55 54
56 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMac); 55 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMac);
57 }; 56 };
58 57
59 } // namespace aura 58 } // namespace aura
60 59
61 #endif // UI_AURA_WINDOW_TREE_HOST_MAC_H_ 60 #endif // UI_AURA_WINDOW_TREE_HOST_MAC_H_
OLDNEW
« no previous file with comments | « ui/aura/window_tree_host.h ('k') | ui/aura/window_tree_host_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698