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

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

Issue 1456963002: Make browser windows override_redirect when dragging tabs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make browser windows override_redirect when dragging tabs. Created 4 years, 11 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 (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 "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/aura/aura_export.h" 9 #include "ui/aura/aura_export.h"
10 #include "ui/aura/window_tree_host.h" 10 #include "ui/aura/window_tree_host.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // WindowTreeHost: 42 // WindowTreeHost:
43 ui::EventSource* GetEventSource() override; 43 ui::EventSource* GetEventSource() override;
44 gfx::AcceleratedWidget GetAcceleratedWidget() override; 44 gfx::AcceleratedWidget GetAcceleratedWidget() override;
45 void ShowImpl() override; 45 void ShowImpl() override;
46 void HideImpl() override; 46 void HideImpl() override;
47 gfx::Rect GetBounds() const override; 47 gfx::Rect GetBounds() const override;
48 void SetBounds(const gfx::Rect& bounds) override; 48 void SetBounds(const gfx::Rect& bounds) override;
49 gfx::Point GetLocationOnNativeScreen() const override; 49 gfx::Point GetLocationOnNativeScreen() const override;
50 void SetCapture() override; 50 void SetCapture() override;
51 void ReleaseCapture() override; 51 void ReleaseCapture() override;
52 void RemapAsNormalWindow() override;
52 void SetCursorNative(gfx::NativeCursor cursor_type) override; 53 void SetCursorNative(gfx::NativeCursor cursor_type) override;
53 void MoveCursorToNative(const gfx::Point& location) override; 54 void MoveCursorToNative(const gfx::Point& location) override;
54 void OnCursorVisibilityChangedNative(bool show) override; 55 void OnCursorVisibilityChangedNative(bool show) override;
55 56
56 protected: 57 protected:
57 // Called when X Configure Notify event is recevied. 58 // Called when X Configure Notify event is recevied.
58 virtual void OnConfigureNotify(); 59 virtual void OnConfigureNotify();
59 60
60 // Translates the native mouse location into screen coordinates and 61 // Translates the native mouse location into screen coordinates and
61 // dispatches the event via WindowEventDispatcher. 62 // dispatches the event via WindowEventDispatcher.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 namespace test { 103 namespace test {
103 104
104 // Set the default value of the override redirect flag used to 105 // Set the default value of the override redirect flag used to
105 // create a X window for WindowTreeHostX11. 106 // create a X window for WindowTreeHostX11.
106 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); 107 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect);
107 108
108 } // namespace test 109 } // namespace test
109 } // namespace aura 110 } // namespace aura
110 111
111 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_ 112 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698