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

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

Issue 2524873002: Rename WindowTreeHost G|SetBounds to indicate they are in pixels. (Closed)
Patch Set: rebase Created 4 years 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_unittest.cc ('k') | ui/aura/window_tree_host_x11.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_X11_H_ 5 #ifndef UI_AURA_WINDOW_TREE_HOST_X11_H_
6 #define UI_AURA_WINDOW_TREE_HOST_X11_H_ 6 #define UI_AURA_WINDOW_TREE_HOST_X11_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 25 matching lines...) Expand all
36 36
37 // ui::PlatformEventDispatcher: 37 // ui::PlatformEventDispatcher:
38 bool CanDispatchEvent(const ui::PlatformEvent& event) override; 38 bool CanDispatchEvent(const ui::PlatformEvent& event) override;
39 uint32_t DispatchEvent(const ui::PlatformEvent& event) override; 39 uint32_t DispatchEvent(const ui::PlatformEvent& event) override;
40 40
41 // WindowTreeHost: 41 // WindowTreeHost:
42 ui::EventSource* GetEventSource() override; 42 ui::EventSource* GetEventSource() override;
43 gfx::AcceleratedWidget GetAcceleratedWidget() override; 43 gfx::AcceleratedWidget GetAcceleratedWidget() override;
44 void ShowImpl() override; 44 void ShowImpl() override;
45 void HideImpl() override; 45 void HideImpl() override;
46 gfx::Rect GetBounds() const override; 46 gfx::Rect GetBoundsInPixels() const override;
47 void SetBounds(const gfx::Rect& bounds) override; 47 void SetBoundsInPixels(const gfx::Rect& bounds) override;
48 gfx::Point GetLocationOnNativeScreen() const override; 48 gfx::Point GetLocationOnNativeScreen() const override;
49 void SetCapture() override; 49 void SetCapture() override;
50 void ReleaseCapture() override; 50 void ReleaseCapture() override;
51 void SetCursorNative(gfx::NativeCursor cursor_type) override; 51 void SetCursorNative(gfx::NativeCursor cursor_type) override;
52 void MoveCursorToNative(const gfx::Point& location) override; 52 void MoveCursorToNative(const gfx::Point& location) override;
53 void OnCursorVisibilityChangedNative(bool show) override; 53 void OnCursorVisibilityChangedNative(bool show) override;
54 54
55 // Deselects mouse and keyboard events on |xwindow_|. 55 // Deselects mouse and keyboard events on |xwindow_|.
56 void DisableInput(); 56 void DisableInput();
57 57
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 namespace test { 105 namespace test {
106 106
107 // Set the default value of the override redirect flag used to 107 // Set the default value of the override redirect flag used to
108 // create a X window for WindowTreeHostX11. 108 // create a X window for WindowTreeHostX11.
109 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); 109 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect);
110 110
111 } // namespace test 111 } // namespace test
112 } // namespace aura 112 } // namespace aura
113 113
114 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_ 114 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_
OLDNEW
« no previous file with comments | « ui/aura/window_tree_host_unittest.cc ('k') | ui/aura/window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698