OLD | NEW |
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 CONTENT_BROWSER_RENDERER_HOST_TEXT_INPUT_CLIENT_MAC_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEXT_INPUT_CLIENT_MAC_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_TEXT_INPUT_CLIENT_MAC_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_TEXT_INPUT_CLIENT_MAC_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/mac/scoped_block.h" | 10 #include "base/mac/scoped_block.h" |
11 #include "base/mac/scoped_nsobject.h" | 11 #include "base/mac/scoped_nsobject.h" |
12 #include "base/synchronization/condition_variable.h" | 12 #include "base/synchronization/condition_variable.h" |
13 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "ui/gfx/point.h" | 15 #include "ui/gfx/geometry/point.h" |
16 | 16 |
17 template <typename T> struct DefaultSingletonTraits; | 17 template <typename T> struct DefaultSingletonTraits; |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 class RenderWidgetHost; | 20 class RenderWidgetHost; |
21 | 21 |
22 // This class helps with the Mac OS X dictionary popup. For the design overview, | 22 // This class helps with the Mac OS X dictionary popup. For the design overview, |
23 // look at this document: | 23 // look at this document: |
24 // http://dev.chromium.org/developers/design-documents/system-dictionary-pop-u
p-architecture | 24 // http://dev.chromium.org/developers/design-documents/system-dictionary-pop-u
p-architecture |
25 // | 25 // |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 base::ConditionVariable condition_; | 103 base::ConditionVariable condition_; |
104 | 104 |
105 base::mac::ScopedBlock<void(^)(NSAttributedString*, NSPoint)> replyHandler_; | 105 base::mac::ScopedBlock<void(^)(NSAttributedString*, NSPoint)> replyHandler_; |
106 | 106 |
107 DISALLOW_COPY_AND_ASSIGN(TextInputClientMac); | 107 DISALLOW_COPY_AND_ASSIGN(TextInputClientMac); |
108 }; | 108 }; |
109 | 109 |
110 } // namespace content | 110 } // namespace content |
111 | 111 |
112 #endif // CONTENT_BROWSER_RENDERER_HOST_TEXT_INPUT_CLIENT_MAC_H_ | 112 #endif // CONTENT_BROWSER_RENDERER_HOST_TEXT_INPUT_CLIENT_MAC_H_ |
OLD | NEW |