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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.h

Issue 1162883003: Fix Z-order for a bubble when it appears for inactive window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DCHECK and a comment Created 5 years, 6 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_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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 scoped_ptr<corewm::Tooltip> CreateTooltip() override; 51 scoped_ptr<corewm::Tooltip> CreateTooltip() override;
52 scoped_ptr<aura::client::DragDropClient> CreateDragDropClient( 52 scoped_ptr<aura::client::DragDropClient> CreateDragDropClient(
53 DesktopNativeCursorManager* cursor_manager) override; 53 DesktopNativeCursorManager* cursor_manager) override;
54 void Close() override; 54 void Close() override;
55 void CloseNow() override; 55 void CloseNow() override;
56 aura::WindowTreeHost* AsWindowTreeHost() override; 56 aura::WindowTreeHost* AsWindowTreeHost() override;
57 void ShowWindowWithState(ui::WindowShowState show_state) override; 57 void ShowWindowWithState(ui::WindowShowState show_state) override;
58 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; 58 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override;
59 bool IsVisible() const override; 59 bool IsVisible() const override;
60 void SetSize(const gfx::Size& size) override; 60 void SetSize(const gfx::Size& size) override;
61 void StackAbove(aura::Window* window) override;
61 void StackAtTop() override; 62 void StackAtTop() override;
62 void CenterWindow(const gfx::Size& size) override; 63 void CenterWindow(const gfx::Size& size) override;
63 void GetWindowPlacement(gfx::Rect* bounds, 64 void GetWindowPlacement(gfx::Rect* bounds,
64 ui::WindowShowState* show_state) const override; 65 ui::WindowShowState* show_state) const override;
65 gfx::Rect GetWindowBoundsInScreen() const override; 66 gfx::Rect GetWindowBoundsInScreen() const override;
66 gfx::Rect GetClientAreaBoundsInScreen() const override; 67 gfx::Rect GetClientAreaBoundsInScreen() const override;
67 gfx::Rect GetRestoredBounds() const override; 68 gfx::Rect GetRestoredBounds() const override;
68 gfx::Rect GetWorkAreaBoundsInScreen() const override; 69 gfx::Rect GetWorkAreaBoundsInScreen() const override;
69 void SetShape(gfx::NativeRegion native_region) override; 70 void SetShape(gfx::NativeRegion native_region) override;
70 void Activate() override; 71 void Activate() override;
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 static bool is_cursor_visible_; 258 static bool is_cursor_visible_;
258 259
259 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; 260 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_;
260 261
261 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 262 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
262 }; 263 };
263 264
264 } // namespace views 265 } // namespace views
265 266
266 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 267 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698