summaryrefslogtreecommitdiffstats
path: root/WebKit/mac/WebView/WebHTMLViewInternal.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
commit1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch)
tree4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebKit/mac/WebView/WebHTMLViewInternal.h
parent9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff)
downloadexternal_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip
external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz
external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebKit/mac/WebView/WebHTMLViewInternal.h')
-rw-r--r--WebKit/mac/WebView/WebHTMLViewInternal.h84
1 files changed, 8 insertions, 76 deletions
diff --git a/WebKit/mac/WebView/WebHTMLViewInternal.h b/WebKit/mac/WebView/WebHTMLViewInternal.h
index e54ab2d..0fb0cdc 100644
--- a/WebKit/mac/WebView/WebHTMLViewInternal.h
+++ b/WebKit/mac/WebView/WebHTMLViewInternal.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2005 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -28,95 +28,26 @@
// Things internal to the WebKit framework; not SPI.
-#import <WebKit/WebHTMLViewPrivate.h>
+#import "WebHTMLViewPrivate.h"
-@class WebTextCompleteController;
-@class DOMDocumentFragment;
-@class DOMElement;
+@class WebFrame;
namespace WebCore {
- class KeyboardEvent;
class CachedImage;
+ class KeyboardEvent;
}
-struct WebHTMLViewInterpretKeyEventsParameters;
-
-@interface WebHTMLViewPrivate : NSObject
-{
-@public
- BOOL closed;
- BOOL needsLayout;
- BOOL needsToApplyStyles;
- BOOL ignoringMouseDraggedEvents;
- BOOL printing;
- BOOL avoidingPrintOrphan;
-
- id savedSubviews;
- BOOL subviewsSetAside;
-
- NSEvent *mouseDownEvent; // Kept after handling the event.
- BOOL handlingMouseDownEvent;
- NSEvent *keyDownEvent; // Kept after handling the event.
-
- NSSize lastLayoutSize;
-
- NSPoint lastScrollPosition;
-
- WebPluginController *pluginController;
-
- NSString *toolTip;
- NSToolTipTag lastToolTipTag;
- id trackingRectOwner;
- void *trackingRectUserData;
-
- NSTimer *autoscrollTimer;
- NSEvent *autoscrollTriggerEvent;
-
- NSArray* pageRects;
-
- NSMutableDictionary* highlighters;
-
- BOOL resigningFirstResponder;
- BOOL nextResponderDisabledOnce;
-
- WebTextCompleteController *compController;
-
- BOOL transparentBackground;
-
- WebHTMLViewInterpretKeyEventsParameters *interpretKeyEventsParameters;
- BOOL receivedNOOP;
-
- WebDataSource *dataSource;
- WebCore::CachedImage *promisedDragTIFFDataSource;
-
- CFRunLoopTimerRef updateFocusedAndActiveStateTimer;
- CFRunLoopTimerRef updateMouseoverTimer;
-
- SEL selectorForDoCommandBySelector;
-
-#ifndef NDEBUG
- BOOL enumeratingSubviews;
-#endif
-}
-- (void)clear;
-@end
-
@interface WebHTMLView (WebInternal)
- (void)_selectionChanged;
- (void)_updateFontPanel;
- (BOOL)_canSmartCopyOrDelete;
-#ifndef __LP64__
-- (void)_pauseNullEventsForAllNetscapePlugins;
-- (void)_resumeNullEventsForAllNetscapePlugins;
-#endif
-- (id<WebHTMLHighlighter>)_highlighterForType:(NSString*)type;
+
+- (id <WebHTMLHighlighter>)_highlighterForType:(NSString*)type;
- (WebFrame *)_frame;
-- (void)paste:(id)sender;
-- (void)closeIfNotCurrentView;
- (void)_lookUpInDictionaryFromMenu:(id)sender;
- (void)_hoverFeedbackSuspendedChanged;
- (BOOL)_interceptEditingKeyEvent:(WebCore::KeyboardEvent *)event shouldSaveCommand:(BOOL)shouldSave;
-- (DOMDocumentFragment*)_documentFragmentFromPasteboard:(NSPasteboard *)pasteboard;
+- (DOMDocumentFragment *)_documentFragmentFromPasteboard:(NSPasteboard *)pasteboard;
- (NSEvent *)_mouseDownEvent;
#ifndef BUILDING_ON_TIGER
- (BOOL)isGrammarCheckingEnabled;
@@ -126,4 +57,5 @@ struct WebHTMLViewInterpretKeyEventsParameters;
- (WebCore::CachedImage*)promisedDragTIFFDataSource;
- (void)setPromisedDragTIFFDataSource:(WebCore::CachedImage*)source;
- (void)_web_layoutIfNeededRecursive;
+- (void)_destroyAllWebPlugins;
@end