Ignore objective-c header lint
authorKevin Sawicki <kevinsawicki@gmail.com>
Tue, 28 Feb 2017 20:33:56 +0000 (12:33 -0800)
committerKevin Sawicki <kevinsawicki@gmail.com>
Fri, 3 Mar 2017 22:00:38 +0000 (14:00 -0800)
atom/browser/native_window_mac.mm
script/cpplint.py

index 9ef09f6..c4f1274 100644 (file)
@@ -11,7 +11,6 @@
 #include "atom/browser/window_list.h"
 #include "atom/common/color_util.h"
 #include "atom/common/draggable_region.h"
-#include "atom/common/native_mate_converters/image_converter.h"
 #include "atom/common/options_switches.h"
 #include "base/mac/mac_util.h"
 #include "base/mac/scoped_cftyperef.h"
@@ -396,7 +395,7 @@ bool ScopedDisableResize::disable_resize_ = false;
 
 // NSWindow overrides.
 
-- (void)swipeWithEvent:(NSEvent*)event {
+- (void)swipeWithEvent:(NSEvent *)event {
   if (event.deltaY == 1.0) {
     shell_->NotifyWindowSwipe("up");
   } else if (event.deltaX == -1.0) {
index 9d9281f..6c71552 100755 (executable)
@@ -9,10 +9,11 @@ from lib.util import execute
 IGNORE_FILES = [
   os.path.join('atom', 'browser', 'mac', 'atom_application.h'),
   os.path.join('atom', 'browser', 'mac', 'atom_application_delegate.h'),
-  os.path.join('atom', 'browser', 'ui', 'cocoa',
-               'touch_bar_forward_declarations.h'),
   os.path.join('atom', 'browser', 'resources', 'win', 'resource.h'),
   os.path.join('atom', 'browser', 'ui', 'cocoa', 'atom_menu_controller.h'),
+  os.path.join('atom', 'browser', 'ui', 'cocoa', 'atom_touch_bar.h'),
+  os.path.join('atom', 'browser', 'ui', 'cocoa',
+               'touch_bar_forward_declarations.h'),
   os.path.join('atom', 'common', 'api', 'api_messages.h'),
   os.path.join('atom', 'common', 'common_message_generator.cc'),
   os.path.join('atom', 'common', 'common_message_generator.h'),