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

Unified Diff: mojo/services/public/cpp/view_manager/view_manager.h

Issue 636363002: Splits window manager like methods into ViewManagerServiceDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 2 trunk Created 6 years, 2 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: mojo/services/public/cpp/view_manager/view_manager.h
diff --git a/mojo/services/public/cpp/view_manager/view_manager.h b/mojo/services/public/cpp/view_manager/view_manager.h
index d15328396b7d80858ac3b1e11a0bde5d527e8d6e..25862459d42f1e25ad0939f967eacb1a21c07184 100644
--- a/mojo/services/public/cpp/view_manager/view_manager.h
+++ b/mojo/services/public/cpp/view_manager/view_manager.h
@@ -9,12 +9,9 @@
#include <vector>
#include "mojo/services/public/cpp/view_manager/types.h"
-#include "mojo/services/public/interfaces/input_events/input_events.mojom.h"
namespace mojo {
class View;
-class ViewManagerDelegate;
-class WindowManagerDelegate;
// Encapsulates a connection to the view manager service.
// A unique connection is made for every unique embed path for an app. e.g. for
@@ -22,15 +19,6 @@ class WindowManagerDelegate;
// and thus two instances of this class.
class ViewManager {
public:
- // Sets the window manager delegate. Can only be called by the app embedded at
- // the service root view. Can only be called once.
- virtual void SetWindowManagerDelegate(
- WindowManagerDelegate* window_manager_delegate) = 0;
-
- // Dispatches the supplied event to the specified View. Can be called only
- // by the application that called SetWindowManagerDelegate().
- virtual void DispatchEvent(View* target, EventPtr event) = 0;
-
// Returns the URL of the application that embedded this application.
virtual const std::string& GetEmbedderURL() const = 0;

Powered by Google App Engine
This is Rietveld 408576698