| 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_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_WIDGET_HOST_VIEW_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_WIDGET_HOST_VIEW_DELEGATE_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_WIDGET_HOST_VIEW_DELEGATE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 | 10 |
| 11 #import "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #import "content/browser/renderer_host/render_widget_host_view_mac_delegate.h" | 12 #import "content/public/browser/render_widget_host_view_mac_delegate.h" |
| 13 | 13 |
| 14 class RenderWidgetHost; | 14 class RenderWidgetHost; |
| 15 | 15 |
| 16 namespace ChromeRenderWidgetHostViewMacDelegateInternal { | 16 namespace ChromeRenderWidgetHostViewMacDelegateInternal { |
| 17 class SpellCheckRenderViewObserver; | 17 class SpellCheckRenderViewObserver; |
| 18 } | 18 } |
| 19 | 19 |
| 20 @interface ChromeRenderWidgetHostViewMacDelegate | 20 @interface ChromeRenderWidgetHostViewMacDelegate |
| 21 : NSObject<RenderWidgetHostViewMacDelegate> { | 21 : NSObject<RenderWidgetHostViewMacDelegate> { |
| 22 @private | 22 @private |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 - (BOOL)handleEvent:(NSEvent*)event; | 54 - (BOOL)handleEvent:(NSEvent*)event; |
| 55 - (void)gotUnhandledWheelEvent; | 55 - (void)gotUnhandledWheelEvent; |
| 56 - (void)scrollOffsetPinnedToLeft:(BOOL)left toRight:(BOOL)right; | 56 - (void)scrollOffsetPinnedToLeft:(BOOL)left toRight:(BOOL)right; |
| 57 - (void)setHasHorizontalScrollbar:(BOOL)hasHorizontalScrollbar; | 57 - (void)setHasHorizontalScrollbar:(BOOL)hasHorizontalScrollbar; |
| 58 - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item | 58 - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item |
| 59 isValidItem:(BOOL*)valid; | 59 isValidItem:(BOOL*)valid; |
| 60 | 60 |
| 61 @end | 61 @end |
| 62 | 62 |
| 63 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_WIDGET_HOST_VIEW_DELEGATE_
H_ | 63 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_WIDGET_HOST_VIEW_DELEGATE_
H_ |
| OLD | NEW |