| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE
_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE
_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE
_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE
_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 BOOL spellcheckChecked_; | 32 BOOL spellcheckChecked_; |
| 33 | 33 |
| 34 // Responsible for 2-finger swipes history navigation. | 34 // Responsible for 2-finger swipes history navigation. |
| 35 base::scoped_nsobject<HistorySwiper> historySwiper_; | 35 base::scoped_nsobject<HistorySwiper> historySwiper_; |
| 36 } | 36 } |
| 37 | 37 |
| 38 - (id)initWithRenderWidgetHost:(content::RenderWidgetHost*)renderWidgetHost; | 38 - (id)initWithRenderWidgetHost:(content::RenderWidgetHost*)renderWidgetHost; |
| 39 | 39 |
| 40 - (void)viewGone:(NSView*)view; | 40 - (void)viewGone:(NSView*)view; |
| 41 - (BOOL)handleEvent:(NSEvent*)event; | 41 - (BOOL)handleEvent:(NSEvent*)event; |
| 42 - (void)gotUnhandledWheelEvent; | |
| 43 - (void)scrollOffsetPinnedToLeft:(BOOL)left toRight:(BOOL)right; | 42 - (void)scrollOffsetPinnedToLeft:(BOOL)left toRight:(BOOL)right; |
| 44 - (void)setHasHorizontalScrollbar:(BOOL)hasHorizontalScrollbar; | 43 - (void)setHasHorizontalScrollbar:(BOOL)hasHorizontalScrollbar; |
| 45 - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item | 44 - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item |
| 46 isValidItem:(BOOL*)valid; | 45 isValidItem:(BOOL*)valid; |
| 47 | |
| 48 @end | 46 @end |
| 49 | 47 |
| 50 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_WIDGET_HOST_VIEW_MAC_DELEG
ATE_H_ | 48 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_WIDGET_HOST_VIEW_MAC_DELEG
ATE_H_ |
| OLD | NEW |