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_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_BASE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_BASE_H_ |
6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_BASE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_BASE_H_ |
7 #pragma once | |
8 | 7 |
9 // The Mac RenderWidgetHostView implementation conforms to this protocol. | 8 // The Mac RenderWidgetHostView implementation conforms to this protocol. |
10 // | 9 // |
11 // While Chrome does not need any details of the actual | 10 // While Chrome does not need any details of the actual |
12 // implementation, there may be cases where it needs to alter behavior | 11 // implementation, there may be cases where it needs to alter behavior |
13 // depending on whether an event receiver is the Mac implementation of | 12 // depending on whether an event receiver is the Mac implementation of |
14 // RenderWidgetHostView. For this purpose, | 13 // RenderWidgetHostView. For this purpose, |
15 // conformsToProtocol:@protocol(RenderWidgetHostViewMacBase) can be used. | 14 // conformsToProtocol:@protocol(RenderWidgetHostViewMacBase) can be used. |
16 @protocol RenderWidgetHostViewMacBase | 15 @protocol RenderWidgetHostViewMacBase |
17 @end | 16 @end |
18 | 17 |
19 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_BASE_H_ | 18 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_BASE_H_ |
OLD | NEW |