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

Unified Diff: chrome/browser/ui/views/tabs/window_finder_ozone.cc

Issue 2408803002: Make it possible to launch chrome --mash with ozone_platform={wayland|x11}, chromeos=0 (Closed)
Patch Set: reverted changes to native_browser_frame_factory_auralinux.cc Created 4 years, 1 month 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: chrome/browser/ui/views/tabs/window_finder_ozone.cc
diff --git a/chrome/browser/ui/views/tabs/window_finder_ozone.cc b/chrome/browser/ui/views/tabs/window_finder_ozone.cc
new file mode 100644
index 0000000000000000000000000000000000000000..15fc4e948f37b6c906b7d64380532566a6b08bff
--- /dev/null
+++ b/chrome/browser/ui/views/tabs/window_finder_ozone.cc
@@ -0,0 +1,17 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/ui/views/tabs/window_finder.h"
+#include "chrome/browser/ui/views/tabs/window_finder_mus.h"
+
+gfx::NativeWindow WindowFinder::GetLocalProcessWindowAtPoint(
+ const gfx::Point& screen_point,
+ const std::set<gfx::NativeWindow>& ignore) {
+ gfx::NativeWindow mus_result = nullptr;
+ if (GetLocalProcessWindowAtPointMus(screen_point, ignore, &mus_result))
+ return mus_result;
+
+ NOTREACHED() << "For Ozone builds, only --mash launch is supported for now.";
+ return nullptr;
+}

Powered by Google App Engine
This is Rietveld 408576698