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

Unified Diff: chrome/browser/ui/cocoa/toolbar/toolbar_button.h

Issue 657443004: MacViews: Get views based toolbar to compile on the Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@views-findbar
Patch Set: Rebase Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/toolbar/toolbar_button.h
diff --git a/chrome/browser/ui/cocoa/toolbar/toolbar_button.h b/chrome/browser/ui/cocoa/toolbar/toolbar_button.h
deleted file mode 100644
index 9adb033a678e6f27c9f6277cdf1a1776c4b95a88..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/toolbar/toolbar_button.h
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_BUTTON_H_
-#define CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_BUTTON_H_
-
-#import <Cocoa/Cocoa.h>
-
-// NSButton subclass which handles middle mouse clicking.
-
-@interface ToolbarButton : NSButton {
- @protected
- // YES when middle mouse clicks should be handled.
- BOOL handleMiddleClick_;
-}
-
-// Whether or not to handle the mouse middle click events.
-@property(assign, nonatomic) BOOL handleMiddleClick;
-
-@end
-
-@interface ToolbarButton (ExposedForTesting)
-- (BOOL)shouldHandleEvent:(NSEvent*)theEvent;
-@end
-
-#endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_BUTTON_H_
« no previous file with comments | « chrome/browser/ui/cocoa/toolbar/reload_button_unittest.mm ('k') | chrome/browser/ui/cocoa/toolbar/toolbar_button.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698