Home | History | Annotate | Download | only in cocoa
      1 // Copyright (c) 2011 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 CHROME_BROWSER_UI_COCOA_NSVIEW_ADDITIONS_H_
      6 #define CHROME_BROWSER_UI_COCOA_NSVIEW_ADDITIONS_H_
      7 #pragma once
      8 
      9 #import <Cocoa/Cocoa.h>
     10 
     11 @interface NSView (ChromeAdditions)
     12 
     13 // Returns the line width that will generate a 1 pixel wide line.
     14 - (CGFloat)cr_lineWidth;
     15 
     16 @end
     17 
     18 #endif  // CHROME_BROWSER_UI_COCOA_NSVIEW_ADDITIONS_H_
     19