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

Unified Diff: headless/lib/browser/headless_shell_application_mac.h

Issue 2905483003: Add setHandlingEvent method the headless_application for Mac (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | headless/lib/browser/headless_shell_application_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/browser/headless_shell_application_mac.h
diff --git a/headless/lib/browser/headless_shell_application_mac.h b/headless/lib/browser/headless_shell_application_mac.h
index c69b153d895a5439501701a3e2643769703efb05..b9bdf913919462bc9389c8cad99b8ffd4f55bd34 100644
--- a/headless/lib/browser/headless_shell_application_mac.h
+++ b/headless/lib/browser/headless_shell_application_mac.h
@@ -10,11 +10,15 @@
// Headless shell uses |MessagePumpMac|, so it needs to implement the
// |CRAppProtocol|.
-@interface HeadlessShellCrApplication : NSApplication<CrAppProtocol>
+@interface HeadlessShellCrApplication
+ : NSApplication<CrAppProtocol, CrAppControlProtocol>
// CrAppProtocol:
- (BOOL)isHandlingSendEvent;
+// CrAppControlProtocol:
+- (void)setHandlingSendEvent:(BOOL)handlingSendEvent;
+
@end
#endif // HEADLESS_LIB_BROWSER_HEADLESS_SHELL_APPLICATION_MAC_H_
« no previous file with comments | « no previous file | headless/lib/browser/headless_shell_application_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698