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

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

Issue 2853473002: Always return false on IsHandlingSendingEvent (Closed)
Patch Set: Created 3 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/browser/headless_shell_application_mac.mm
diff --git a/headless/lib/browser/headless_shell_application_mac.mm b/headless/lib/browser/headless_shell_application_mac.mm
index fa8e87a9328109c83a1b8d945049af34c5a2bd61..12c37957b2a186902b7a31dd03cb918d5a2f86a5 100644
--- a/headless/lib/browser/headless_shell_application_mac.mm
+++ b/headless/lib/browser/headless_shell_application_mac.mm
@@ -9,9 +9,8 @@
@implementation HeadlessShellCrApplication
- (BOOL)isHandlingSendEvent {
- // The CrAppProtocol must return true if [NSApplication sendEvent:] is
- // currently on the stack. seee |CrAppProtocol| in |MessagePumpMac|.
- return true;
+ // Since headless mode is non-interactive, always return false.
+ return false;
}
@end
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698