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

Side by Side Diff: base/mac/scoped_sending_event.h

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « base/mac/scoped_nsexception_enabler.h ('k') | base/mach_ipc_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 #ifndef BASE_MAC_SCOPED_SENDING_EVENT_H_ 5 #ifndef BASE_MAC_SCOPED_SENDING_EVENT_H_
6 #define BASE_MAC_SCOPED_SENDING_EVENT_H_ 6 #define BASE_MAC_SCOPED_SENDING_EVENT_H_
7 #pragma once
8 7
9 #include "base/base_export.h" 8 #include "base/base_export.h"
10 #include "base/basictypes.h" 9 #include "base/basictypes.h"
11 #include "base/memory/scoped_nsobject.h" 10 #include "base/memory/scoped_nsobject.h"
12 #include "base/message_pump_mac.h" 11 #include "base/message_pump_mac.h"
13 12
14 // Nested event loops can pump IPC messages, including 13 // Nested event loops can pump IPC messages, including
15 // script-initiated tab closes, which could release objects that the 14 // script-initiated tab closes, which could release objects that the
16 // nested event loop might message. CrAppProtocol defines how to ask 15 // nested event loop might message. CrAppProtocol defines how to ask
17 // the embedding NSApplication subclass if an event is currently being 16 // the embedding NSApplication subclass if an event is currently being
(...skipping 23 matching lines...) Expand all
41 NSObject<CrAppControlProtocol>* app_; 40 NSObject<CrAppControlProtocol>* app_;
42 BOOL handling_; // Value of -[app_ handlingSendEvent] at construction. 41 BOOL handling_; // Value of -[app_ handlingSendEvent] at construction.
43 42
44 DISALLOW_COPY_AND_ASSIGN(ScopedSendingEvent); 43 DISALLOW_COPY_AND_ASSIGN(ScopedSendingEvent);
45 }; 44 };
46 45
47 } // namespace mac 46 } // namespace mac
48 } // namespace base 47 } // namespace base
49 48
50 #endif // BASE_MAC_SCOPED_SENDING_EVENT_H_ 49 #endif // BASE_MAC_SCOPED_SENDING_EVENT_H_
OLDNEW
« no previous file with comments | « base/mac/scoped_nsexception_enabler.h ('k') | base/mach_ipc_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698