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

Unified Diff: third_party/mojo_services/src/view_manager/public/cpp/view_manager_delegate.h

Issue 975973002: Update mojo sdk to rev f68e697e389943cd9bf9652397312280e96b127a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: shake fist at msvc Created 5 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
Index: third_party/mojo_services/src/view_manager/public/cpp/view_manager_delegate.h
diff --git a/third_party/mojo_services/src/view_manager/public/cpp/view_manager_delegate.h b/third_party/mojo_services/src/view_manager/public/cpp/view_manager_delegate.h
index e78e9250e264aecfcec6e5b98e837008f3c9a571..1590a591842173bd8ce696f5dac327e74446131b 100644
--- a/third_party/mojo_services/src/view_manager/public/cpp/view_manager_delegate.h
+++ b/third_party/mojo_services/src/view_manager/public/cpp/view_manager_delegate.h
@@ -5,6 +5,8 @@
#ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_
#define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_
+#include <string>
+
#include "mojo/public/interfaces/application/service_provider.mojom.h"
namespace mojo {
@@ -37,6 +39,10 @@ class ViewManagerDelegate {
// |view_manager| is not valid after this function returns.
virtual void OnViewManagerDisconnected(ViewManager* view_manager) = 0;
+ // Asks the delegate to perform the specified action.
+ // TODO(sky): nuke! See comments in view_manager.mojom for details.
+ virtual bool OnPerformAction(View* view, const std::string& action);
+
protected:
virtual ~ViewManagerDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698