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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc

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 side-by-side diff with in-line comments
Download patch
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
index a663f3894b9873494995848fd43dfd6fd9ecd252..d24de0ec413fe0972117a31cc5b5b765a6a454b5 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
@@ -36,6 +36,7 @@
#include "ui/views/widget/widget_hwnd_utils.h"
#include "ui/views/win/fullscreen_handler.h"
#include "ui/views/win/hwnd_message_handler.h"
+#include "ui/views/win/hwnd_util.h"
#include "ui/wm/core/compound_event_filter.h"
#include "ui/wm/core/input_method_event_filter.h"
#include "ui/wm/core/window_animations.h"
@@ -234,6 +235,12 @@ void DesktopWindowTreeHostWin::SetSize(const gfx::Size& size) {
message_handler_->SetSize(expanded);
}
+void DesktopWindowTreeHostWin::StackAbove(aura::Window* window) {
+ HWND hwnd = HWNDForNativeView(window);
+ if (hwnd)
+ message_handler_->StackAbove(hwnd);
+}
+
void DesktopWindowTreeHostWin::StackAtTop() {
message_handler_->StackAtTop();
}

Powered by Google App Engine
This is Rietveld 408576698