| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #import <Cocoa/Cocoa.h> | |
| 6 | |
| 7 class TestShell; | |
| 8 | |
| 9 // A view to wrap the WebCore view and help it live in a Cocoa world. The | |
| 10 // (rough) equivalent of Apple's WebView. | |
| 11 | |
| 12 @interface TestShellWebView : NSView { | |
| 13 @private | |
| 14 TestShell *shell_; // weak | |
| 15 NSTrackingArea *trackingArea_; | |
| 16 } | |
| 17 | |
| 18 - (IBAction)goBack:(id)sender; | |
| 19 - (IBAction)goForward:(id)sender; | |
| 20 - (IBAction)reload:(id)sender; | |
| 21 - (IBAction)stopLoading:(id)sender; | |
| 22 - (IBAction)takeURLStringValueFrom:(NSTextField *)sender; | |
| 23 | |
| 24 - (void)mouseDown:(NSEvent *)theEvent; | |
| 25 - (void)rightMouseDown:(NSEvent *)theEvent; | |
| 26 - (void)otherMouseDown:(NSEvent *)theEvent; | |
| 27 - (void)mouseUp:(NSEvent *)theEvent; | |
| 28 - (void)rightMouseUp:(NSEvent *)theEvent; | |
| 29 - (void)otherMouseUp:(NSEvent *)theEvent; | |
| 30 - (void)mouseMoved:(NSEvent *)theEvent; | |
| 31 - (void)mouseDragged:(NSEvent *)theEvent; | |
| 32 - (void)scrollWheel:(NSEvent *)theEvent; | |
| 33 - (void)rightMouseDragged:(NSEvent *)theEvent; | |
| 34 - (void)otherMouseDragged:(NSEvent *)theEvent; | |
| 35 - (void)mouseEntered:(NSEvent *)theEvent; | |
| 36 - (void)mouseExited:(NSEvent *)theEvent; | |
| 37 - (void)keyDown:(NSEvent *)theEvent; | |
| 38 - (void)keyUp:(NSEvent *)theEvent; | |
| 39 - (BOOL)isOpaque; | |
| 40 - (void)setFrame:(NSRect)frameRect; | |
| 41 - (void)setIsActive:(BOOL)active; | |
| 42 | |
| 43 @property (nonatomic, assign) TestShell *shell; | |
| 44 | |
| 45 @end | |
| OLD | NEW |