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

Side by Side Diff: content/shell/shell_application_mac.mm

Issue 9834080: Mac content shell: Implement CrApplication. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/shell/shell_application_mac.h"
6
7 @implementation ShellCrApplication
8
9 - (BOOL)isHandlingSendEvent {
10 return handlingSendEvent_;
11 }
12
13 - (void)sendEvent:(NSEvent*)event {
14 BOOL wasHandlingSendEvent = handlingSendEvent_;
15 handlingSendEvent_ = YES;
16 [super sendEvent:event];
17 handlingSendEvent_ = wasHandlingSendEvent;
18 }
19
20 - (void)setHandlingSendEvent:(BOOL)handlingSendEvent {
21 handlingSendEvent_ = handlingSendEvent;
22 }
23
24 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698