Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1538)

Side by Side Diff: chrome/browser/ui/cocoa/new_tab_button.mm

Issue 1133713009: Subject .mm files to the header sorting presubmit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase - of course... it would be one of my patches I conflict with :| Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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 #import "chrome/browser/ui/cocoa/new_tab_button.h" 5 #import "chrome/browser/ui/cocoa/new_tab_button.h"
6
6 #import "chrome/browser/ui/cocoa/image_button_cell.h" 7 #import "chrome/browser/ui/cocoa/image_button_cell.h"
7 #include "grit/theme_resources.h" 8 #include "grit/theme_resources.h"
8 #include "ui/base/resource/resource_bundle.h" 9 #include "ui/base/resource/resource_bundle.h"
9 10
10 // A simple override of the ImageButtonCell to disable handling of 11 // A simple override of the ImageButtonCell to disable handling of
11 // -mouseEntered. 12 // -mouseEntered.
12 @interface NewTabButtonCell : ImageButtonCell 13 @interface NewTabButtonCell : ImageButtonCell
13 14
14 - (void)mouseEntered:(NSEvent*)theEvent; 15 - (void)mouseEntered:(NSEvent*)theEvent;
15 16
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 60
60 - (void)windowDidChangeTheme { 61 - (void)windowDidChangeTheme {
61 [self setNeedsDisplay:YES]; 62 [self setNeedsDisplay:YES];
62 } 63 }
63 64
64 - (void)windowDidChangeActive { 65 - (void)windowDidChangeActive {
65 [self setNeedsDisplay:YES]; 66 [self setNeedsDisplay:YES];
66 } 67 }
67 68
68 @end 69 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698