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

Unified Diff: extensions/browser/api/app_current_window_internal/app_current_window_internal_api.h

Issue 2854893004: cros: Hook AppCurrentWindowInternal setActivateOnPointer with aura side api (Closed)
Patch Set: update xml Created 3 years, 7 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: extensions/browser/api/app_current_window_internal/app_current_window_internal_api.h
diff --git a/extensions/browser/api/app_current_window_internal/app_current_window_internal_api.h b/extensions/browser/api/app_current_window_internal/app_current_window_internal_api.h
index 66f265a416704f8eb0ecbb2445f7645885631344..72ddd534a5acf69b17e1a22c8e59c2202b93a2e2 100644
--- a/extensions/browser/api/app_current_window_internal/app_current_window_internal_api.h
+++ b/extensions/browser/api/app_current_window_internal/app_current_window_internal_api.h
@@ -190,6 +190,17 @@ class AppCurrentWindowInternalSetVisibleOnAllWorkspacesFunction
ResponseAction Run() override;
};
+class AppCurrentWindowInternalSetActivateOnPointerFunction
+ : public AppCurrentWindowInternalExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("app.currentWindowInternal.setActivateOnPointer",
+ APP_CURRENTWINDOWINTERNAL_SETACTIVATEONPOINTER)
+
+ protected:
+ ~AppCurrentWindowInternalSetActivateOnPointerFunction() override {}
+ ResponseAction Run() override;
+};
+
} // namespace extensions
#endif // EXTENSIONS_BROWSER_API_APP_CURRENT_WINDOW_INTERNAL_APP_CURRENT_WINDOW_INTERNAL_API_H_

Powered by Google App Engine
This is Rietveld 408576698