Skip to content

Instantly share code, notes, and snippets.

@hetima
Created August 1, 2011 13:42
Show Gist options
  • Save hetima/1118136 to your computer and use it in GitHub Desktop.
Save hetima/1118136 to your computer and use it in GitHub Desktop.
difference between Safari5.1 Snow Leopard and Lion
//Lion にあって Snow Leopard にないメソッドや変数
@interface BrowserWindowControllerMac : WindowController{
BOOL _isObservingFrameChangeNotifications;
int _fullScreenState;
struct CGRect _windowFrameBeforeFullScreen;
struct CGPoint _browserViewScreenOriginBeforeFullScreen;
NSMutableSet *_fullScreenAutoShowingBars;
NSMutableSet *_fullScreenAlwaysVisibleBars;
double _fullScreenAuxiliaryViewMinHeight;
double _fullScreenAuxiliaryViewMaxHeight;
BOOL _forceFullScreenAuxiliaryViewMinHeightAsMax;
NSView *_fullScreenAnimatingBar;
BOOL _didLockMenuBarInFullScreen;
struct CGPoint _lastMouseClickPosition;
}
- (void)setFrameProgrammatically:(struct CGRect)arg1;
- (BOOL)frameAutosaveIsAllowed;
- (void)displayDownloadsListPopover:(id)arg1;
- (void)setLastMouseClickPosition:(struct CGPoint)arg1;
- (void)encodeRestorableStateWithCoder:(id)arg1;
- (void)restoreStateWithCoder:(id)arg1;
- (void)_willEnterFullScreen:(id)arg1;
- (void)windowDidFailToEnterFullScreen:(id)arg1;
- (void)_didEnterFullScreen:(id)arg1;
- (void)_willExitFullScreen:(id)arg1;
- (void)_didExitFullScreen:(id)arg1;
- (void)_positionAndResizeFullWidthBar:(id)arg1 atOriginY:(double)arg2;
- (BOOL)_hasAttachedSheet;
- (void)_windowWillResizeToEnterFullScreen;
- (void)_windowDidResizeToEnterFullScreen;
- (void)_windowDidResizeToExitFullScreen;
- (void)_prepareTopLevelViewsToToggleFullScreen;
- (BOOL)_collapsibleBarsAreInFullScreenToolbarWindow;
- (BOOL)_isWindowFullScreenToolbarWindow:(id)arg1;
- (BOOL)isInFullScreenMode;
- (BOOL)isEnteringOrInFullScreenMode;
- (BOOL)isTogglingFullScreenMode;
- (void)revealContentUnderFullScreenToolbar;
- (struct CGSize)window:(id)arg1 willUseFullScreenContentSize:(struct CGSize)arg2;
- (void)resizeAuxiliaryToolbarViewWithOldSize:(struct CGSize)arg1;
- (BOOL)isToolbarInFullScreenToolbarWindow;
- (void)_prepareBarsToEnterFullScreen;
- (void)_prepareBarsToExitFullScreen;
- (void)_updateFullScreenAuxiliaryToolbarViewSizes;
- (void)_unlockMenuBarIfNeeded;
- (void)_internalResizeAuxiliaryToolbarViewWithOldSize:(struct CGSize)arg1;
- (void)_toggleFullScreenBar:(id)arg1 withAnimation:(BOOL)arg2 isShowing:(BOOL)arg3;
- (void)_startDownloadBeganAnimation:(id)arg1;
- (struct CGPoint)_downloadHopStartPoint;
- (struct CGPoint)_downloadHopEndPoint;
@end
//Lion にあって Snow Leopard にないメソッドや変数
@interface TabContentView : NSView
{
GestureSnapshotSwipeView *_gestureSnapshotSwipeView;
GestureSnapshotZoomView *_gestureSnapshotZoomView;
}
- (void)drawRect:(struct CGRect)arg1;
- (void)setWantsLayer:(BOOL)arg1;
- (void)beginGestureWithEvent:(id)arg1;
- (void)zoomGestureAnimationDidFinish;
- (void)endGestureWithEvent:(id)arg1;
- (void)beginSwipeGestureWithEvent:(id)arg1;
- (void)showSwipeView;
- (void)hideSwipeView;
@property(readonly) GestureSnapshotZoomView *gestureSnapshotZoomView; // @synthesize gestureSnapshotZoomView=_gestureSnapshotZoomView;
@property(readonly) GestureSnapshotSwipeView *gestureSnapshotSwipeView; // @synthesize gestureSnapshotSwipeView=_gestureSnapshotSwipeView;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment