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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_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
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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "ui/aura/window_tree_host.h" 8 #include "ui/aura/window_tree_host.h"
9 #include "ui/views/views_export.h" 9 #include "ui/views/views_export.h"
10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" 10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // Overridden from aura::WindowTreeHost: 109 // Overridden from aura::WindowTreeHost:
110 virtual ui::EventSource* GetEventSource() override; 110 virtual ui::EventSource* GetEventSource() override;
111 virtual gfx::AcceleratedWidget GetAcceleratedWidget() override; 111 virtual gfx::AcceleratedWidget GetAcceleratedWidget() override;
112 virtual void Show() override; 112 virtual void Show() override;
113 virtual void Hide() override; 113 virtual void Hide() override;
114 virtual gfx::Rect GetBounds() const override; 114 virtual gfx::Rect GetBounds() const override;
115 virtual void SetBounds(const gfx::Rect& bounds) override; 115 virtual void SetBounds(const gfx::Rect& bounds) override;
116 virtual gfx::Point GetLocationOnNativeScreen() const override; 116 virtual gfx::Point GetLocationOnNativeScreen() const override;
117 virtual void SetCapture() override; 117 virtual void SetCapture() override;
118 virtual void ReleaseCapture() override; 118 virtual void ReleaseCapture() override;
119 virtual void PostNativeEvent(const base::NativeEvent& native_event) override;
120 virtual void SetCursorNative(gfx::NativeCursor cursor) override; 119 virtual void SetCursorNative(gfx::NativeCursor cursor) override;
121 virtual void OnCursorVisibilityChangedNative(bool show) override; 120 virtual void OnCursorVisibilityChangedNative(bool show) override;
122 virtual void MoveCursorToNative(const gfx::Point& location) override; 121 virtual void MoveCursorToNative(const gfx::Point& location) override;
123 122
124 // Overridden frm ui::EventSource 123 // Overridden frm ui::EventSource
125 virtual ui::EventProcessor* GetEventProcessor() override; 124 virtual ui::EventProcessor* GetEventProcessor() override;
126 125
127 // Overridden from aura::client::AnimationHost 126 // Overridden from aura::client::AnimationHost
128 virtual void SetHostTransitionOffsets( 127 virtual void SetHostTransitionOffsets(
129 const gfx::Vector2d& top_left_delta, 128 const gfx::Vector2d& top_left_delta,
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 272
274 // Set to true if we are about to enter a sizing loop. 273 // Set to true if we are about to enter a sizing loop.
275 bool in_sizing_loop_; 274 bool in_sizing_loop_;
276 275
277 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 276 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
278 }; 277 };
279 278
280 } // namespace views 279 } // namespace views
281 280
282 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 281 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/test/ui_controls_factory_desktop_aurax11.cc ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698