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

Unified Diff: ash/mus/bridge/wm_window_mus.cc

Issue 2075923002: mash: Convert FocusCycler to wm common types and move to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
« no previous file with comments | « ash/mus/bridge/wm_window_mus.h ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_window_mus.cc
diff --git a/ash/mus/bridge/wm_window_mus.cc b/ash/mus/bridge/wm_window_mus.cc
index efab7e7474ec1dc8a08c9b43060d191bdd01c926..09b0c06e3218993abc411a863ece7f91f161e699 100644
--- a/ash/mus/bridge/wm_window_mus.cc
+++ b/ash/mus/bridge/wm_window_mus.cc
@@ -575,6 +575,14 @@ void WmWindowMus::Show() {
window_->SetVisible(true);
}
+views::Widget* WmWindowMus::GetInternalWidget() {
+ // Don't return the window frame widget for an embedded client window.
+ if (widget_creation_type_ == WidgetCreationType::FOR_CLIENT)
+ return nullptr;
+
+ return widget_;
+}
+
void WmWindowMus::CloseWidget() {
DCHECK(widget_);
// Allow the client to service the close request for remote widgets.
« no previous file with comments | « ash/mus/bridge/wm_window_mus.h ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698