| 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_DELEGATE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 // This protocol is used as a delegate for the NSView class used in the | 10 // This protocol is used as a delegate for the NSView class used in the |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 // Notification of whether the view has a horizontal scrollbar. | 35 // Notification of whether the view has a horizontal scrollbar. |
| 36 - (void)setHasHorizontalScrollbar:(BOOL)has_horizontal_scrollbar; | 36 - (void)setHasHorizontalScrollbar:(BOOL)has_horizontal_scrollbar; |
| 37 | 37 |
| 38 // Provides validation of user interface items. If the return value is NO, then | 38 // Provides validation of user interface items. If the return value is NO, then |
| 39 // the delegate is unaware of that item and |valid| is undefined. Otherwise, | 39 // the delegate is unaware of that item and |valid| is undefined. Otherwise, |
| 40 // |valid| contains the validity of the specified item. | 40 // |valid| contains the validity of the specified item. |
| 41 - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item | 41 - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item |
| 42 isValidItem:(BOOL*)valid; | 42 isValidItem:(BOOL*)valid; |
| 43 | 43 |
| 44 // Notification that the compositing IO surface has been created. | |
| 45 - (void)compositingIOSurfaceCreated; | |
| 46 | |
| 47 @end | 44 @end |
| 48 | 45 |
| 49 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_ | 46 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_ |
| OLD | NEW |