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

Side by Side Diff: chrome/common/chrome_application_mac.mm

Issue 5950003: Remove CrApplication dependency from base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: '' Created 10 years 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
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "chrome_application_mac.h" 5 #import "chrome/common/chrome_application_mac.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 @interface CrApplication () 9 @interface CrApplication ()
10 @property(readwrite, 10 @property(readwrite,
11 getter=isHandlingSendEvent, 11 getter=isHandlingSendEvent,
12 nonatomic) BOOL handlingSendEvent; 12 nonatomic) BOOL handlingSendEvent;
13 @end 13 @end
14 14
15 @implementation CrApplication 15 @implementation CrApplication
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 : app_(static_cast<CrApplication*>([CrApplication sharedApplication])), 59 : app_(static_cast<CrApplication*>([CrApplication sharedApplication])),
60 handling_([app_ isHandlingSendEvent]) { 60 handling_([app_ isHandlingSendEvent]) {
61 [app_ setHandlingSendEvent:YES]; 61 [app_ setHandlingSendEvent:YES];
62 } 62 }
63 63
64 ScopedSendingEvent::~ScopedSendingEvent() { 64 ScopedSendingEvent::~ScopedSendingEvent() {
65 [app_ setHandlingSendEvent:handling_]; 65 [app_ setHandlingSendEvent:handling_];
66 } 66 }
67 67
68 } // namespace chrome_application_mac 68 } // namespace chrome_application_mac
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698