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

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: colons 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
« no previous file with comments | « content/shell/shell_application_mac.h ('k') | content/shell/shell_browser_main_parts_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
Robert Sesek 2012/03/26 16:34:26 Use base/auto_reset.h
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
« no previous file with comments | « content/shell/shell_application_mac.h ('k') | content/shell/shell_browser_main_parts_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698