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

Unified Diff: chrome/browser/ui/ash/chrome_new_window_client.h

Issue 2549903002: mash: Reverse the responsibilities of the NewWindowClient. (Closed)
Patch Set: jamescook comments Created 4 years 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/ash/chrome_new_window_client.h
diff --git a/chrome/browser/ui/ash/chrome_new_window_client.h b/chrome/browser/ui/ash/chrome_new_window_client.h
index d07e64070084263124f87f33b46f014c97903878..f8bcb0f59473e8565f95cf94f39643b1a1982404 100644
--- a/chrome/browser/ui/ash/chrome_new_window_client.h
+++ b/chrome/browser/ui/ash/chrome_new_window_client.h
@@ -9,6 +9,7 @@
#include "ash/public/interfaces/new_window.mojom.h"
#include "base/macros.h"
+#include "mojo/public/cpp/bindings/associated_binding.h"
class ChromeNewWindowClient : public ash::mojom::NewWindowClient {
public:
@@ -31,6 +32,11 @@ class ChromeNewWindowClient : public ash::mojom::NewWindowClient {
std::unique_ptr<TabRestoreHelper> tab_restore_helper_;
+ ash::mojom::NewWindowControllerPtr new_window_controller_;
+
+ // Binds this object to the client interface.
+ mojo::AssociatedBinding<ash::mojom::NewWindowClient> binding_;
+
DISALLOW_COPY_AND_ASSIGN(ChromeNewWindowClient);
};
« no previous file with comments | « chrome/browser/chromeos/chrome_interface_factory.cc ('k') | chrome/browser/ui/ash/chrome_new_window_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698