1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef UI_BASE_COCOA_VIEW_DESCRIPTION_H_ 6 #define UI_BASE_COCOA_VIEW_DESCRIPTION_H_ 7 8 #import <Cocoa/Cocoa.h> 9 10 #if !NDEBUG 11 12 @interface NSView (CrDebugging) 13 14 // Returns a description of all the subviews and each's frame for debugging. 15 - (NSString*)cr_recursiveDescription; 16 17 @end 18 19 #endif // !NDEBUG 20 21 #endif // UI_BASE_COCOA_VIEW_DESCRIPTION_H_ 22