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

Side by Side Diff: ash/host/ash_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 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 ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_
6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/host/ash_window_tree_host.h" 9 #include "ash/host/ash_window_tree_host.h"
10 #include "ash/host/transformer_helper.h" 10 #include "ash/host/transformer_helper.h"
(...skipping 16 matching lines...) Expand all
27 // AshWindowTreeHost: 27 // AshWindowTreeHost:
28 void ToggleFullScreen() override; 28 void ToggleFullScreen() override;
29 bool ConfineCursorToRootWindow() override; 29 bool ConfineCursorToRootWindow() override;
30 void UnConfineCursor() override; 30 void UnConfineCursor() override;
31 void SetRootWindowTransformer( 31 void SetRootWindowTransformer(
32 scoped_ptr<RootWindowTransformer> transformer) override; 32 scoped_ptr<RootWindowTransformer> transformer) override;
33 gfx::Insets GetHostInsets() const override; 33 gfx::Insets GetHostInsets() const override;
34 aura::WindowTreeHost* AsWindowTreeHost() override; 34 aura::WindowTreeHost* AsWindowTreeHost() override;
35 void PrepareForShutdown() override; 35 void PrepareForShutdown() override;
36 36
37 // aura::WindowTreehost: 37 // aura::WindowTreeHost:
38 void SetBounds(const gfx::Rect& bounds) override; 38 void SetBounds(const gfx::Rect& bounds) override;
39 gfx::Transform GetRootTransform() const override; 39 gfx::Transform GetRootTransform() const override;
40 void SetRootTransform(const gfx::Transform& transform) override; 40 void SetRootTransform(const gfx::Transform& transform) override;
41 gfx::Transform GetInverseRootTransform() const override; 41 gfx::Transform GetInverseRootTransform() const override;
42 void UpdateRootWindowSize(const gfx::Size& host_size) override; 42 void UpdateRootWindowSize(const gfx::Size& host_size) override;
43 void OnCursorVisibilityChangedNative(bool show) override; 43 void OnCursorVisibilityChangedNative(bool show) override;
44 void RemapAsNormalWindow() override;
44 45
45 // aura::WindowTreeHostX11: 46 // aura::WindowTreeHostX11:
46 void OnConfigureNotify() override; 47 void OnConfigureNotify() override;
47 bool CanDispatchEvent(const ui::PlatformEvent& event) override; 48 bool CanDispatchEvent(const ui::PlatformEvent& event) override;
48 void TranslateAndDispatchLocatedEvent(ui::LocatedEvent* event) override; 49 void TranslateAndDispatchLocatedEvent(ui::LocatedEvent* event) override;
49 50
50 // EnvObserver overrides. 51 // EnvObserver overrides.
51 void OnWindowInitialized(aura::Window* window) override; 52 void OnWindowInitialized(aura::Window* window) override;
52 void OnHostInitialized(aura::WindowTreeHost* host) override; 53 void OnHostInitialized(aura::WindowTreeHost* host) override;
53 54
(...skipping 10 matching lines...) Expand all
64 scoped_ptr<XID[]> pointer_barriers_; 65 scoped_ptr<XID[]> pointer_barriers_;
65 66
66 TransformerHelper transformer_helper_; 67 TransformerHelper transformer_helper_;
67 68
68 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostX11); 69 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostX11);
69 }; 70 };
70 71
71 } // namespace ash 72 } // namespace ash
72 73
73 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ 74 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698