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

Side by Side Diff: ui/aura/window_tree_host_win.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_ozone.cc ('k') | ui/aura/window_tree_host_win.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WIN_H_ 5 #ifndef UI_AURA_WINDOW_TREE_HOST_WIN_H_
6 #define UI_AURA_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_AURA_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ui/aura/aura_export.h" 10 #include "ui/aura/aura_export.h"
(...skipping 18 matching lines...) Expand all
29 virtual void Show() override; 29 virtual void Show() override;
30 virtual void Hide() override; 30 virtual void Hide() override;
31 virtual gfx::Rect GetBounds() const override; 31 virtual gfx::Rect GetBounds() const override;
32 virtual void SetBounds(const gfx::Rect& bounds) override; 32 virtual void SetBounds(const gfx::Rect& bounds) override;
33 virtual gfx::Point GetLocationOnNativeScreen() const override; 33 virtual gfx::Point GetLocationOnNativeScreen() const override;
34 virtual void SetCapture() override; 34 virtual void SetCapture() override;
35 virtual void ReleaseCapture() override; 35 virtual void ReleaseCapture() override;
36 virtual void SetCursorNative(gfx::NativeCursor cursor) override; 36 virtual void SetCursorNative(gfx::NativeCursor cursor) override;
37 virtual void MoveCursorToNative(const gfx::Point& location) override; 37 virtual void MoveCursorToNative(const gfx::Point& location) override;
38 virtual void OnCursorVisibilityChangedNative(bool show) override; 38 virtual void OnCursorVisibilityChangedNative(bool show) override;
39 virtual void PostNativeEvent(const base::NativeEvent& native_event) override;
40 39
41 // ui::EventSource: 40 // ui::EventSource:
42 virtual ui::EventProcessor* GetEventProcessor() override; 41 virtual ui::EventProcessor* GetEventProcessor() override;
43 42
44 protected: 43 protected:
45 gfx::AcceleratedWidget hwnd() const { return widget_; } 44 gfx::AcceleratedWidget hwnd() const { return widget_; }
46 45
47 private: 46 private:
48 // ui::PlatformWindowDelegate: 47 // ui::PlatformWindowDelegate:
49 virtual void OnBoundsChanged(const gfx::Rect& new_bounds) override; 48 virtual void OnBoundsChanged(const gfx::Rect& new_bounds) override;
(...skipping 11 matching lines...) Expand all
61 gfx::Rect bounds_; 60 gfx::Rect bounds_;
62 gfx::AcceleratedWidget widget_; 61 gfx::AcceleratedWidget widget_;
63 scoped_ptr<ui::PlatformWindow> window_; 62 scoped_ptr<ui::PlatformWindow> window_;
64 63
65 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostWin); 64 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostWin);
66 }; 65 };
67 66
68 } // namespace aura 67 } // namespace aura
69 68
70 #endif // UI_AURA_WINDOW_TREE_HOST_WIN_H_ 69 #endif // UI_AURA_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/aura/window_tree_host_ozone.cc ('k') | ui/aura/window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698