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

Unified Diff: chrome/browser/ui/views/frame/browser_frame_mus.cc

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
Patch Set: . Created 4 years, 10 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 | « no previous file | components/bitmap_uploader/bitmap_uploader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_frame_mus.cc
diff --git a/chrome/browser/ui/views/frame/browser_frame_mus.cc b/chrome/browser/ui/views/frame/browser_frame_mus.cc
index 28ec7df1ca32c397eace91fc211f2c7aae3e4ff6..8975f16ba0ce11f9acedaa8c01f328866cafe3a7 100644
--- a/chrome/browser/ui/views/frame/browser_frame_mus.cc
+++ b/chrome/browser/ui/views/frame/browser_frame_mus.cc
@@ -10,7 +10,6 @@
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "components/mus/public/cpp/window.h"
#include "components/mus/public/interfaces/window_tree.mojom.h"
-#include "mojo/shell/public/cpp/application_impl.h"
#include "ui/views/mus/window_manager_connection.h"
#include "ui/views/mus/window_manager_frame_values.h"
@@ -36,7 +35,7 @@ BrowserFrameMus::BrowserFrameMus(BrowserFrame* browser_frame,
BrowserView* browser_view)
: views::NativeWidgetMus(
browser_frame,
- views::WindowManagerConnection::Get()->app()->shell(),
+ views::WindowManagerConnection::Get()->shell(),
CreateMusWindow(browser_view),
mus::mojom::SurfaceType::DEFAULT),
browser_view_(browser_view) {}
« no previous file with comments | « no previous file | components/bitmap_uploader/bitmap_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698