Lines Matching refs:WebView
20 * WebView.cpp:
21 (WebView::registerURLSchemeAsLocal):
55 (WebFrame::startDownload): Call through to WebView::downloadURL.
59 Move WebContextMenuClient's downloading code to WebView
68 * WebView.cpp:
69 (WebView::downloadURL): ...to here. Also tightened up the code a
72 * WebView.h: Added downloadURL.
188 * WebView.cpp:
269 * WebView.cpp:
270 (WebView::initWithFrame):
274 Add a call to notify the UI delegate when the WebView gets invalidated
279 * WebView.cpp:
280 (WebView::addToDirtyRegion): Call webViewDidInvalidate.
294 * WebView.cpp:
295 (WebView::stringByEvaluatingJavaScriptFromString):
391 * WebView.cpp:
663 * WebView.cpp:
674 * WebView.cpp:
806 - add close() to the WebView API.
809 * WebView.cpp:
810 (WebView::close):
811 * WebView.h:
818 Conditionalize CFNetwork-specific code in WebView to permit
821 * WebView.cpp:
822 (WebView::setCacheModel): Add CFNETWORK check around CFNetwork
845 * WebView.cpp:
846 (WebView::close):
911 * WebView.cpp:
912 (WebView::mouseWheel):
914 * WebView.h:
961 * WebView.cpp:
962 (WebView::centerSelectionInVisibleArea):
971 * WebView.cpp:
972 (WebView::setCacheModel):
989 * WebView.cpp:
990 (WebView::notifyPreferencesChanged):
1005 * WebView.cpp:
1006 (WebView::notifyPreferencesChanged):
1039 * WebView.cpp:
1040 (WebView::setJavaScriptURLsAreAllowed):
1041 * WebView.h:
1136 Fix recursive WebView destruction when running DumpRenderTree
1138 DumpRenderTree would call DestroyWindow on a WebView's host window,
1139 which would send a WM_DESTROY message to the WebView's window. Inside
1140 the WebView's WndProc, we would hold a ref to the WebView, then call
1142 references to the WebView other than the ref we held in the WndProc.
1143 When the WndProc exited, the final ref to the WebView would be
1144 released, invoking WebView's destructor. At this point,
1147 WebView's window again, re-entering the WndProc and re-reffing the
1148 WebView, leading to recursive destruction.
1152 * WebView.cpp:
1153 (WebView::~WebView): Don't call DestroyWindow if our window is already
1155 (WebViewWndProc): Only hold an extra ref to the WebView when we're not
1177 * WebView.cpp:
1178 (WebView::prepareCandidateWindow):
1179 (WebView::onIMERequestCharPosition):
1180 (WebView::onIMERequestReconvertString):
1405 * WebView.cpp:
1406 (WebView::notifyPreferencesChanged):
1421 * WebView.cpp:
1422 (WebView::notifyPreferencesChanged):
1486 Fix Bug 23623: Windowed Flash instances aren't captured when a WebView
1502 * WebView.cpp:
1503 (WebView::updateBackingStore): Added a windowsToPaint parameter, which
1506 (WebView::paint): Tell updateBackingStore to paint child windows if
1509 (WebView::paintIntoBackingStore): Added a windowsToPaint paramter,
1513 * WebView.h: Added windowsToPaint parameters to paintIntoBackingStore
1530 * WebView.cpp:
1531 (WebView::setCustomTextEncodingName):
1575 * WebView.cpp:
1576 (WebView::userAgentForURL):
1577 (WebView::copyURL):
1585 * WebView.cpp: Added FloatQuad.h.
1635 * WebView.cpp:
1636 (WebView::stringByEvaluatingJavaScriptFromString):
1797 * WebView.cpp:
1798 (WebView::keyPress): Removed code to handle space bar here; put it in
1885 * WebView.cpp:
1886 (WebView::setMemoryCacheDelegateCallsEnabled): Ditto.
1887 * WebView.h: Ditto.
1916 * WebView.cpp:
1917 …(WebViewWndProc): Hold a ref to the WebView inside the WNDPROC, since it could go away in an event…
1921 Fix a crash with querying a WebView for its global history item when
1926 * WebView.cpp:
1927 (WebView::globalHistoryItem): If the Page has no global history item,
1989 Have this call WebView::shouldUseEmbeddedView.
1991 * WebView.cpp:
1992 (WebView::canShowMIMEType):
1993 Have this call WebView::shouldUseEmbeddedView.
1995 (WebView::registerEmbeddedViewMIMEType):
1998 (WebView::shouldUseEmbeddedView):
2359 * WebView.cpp:
2360 (WebView::setCacheModel):
2438 - WebKit/win part of tracking the global history item for a WebView
2441 * WebView.cpp:
2442 (WebView::globalHistoryItem): Added. Gets the page's global history
2444 * WebView.h:
2455 * WebView.cpp:
2456 (WebView::handleContextMenuEvent):
2465 * WebView.cpp:
2468 (WebView::setCacheModel): Call CFURLCacheCopySharedURLCache via dynamic loading
2573 * WebView.cpp:
2574 (WebView::WebView):
2575 (WebView::setSelectTrailingWhitespaceEnabled):
2576 (WebView::selectTrailingWhitespaceEnabled):
2577 * WebView.h:
2619 * WebView.cpp:
2620 (WebView::selectionRect):
2638 * WebView.cpp:
2639 (WebView::stringByEvaluatingJavaScriptFromString):
2647 * WebView.cpp: (WebView::paintIntoBackingStore):
2653 * WebView.cpp: (WebView::paintIntoBackingStore):
2661 * WebView.cpp: (WebView::paintIntoBackingStore):
2766 WebKit/win part of adding a master volume control for media elements in a WebView
2769 * WebView.cpp:
2770 (WebView::setMediaVolume): Added.
2771 (WebView::mediaVolume): Added.
2772 * WebView.h:
2783 * WebView.cpp:
2784 (WebView::initWithFrame): Call WebCore's
2805 * WebView.cpp:
2806 (WebView::notifyPreferencesChanged): Transfer the databases and local
2815 * WebView.h:
2818 * WebView.cpp:
2819 (WebView::WebView):
2821 (WebView::setZoomMultiplier):
2823 (WebView::zoomMultiplier):
2839 * WebView.cpp:
2840 (WebView::canMakeTextLarger): Consider the zoomsTextOnly setting when computing this.
2841 (WebView::makeTextLarger): ditto.
2842 (WebView::canMakeTextSmaller): ditto.
2843 (WebView::makeTextSmaller): ditto.
2844 (WebView::canMakeTextStandardSize):
2846 (WebView::makeTextStandardSize):
2847 …(WebView::notifyPreferencesChanged): Set the WebCore settings to match the WebPreference for WebKi…
2870 * WebView.cpp: (WebView::interpretKeyEvent): Access event names via eventNames() function.
2897 - WebKit/win part of <rdar://problem/6334641> Add WebView SPI for disabling document.cookie
2900 * WebView.cpp:
2901 (WebView::setCookieEnabled):
2902 (WebView::cookieEnabled):
2903 * WebView.h:
2919 * WebView.cpp:
2920 (WebView::setCacheModel): Roll out the part of my last change
2930 * WebView.cpp:
2931 (WebView::setCacheModel): Use CFURLCopySharedURLCache if present.
3068 * WebView.cpp:
3069 (WebView::stringByEvaluatingJavaScriptFromString):
3079 * WebView.cpp:
3080 (WebView::notifyPreferencesChanged): Don't try to call
3124 * WebView.cpp:
3125 (WebView::stringByEvaluatingJavaScriptFromString): Use JSValuePtr.
3141 * WebView.cpp:
3142 (WebView::setCacheModel): In the primary web browser model,
3153 * WebView.cpp:
3154 (WebView::standardUserAgentWithApplicationName):
3155 * WebView.h:
3207 * WebView.cpp:
3208 (WebView::setAlwaysUsesComplexTextCodePath):
3209 (WebView::alwaysUsesComplexTextCodePath):
3210 * WebView.h:
3227 * WebView.cpp:
3228 (WebView::close):
3229 (WebView::setPreferences):
3325 * WebView.cpp:
3326 (WebView::repaint):
3327 * WebView.h:
3394 * WebView.cpp:
3395 (WebView::repaint):
3396 * WebView.h:
3489 Add SPI to WebView to allow DRT to clear the main frame's name between tests.
3492 * WebView.cpp:
3493 (WebView::clearMainFrameName):
3494 * WebView.h:
3581 * WebView.cpp:
3582 (WebView::WebView):
3583 (WebView::stringByEvaluatingJavaScriptFromString):
3599 * WebView.cpp:
3600 (WebView::notifyPreferencesChanged):
3616 Add WebView SPI to defer loading callbacks.
3619 * WebView.cpp:
3620 (WebView::setDefersCallbacks):
3621 (WebView::defersCallbacks):
3622 * WebView.h:
3731 Add SPI to make a Windows WebView transparent.
3740 (WebFrame::updateBackground): Propagate WebView transparency to ourself
3743 * WebView.cpp:
3744 (WebView::WebView):
3745 (WebView::paintIntoBackingStore): Pass m_transparent when creating a
3747 (WebView::setTransparent):
3748 (WebView::transparent):
3749 * WebView.h:
3753 Add SPI to get a handle to the WebView's backing store bitmap.
3758 * WebView.cpp:
3759 (WebView::backingStore):
3760 * WebView.h:
3794 …In the WebView, if the MouseEvent is located in the resize corner, we send it back to the UIDelega…
3797 * WebView.cpp:
3798 …(WebView::handleMouseEvent): If the mouse event is in the resize corner and our UIDelegate support…
3815 * WebView.cpp:
3816 (WebView::stringByEvaluatingJavaScriptFromString):
3831 * WebView.cpp:
3832 (WebView::setCacheModel):
3838 Add WebView SPI to set HTMLTokenizer yielding parameters.
3841 * WebView.cpp:
3842 (WebView::setCustomHTMLTokenizerTimeDelay):
3843 (WebView::setCustomHTMLTokenizerChunkSize):
3844 * WebView.h:
3857 content into a device context. Changed WebView::paintDocumentRectToContext()
3869 * WebView.cpp:
3870 (WebView::paintDocumentRectToContext):
3898 * WebView.cpp:
3899 (WebView::deleteBackingStore):
3900 (WebView::deleteBackingStoreSoon):
3901 (WebView::cancelDeleteBackingStoreSoon):
3916 Don't invalidate a WebView in the process of being closed when prefs change.
3920 * WebView.cpp:
3921 (WebView::notifyPreferencesChanged):
4048 * WebView.cpp:
4049 (WebView::stringByEvaluatingJavaScriptFromString):
4198 * WebView.cpp: (WebView::notifyPreferencesChanged):
4300 * WebView.cpp:
4301 (WebView::stringByEvaluatingJavaScriptFromString):
4370 * WebView.cpp:
4371 (WebView::handleContextMenuEvent):
4373 (WebView::updateFocusedAndActiveState):
4374 (WebView::hasSelectedRange):
4375 (WebView::replaceSelectionWithText):
4376 (WebView::clearSelection):
4377 (WebView::prepareCandidateWindow):
4378 (WebView::onIMERequestCharPosition):
4379 (WebView::onIMERequestReconvertString):
4392 * WebView.cpp:
4468 * WebView.cpp:
4469 (WebView::initWithFrame): Changed to call new init function and use the return value.
4609 … * WebView.cpp: (WebView::updateActiveStateSoon): Added comment about why we use a timer for this.
4669 * WebView.cpp:
4673 (WebView::initWithFrame):
4702 * WebView.cpp:
4739 * WebView.cpp:
4740 (WebView::initWithFrame): Set the path in the WebCore::Settings after new Page creation
4751 * WebView.cpp:
4752 (WebView::initWithFrame): Mark an important FIXME for setting the LocalStorage path as
4906 * WebView.cpp:
4907 (WebView::notifyPreferencesChanged):
4931 * WebView.cpp:
4932 (WebView::notifyPreferencesChanged):
4998 * WebView.cpp: (WebView::WebView): Initialize threading. Previously, this was only done from
5024 * WebView.cpp:
5025 (WebView::handleContextMenuEvent):
5033 * WebView.cpp:
5034 (WebView::initWithFrame):
5054 * WebView.cpp:
5055 (WebView::initWithFrame): Post the notification right after the Page is created
5188 * WebView.cpp:
5189 (WebView::WebView):
5236 * WebView.cpp:
5237 (WebView::paintIntoBackingStore): renderer() -> contentRenderer()
5238 (WebView::elementAtPoint): Same.
5278 accessible object for the WebView, because we only handle OBJID_CLIENT.
5279 * WebView.cpp:
5280 (WebView::AccessibleObjectFromWindow): Added; calls through to the
5282 * WebView.h: Added declaration for AccessibleObjectFromWindow.
5313 * WebView.cpp:
5315 (WebView::onGetObject): Added; enables the AXObjectCache in WebCore,
5321 * WebView.h: Added declaration for onGetObject().
5330 * WebView.cpp:
5331 (WebView::close):
5400 * WebView.cpp:
5401 (WebView::paintDocumentRectToContext):
5411 * WebView.cpp:
5468 Delete backing store (after a delay) when a WebView's top-level parent becomes inactive.
5472 * WebView.cpp:
5473 (WebView::windowReceivedMessage):
5546 * WebView.cpp:
5547 (WebView::WebView):
5548 (WebView::deleteBackingStore):
5549 (WebView::paint): Added active check.
5550 (WebView::deleteBackingStoreSoon):
5551 (WebView::cancelDeleteBackingStoreSoon): Added.
5552 (WebView::active): Added.
5553 (WebView::updateActiveState): Moved active check code from here to active().
5554 * WebView.h:
5565 * WebView.cpp:
5566 (WebView::~WebView):
5576 * WebView.cpp:
5577 (WebView::paint): Call deleteBackingStoreSoon after paint.
5579 (WebView::deleteBackingStoreSoon): Added.
5580 * WebView.h: Add deleteBackingStoreSoon.
5618 * WebView.cpp:
5619 (WebView::close): Add null check (found via code inspection).
5620 (WebView::initWithFrame): Store the group name directly in Page.
5621 (WebView::setGroupName): Store the group name directly in Page.
5622 (WebView::groupName): Retrieve the group name directly from Page.
5623 * WebView.h: Removed m_groupName
5708 * WebView.cpp:
5709 (WebView::addAdditionalPluginDirectory):
5710 * WebView.h:
5771 * WebView.cpp:
5772 (WebView::makeTextLarger): Changed call to canZoomIn() to zoomIn().
5773 (WebView::zoomPageIn): Ditto.
5782 * WebView.cpp:
5783 (WebView::WebView):
5784 (WebView::setTextSizeMultiplier):
5785 (WebView::setPageSizeMultiplier):
5786 (WebView::setZoomMultiplier):
5787 (WebView::textSizeMultiplier):
5788 (WebView::pageSizeMultiplier):
5789 (WebView::zoomMultiplier):
5790 (WebView::canMakeTextLarger):
5791 (WebView::canZoomPageIn):
5792 (WebView::canZoomIn):
5793 (WebView::makeTextLarger):
5794 (WebView::zoomPageIn):
5795 (WebView::zoomIn):
5796 (WebView::canMakeTextSmaller):
5797 (WebView::canZoomPageOut):
5798 (WebView::canZoomOut):
5799 (WebView::makeTextSmaller):
5800 (WebView::zoomPageOut):
5801 (WebView::zoomOut):
5802 (WebView::canMakeTextStandardSize):
5803 (WebView::canResetPageZoom):
5804 (WebView::canResetZoom):
5805 (WebView::makeTextStandardSize):
5806 (WebView::resetPageZoom):
5807 (WebView::resetZoom):
5808 * WebView.h:
5827 1) Selecting a node in the Inspector while the inspected WebView was
5831 WebView's tab.
5839 WebView is visible.
5847 that the highlight will show when the WebView is shown.
5855 supposed to show ourselves when the WebView is visible, we hide
5857 WebView's.
5861 an assertion that we're supposed to show ourselves when the WebView is
5864 ourselves when the WebView is visible, then we don't need to do
5865 anything at all when the WebView's visibility changes.
5901 Added a method to paint WebView content specified by
5907 * WebView.cpp:
5908 (WebView::paintDocumentRectToContext):
5909 * WebView.h:
5926 * WebView.cpp: Conditionalize CFNetwork-specific network protocol test.
5927 (WebView::canHandleRequest):
5931 Focus the Inspector's WebView whenever the Inspector window is focused
5936 (WebInspectorClient::onSetFocus): Send focus to the WebView.
5961 just in front of the WebView. This is now handled by
6171 changes to the WebView's size and resizes the highlight window to
6174 to the WebView's root window's position and moves the highlight window
6188 to the inspected WebView so that it can hide/show itself as the
6189 WebView is hidden/shown.
6195 for our inspected WebView's window's messages.
6197 inspected WebView's window's messages.
6199 the WebView hides, show ourselves when the WebView is shown.
6201 statement to handle the inspected WebView's window's messages.
6260 * WebView.cpp:
6261 (WebView::initWithFrame): Removed call to
6463 WebView.{cpp,h} so that other files can call it.
6484 (webView): Gets a WebView from an ExecState.
6492 * WebView.cpp:
6494 (WebView::initWithFrame): Tell the WebScriptDebugServer about the new
6496 * WebView.h:
6500 Change WebView's string-finding methods to call through to Page
6503 implementation was copied from WebView!) but we never switched over to
6508 * WebView.cpp:
6509 (WebView::searchFor): Call through to Page::findString.
6510 (WebView::markAllMatchesForText): Call through to Page.
6511 (WebView::unmarkAllTextMatches): Ditto.
7072 * WebView.cpp:
7073 (WebView::notifyPreferencesChanged): Added a call to Settings::setNeedsSiteSpecificQuirks.
7074 (WebView::setAllowSiteSpecificHacks): Added a comment about the problem Darin noticed, where
7150 * WebView.cpp:
7151 (WebView::userAgentForURL): Ditto.
7152 (WebView::copyURL): Ditto.
7153 (WebView::notifyPreferencesChanged): Ditto.
7338 * WebView.cpp:
7339 * WebView.h:
7393 * WebView.cpp:
7395 (WebView::canShowMIMEType):
7396 (WebView::addAdditionalPluginPath):
7405 * WebView.cpp: (WebViewWndProc): KeyUp messages need to be translated, too.
7428 when we tab out of the WebView, and that's already taken care of by
7430 WebView was written before FocusController::advanceFocus, so it was
7433 We now never call setFocusedFrame(0) when the WebView receives a
7440 * WebView.cpp:
7457 (WebNodeHighlight::WebNodeHighlight): Now takes a WebView* parameter.
7459 WebView's HWND. Updated for member rename/removal.
7528 * WebView.cpp:
7529 (WebView::keyDown): Allow alt-return to be marked as handled by WebKit.
7542 * WebView.cpp: Added a comma.
7550 … * WebView.cpp: Fixed keyDownEntries to list this shortcut (and related ones, for consistency).
7572 IWebView::initWithFrame so that the WebView will be initially
7585 * WebView.cpp:
7586 (WebView::handleContextMenuEvent): Translate the mouse coordinates
7658 * WebView.cpp:
7659 (WebView::notifyPreferencesChanged): Removed the code to set the
7681 * WebView.cpp:
7684 (WebView::updateActiveState): This is now just a method of WebView,
7686 (WebView::updateFocusedAndActiveState): Performs the tasks that the
7688 * WebView.h:
7712 WebView now listens to messages sent to its top-level parent window.
7713 When the top-level parent receives a WM_NCACTIVATE message, WebView
7721 WebView.
7722 * WebView.cpp:
7723 (WebView::WebView): Initialize new member.
7733 (WebView::initWithFrame): Call windowAncestryDidChange after setting
7735 (WebView::windowReceivedMessage): Added. Update our active state when
7737 (WebView::updateActiveStateSoon): Added.
7738 (WebView::setHostWindow): Call windowAncestryDidChange after changing
7740 (WebView::updateActiveState): We are active if our top-level parent is
7742 (WebView::windowAncestryDidChange): Added. Recalculates our top-level
7745 * WebView.h: Made WebView and WindowMessageListener so that it can
7767 * WebView.cpp:
7769 (WebView::updateActiveState): Only change the active state here. Focus
7778 * WebView.cpp:
7785 Allow nested timers from javascript prompts to allow for WebView-based edit fields.
7830 …Fix Bug 16828: WebView never paints if first page load is canceled after being committed but befor…
7843 * WebView.cpp:
7960 WebFrame::initWithWebFrameView and WebView::initWithFrame. WebCore
7963 * WebView.cpp:
7964 (WebView::initWithFrame): Moved FrameView initialization code to
7969 …Fix crash that could happen if the key we are passing to the HashMap is 0 in WebView::interpretKey…
7973 * WebView.cpp:
7974 (WebView::interpretKeyEvent):
8008 * WebView.cpp:
8009 (WebView::setShouldApplyMacFontAscentHack):
8050 * WebView.cpp: Correct the commands associated with
8060 * WebView.cpp:
8061 (WebView::executeCoreCommandByName):
8062 * WebView.h:
8072 * WebView.cpp:
8083 * WebView.cpp:
8091 * WebView.cpp:
8092 (WebView::keyDown):
8144 * WebView.cpp:
8187 * WebView.cpp:
8188 (WebView::notifyPreferencesChanged):
8211 * WebView.cpp:
8215 (WebView::initWithFrame): Removed unneeded setUsesPageCache(false) code.
8226 * WebView.cpp: (WebView::keyPress): Handle system key presses as access keys.
8237 * WebView.cpp:
8238 (WebView::keyDown):
8239 (WebView::keyPress):
8272 * WebView.cpp:
8273 (WebView::execCommand): Switched from Editor::execCommand to Editor:command.
8276 (WebView::copy): Switched from Editor::execCommand to Editor:command.
8277 (WebView::cut): Ditto.
8278 (WebView::paste): Ditto.
8279 (WebView::delete_): Ditto.
8299 * WebView.cpp:
8318 * WebView.cpp:
8319 (WebView::keyDown):
8320 (WebView::keyPress):
8359 * WebView.cpp:
8360 (WebView::handleEditingKeyboardEvent):
8372 * WebView.cpp:
8373 (WebView::close):
8374 (WebView::handleMouseEvent):
8376 * WebView.h:
8384 * WebView.cpp:
8385 (WebView::handleEditingKeyboardEvent): Check if the result of
8404 * WebView.cpp:
8405 (WebView::notifyDidAddIcon):
8415 * WebView.cpp:
8416 (WebView::registerURLSchemeAsLocal):
8417 * WebView.h:
8434 * WebView.cpp:
8435 (WebView::interpretKeyEvent):
8439 * WebView.cpp:
8440 (WebView::handleEditingKeyboardEvent): Update for change to Editor API.
8456 * WebView.cpp:
8457 … (WebView::keyUp): Do not special case Alt+F4 and Alt+Space - we don't get keyups for those anyway!
8458 (WebView::interpretKeyEvent): Renamed WindowsKeyCode() to windowsVirtualKeyCode().
8459 (WebView::handleEditingKeyboardEvent): Use the additional information about event type that
8461 (WebView::keyDown): (WebView::keyPress): Split WM_KEYDOWN and WM_CHAR handling in separate
8467 … * WebView.h: Removed inIMEKeyDown() - it doesn't look like we need it at all. At least, I didn't
8619 * WebView.cpp:
8620 (WebView::shouldClose):
8621 * WebView.h:
8649 * WebView.cpp:
8650 (WebView::setShouldApplyMacFontAscentHack): Added. Just calls down to
8652 * WebView.h:
8683 * WebView.cpp:
8684 (WebView::setGrammarCheckingEnabled): Add null check
8688 Expose WebView::setProhibitsMainFrameScrolling through IWebViewPrivate
8696 * WebView.cpp:
8697 (WebView::setProhibitsMainFrameScrolling): Updated and robustified.
8698 * WebView.h:
8706 * WebView.cpp:
8707 (WebView::initWithFrame): Attach the main frame's view.
8724 * WebView.cpp:
8725 … (WebView::notifyPreferencesChanged): propagate default database quota change to WebCore settings.
8756 * WebView.cpp:
8757 (WebView::notifyPreferencesChanged): Communicate the new preference
8788 * WebView.cpp:
8862 * WebView.cpp:
8863 (WebView::selectionRect):
8864 * WebView.h:
8869 operations from a WebView.
8874 * WebView.cpp:
8875 (WebView::clearUndoRedoOperations):
8876 * WebView.h:
8948 * WebView.cpp:
8949 (WebView::handleContextMenuEvent): Send the context menu event to the
8998 * WebView.cpp:
9038 * WebView.cpp:
9039 (WebView::notifyDidAddIcon):
9040 (WebView::goToBackForwardItem):
9041 (WebView::canHandleRequest):
9042 (WebView::loadBackForwardListFromOtherView):
9272 * WebView.cpp:
9278 Fix Bug 16138: Reduce code duplication in WebView.cpp
9284 * WebView.cpp:
9287 (WebView::updateBackingStore): Use getUpdateRects.
9288 (WebView::paint): Ditto.
9289 (WebView::paintIntoBackingStore): Changed to take a const IntRect&.
9290 (WebView::paintIntoWindow): Ditto.
9291 * WebView.h:
9317 * WebView.cpp:
9318 (WebView::deleteSelection): Use canSmartCopyOrDelete() directly.
9356 * WebView.cpp:
9412 * WebView.cpp: Removed the EnumView functions.
9413 (WebView::WebView):
9414 (WebView::~WebView):
9600 * WebChromeClient.h: Added accessor to the WebView for the new added
9706 * WebView.cpp:
9707 (WebView::initWithFrame): Set the ftpDirectoryTemplatePath for every
9773 * WebView.cpp:
9774 (WebView::keyUp):
9775 (WebView::handleEditingKeyboardEvent):
9776 (WebView::keyDown):
9778 * WebView.h:
9815 Add IWebInspector and a way to get one from a WebView
9842 * WebView.cpp:
9843 (WebView::close): Notify the WebInspector that we're closing.
9844 (WebView::inspector): Added.
9845 * WebView.h:
9869 * WebView.cpp:
9870 (WebView::setCustomUserAgent):
9878 * WebView.cpp:
9879 (WebView::keyDown):
9880 (WebView::keyUp):
9937 …* WebView.cpp: (WebView::keyDown): Call capsLockStateMayHaveChanged so WebCore knows it may have t…
10026 * WebView.cpp:
10027 (WebView::notifyPreferencesChanged):
10078 * WebView.cpp:
10091 (WebView::WebView):
10092 (WebView::~WebView):
10095 (WebView::addToAllWebViewsSet):
10096 (WebView::removeFromAllWebViewsSet):
10097 (WebView::setCacheModel):
10098 (WebView::cacheModel):
10099 (WebView::didSetCacheModel):
10100 (WebView::maxCacheModelInAnyInstance):
10101 (WebView::close):
10103 (WebView::developerExtrasEnabled):
10104 (WebView::initWithFrame):
10105 (WebView::setPreferences):
10106 (WebView::preferences):
10107 (WebView::onNotify):
10108 (WebView::notifyPreferencesChanged):
10110 * WebView.h:
10170 * WebView.cpp:
10171 (WebView::WebView):
10172 (WebView::~WebView):
10180 happen before any WebView is instantiated.
10255 * WebView.cpp:
10256 (WebView::handleEditingKeyboardEvent): don't handle system key events as text input
10257 (WebView::keyDown): only remove WM_SYSCHAR message from the queue if we handle it.
10276 * WebView.cpp:
10277 (WebView::initWithFrame): Call WebKitSetWebDatabasesPathIfNecessary()
10345 WebView called updateGlobalSettingsFromPreferences() to handle updating the global pref
10356 * WebView.cpp:
10357 (WebView::updateWebCoreSettingsFromPreferences):
10358 (WebView::updateGlobalSettingsFromPreferences):
10359 (WebView::updateSettingsFromPreferences):
10360 (WebView::developerExtrasEnabled):
10361 (WebView::initWithFrame):
10362 (WebView::onNotify):
10363 * WebView.h:
10387 * WebView.cpp: Remove #include of non-existant file.
10500 * WebView.cpp:
10501 (WebView::updateWebCoreSettingsFromPreferences):
10502 (WebView::initWithFrame):
10546 …* WebView.cpp: Added setInitialFocus so the application can specify that its handing off focus to …
10548 * WebView.h: ditto.
10576 * WebView.cpp:
10577 (WebView::WebView):
10578 (WebView::deleteBackingStore):
10579 (WebView::ensureBackingStore):
10580 (WebView::addToDirtyRegion):
10581 (WebView::scrollBackingStore):
10582 (WebView::updateBackingStore):
10583 (WebView::paint):
10584 (WebView::paintIntoBackingStore):
10585 (WebView::paintIntoWindow):
10586 * WebView.h:
10658 app that WebView has painted.
10663 * WebView.cpp:
10664 (WebView::updateBackingStore):
10756 … Fix <rdar://5499507> FrameView will always have size (0,0) if its parent WebView is never resized
10760 * WebView.cpp:
10761 (WebView::initWithFrame): Set the main FrameView's size to the size of
10762 the WebView.
10860 (WebFrame::dispatchDidReceiveIcon): Calls through to the WebView
10872 * WebView.cpp:
10873 (WebView::close): Unregister for the notification, just in case
10874 …(WebView::notifyDidAddIcon): Called when the webview gets the didAddIcon notification, compares th…
10876 (WebView::registerForIconNotification):
10877 …(WebView::dispatchDidReceiveIconFromWebFrame): Dispatches the FrameLoadDelegate call. Once the de…
10880 …(WebView::onNotify): The WebView listens for two notifications now, so make the decision which was…
10881 * WebView.h:
10916 * WebView.cpp:
10917 (WebView::close):
10918 (WebView::removeDragCaret):
10926 * WebView.cpp:
10927 (WebView::keyDown): Attempt to scroll an overflow area before
10980 * WebView.cpp:
10981 (WebView::resetIME): Change to use confirmCompositionWithoutDisturbingSelection.
10982 (WebView::updateSelectionForIME): Update for name changes, and to use new functions
10984 (WebView::onIMEStartComposition): Removed unneeded call to unmarkText.
10987 (WebView::onIMEComposition): Changed to use confirmComposition and setComposition.
10989 (WebView::onIMEEndComposition): Removed unneeded calls to Editor.
10990 (WebView::onIMERequestCharPosition): Updated for name changes.
11046 * WebView.cpp:
11047 (WebView::updateWebCoreSettingsFromPreferences):
11055 * WebView.cpp:
11056 (WebView::userAgentForKURL):
11095 * WebView.cpp:
11096 (WebView::keyUp):
11097 (WebView::keyDown):
11118 * WebView.cpp:
11119 (WebView::performContextMenuAction): performContextMenuAction() can now handle context menu
11123 * WebView.h:
11160 * WebView.cpp:
11161 (WebView::keyUp):
11162 (WebView::keyDown):
11164 * WebView.h:
11187 * WebView.cpp:
11189 (WebView::setInputMethodState):
11190 * WebView.h:
11265 Don't bypass WebView WM_PAINT if the WebView has never committed a page.
11269 * WebView.cpp:
11279 … WebView::handleEditingKeyboardEvent assumed all keycodes that did not trigger a named command were
11284 …This patch corrects WebView::handleEditingKeyboardEvent to prevent such characters from being sent
11287 * WebView.cpp:
11288 (WebView::handleEditingKeyboardEvent):
11301 * WebView.cpp:
12538 * WebView.cpp:
12539 (WebView::mainFrameDocument):
12540 (WebView::computedStyleForElement):
12541 (WebView::editableDOMRangeForPoint):
12542 (WebView::setSelectedDOMRange):
12543 (WebView::selectedDOMRange):
12544 (WebView::setTypingStyle):
12545 (WebView::typingStyle):
12546 (WebView::styleDeclarationWithText):
12547 (WebView::replaceSelectionWithNode):
12548 (WebView::applyStyle):
12549 * WebView.h:
12560 * WebView.cpp:
12561 (WebView::WebView): Initialize m_hasCustomDropTarget
12562 (WebView::setCustomDropTarget): Revoke any existing drop target and set
12564 (WebView::removeCustomDropTarget): Revoke any existing drop target and
12566 * WebView.h:
12576 * WebView.cpp:
12577 (WebView::initializeToolTipWindow):
12587 * WebView.cpp:
12588 (WebView::updateBackingStore): Call FrameView::layoutIfNeededRecursive.
12616 * WebView.cpp:
12617 (WebView::updateWebCoreSettingsFromPreferences): Call developerExtrasEnabled.
12618 (WebView::developerExtrasEnabled): Ported from -[WebView _developerExtrasEnabled].
12619 * WebView.h:
12640 * WebView.cpp:
12641 (WebView::preferences): Ditto.
12660 * WebView/WebPreferences.m: Modified to reflect new API in WebCore.
12661 * WebView.cpp:
12662 (WebView::initializeCacheSizesIfNecessary): Slightly increased cache
12673 * WebView.cpp:
12674 (WebView::userAgentForKURL):
12683 * WebView.cpp:
12762 * WebView.cpp:
12763 (WebView::rectsForTextMatches): Ported fix from r23586.
12779 … We are seeing another case where WM_SETFOCUS is sent after WM_DESTROY has been handled in WebView.
12780 Bail early in the wndProc if WebView is set to be destroyed.
12782 * WebView.cpp:
12983 * WebView.cpp:
12984 (WebView::keyUp):
12985 (WebView::keyDown):
12986 * WebView.h:
12987 (WebView::inIMEKeyDown):
13000 * WebView.cpp:
13001 (WebView::WebView):
13002 (WebView::closeWindowSoon):
13003 (WebView::closeWindowTimerFired):
13004 * WebView.h:
13012 * WebView.cpp:
13013 (WebView::initWithFrame):
13022 * WebView.cpp:
13023 (WebView::canShowMIMEType):
13029 * WebView.cpp:
13030 (WebView::initWithFrame): BSTR, not BString
13040 * WebView.cpp:
13041 … (WebView::initWithFrame): Set the preference for the template path in WebCore when the first
13042 WebView is initialized
13090 * WebView.cpp:
13091 (WebView::updateWebCoreSettingsFromPreferences):
13108 * WebView.cpp:
13109 (WebView::prepareCandidateWindow):
13112 (WebView::onIMERequestCharPosition):
13123 * WebView.cpp:
13124 (WebView::onIMERequestCharPosition):
13125 (WebView::onIMERequestReconvertString):
13126 (WebView::onIMERequest):
13127 * WebView.h:
13147 * WebView.cpp:
13148 (WebView::onIMERequestCharPosition):
13149 (WebView::onIMERequest):
13150 * WebView.h:
13181 * WebView.cpp:
13182 (WebView::getIMMContext):
13190 * WebView.cpp:
13191 (WebView::updateWebCoreSettingsFromPreferences):
13208 * WebView.cpp:
13209 (WebView::WebView):
13210 (WebView::keyUp):
13211 (WebView::keyDown):
13217 (WebView::getIMMContext):
13218 (WebView::releaseIMMContext):
13219 (WebView::prepareCandidateWindow):
13222 (WebView::resetIME):
13223 (WebView::updateSelectionForIME):
13224 (WebView::selectionChanged):
13229 (WebView::onIMEStartComposition):
13230 (WebView::onIMEComposition):
13231 (WebView::onIMEEndComposition):
13232 (WebView::onIMEChar):
13233 (WebView::onIMENotify):
13234 (WebView::onIMERequest):
13235 (WebView::onIMESelect):
13236 (WebView::onIMESetContext):
13239 * WebView.h:
13267 * WebView.cpp:
13282 * WebView.cpp:
13283 (WebView::updateWebCoreSettingsFromPreferences):
13289 * WebView.cpp:
13290 (WebView::stringByEvaluatingJavaScriptFromString):
13294 Fix a leak in WebView::setToolTip
13298 * WebView.cpp:
13299 (WebView::setToolTip):
13310 (WebChromeClient::setToolTip): Call up to WebView.
13311 * WebView.cpp:
13312 (WebView::WebView): Initialize m_toolTipHwnd member.
13313 (WebView::initWithFrame): Set up the tool tip window.
13315 (WebView::initializeToolTipWindow): Added.
13316 (WebView::setToolTip): Set the tool tip text and enable/disable the
13318 * WebView.h: Added/updated declarations.
13335 * WebView.cpp:
13336 (WebView::updateWebCoreSettingsFromPreferences):
13344 * WebView.cpp:
13345 (WebView::handleMouseEvent):
13410 * WebView.cpp:
13481 WebView changes needed for the new Inspector.
13483 * WebView.cpp: Removed old inspectElement method now that this is
13485 (WebView::WebView):
13486 (WebView::close):
13487 (WebView::performContextMenuAction): Removed handling of the Inspect
13489 (WebView::initWithFrame): Give each Page an InspectorClient to enable
13491 (WebView::setProhibitsMainFrameScrolling): Added.
13492 * WebView.h:
13543 * WebView.cpp:
13544 (WebView::keyDown):
13553 * WebView.cpp:
13563 * WebView.cpp:
13564 (WebView::mouseWheel):
13566 * WebView.h:
13574 * WebView.cpp:
13575 (WebView::mouseWheel):
13583 * WebView.cpp:
13584 (WebView::userAgentForKURL): Add schwab to spoof list to fix gigantic menus.
13590 Fixed WebView::selectedText to get the selected text out of the focused frame or main frame.
13592 * WebView.cpp:
13593 (WebView::selectedText):
13680 * WebView.cpp:
13681 (WebView::userAgentForKURL):
13689 * WebView.cpp:
13690 (WebView::userAgentForKURL):
13707 * WebView.cpp:
13708 (WebView::userAgentForKURL):
13729 * WebView.cpp:
13730 … (WebView::~WebView): removed the call to removeObserver for the WebPreferencesChangedNotification
13732 …(WebView::close): the call to removeObserver now takes in the WebPreferences instance for the obje…
13733 this way the WebView is only notified when that particular WebPreferences instance changes.
13734 …(WebView::initWithFrame): the call to addObserver now takes in the WebPreferences instance for the…
13735 this way the WebView is only notified when that particular WebPreferences instance changes.
13736 (WebView::setPreferences): implemented
13737 (WebView::onNotify): used COMPtr to fix a missing release
13912 * WebView.cpp:
13913 (WebView::WebView):
13914 (WebView::initWithFrame):
13915 (WebView::toggleSmartInsertDelete):
13916 (WebView::setSmartInsertDeleteEnabled):
13917 (WebView::smartInsertDeleteEnabled):
13918 * WebView.h:
13926 * WebView.cpp:
13927 (WebView::clearFocusNode):
13961 * WebView.cpp:
13962 (WebView::loadBackForwardListFromOtherView):
13963 * WebView.h:
13975 * WebView.cpp:
14220 * WebView.cpp:
14221 (WebView::WebView):
14222 (WebView::~WebView):
14223 (WebView::handleContextMenuEvent):
14224 (WebView::onInitMenuPopup):
14225 (WebView::onUninitMenuPopup):
14227 (WebView::QueryInterface):
14228 (WebView::MIMETypesShownAsHTML):
14229 (WebView::setHostWindow):
14230 (WebView::hostWindow):
14231 (WebView::generateSelectionImage):
14232 (WebView::pasteboardTypesForSelection):
14233 (WebView::pasteboardTypesForElement):
14234 (WebView::mainFrameIcon):
14235 (WebView::canMakeTextStandardSize):
14236 (WebView::viewWindow):
14237 * WebView.h:
14243 * WebView.cpp: (WebView::selectionImageRect):
14266 * WebView.cpp:
14267 (WebView::initWithFrame): init frame
14268 (WebView::stringByEvaluatingJavaScriptFromString): don't create empty document
14356 * WebView.cpp:
14357 (WebView::preflightSpellChecker): Set delegate static global for use in spell checker init.
14371 * WebView.cpp:
14372 (WebView::replaceSelectionWithText): Implemented.
14392 the closure of a WebView, so all calls to WebView::close have been removed, save for
14400 * WebView.cpp:
14401 (WebView::~WebView):
14403 (WebView::close):
14407 * WebView.h:
14441 WebView-based edit fields in the app.
14458 * WebView.cpp:
14516 * WebView.cpp: Removed unused header (atldef.h)
14749 - The WebView wasn't focused when the inspector first appeared.
14753 (WebInspector::show): Focus the WebView.
14798 (WebInspector::WebInspector): Subclass the WebView so we can intercept
14875 * WebView.cpp:
14876 (WebView::performContextMenuAction): Added case for the Inspect Element item.
14877 (WebView::inspectElement): Added.
14878 * WebView.h: Added declaration.
14956 * WebView.cpp:
14957 (WebView::handleMouseEvent):
15022 * WebView.cpp: Add DeleteWordForward and DeleteWordBackward to key command table.
15045 * WebView.cpp:
15046 (WebView::stringByEvaluatingJavaScriptFromString):
15049 (WebView::addAdditionalPluginPath):
15050 * WebView.h:
15226 * WebView.cpp:
15227 (WebView::userAgentForKURL): Only give a site-specific UA if
15229 (WebView::setAllowSiteSpecificHacks): Added.
15230 * WebView.h:
15231 (WebView::allowSiteSpecificHacks): Added.
15240 * WebView.cpp:
15241 (WebView::handleContextMenuEvent): Set the cursor to the pointer
15250 * WebView.cpp:
15251 (WebView::userAgentForKURL):
15292 * WebView.cpp:
15293 (WebView::userAgentForKURL): Remove gmail spoof
15316 * WebView.cpp:
15317 (WebView::WebView):
15318 (WebView::updateBackingStore):
15319 (WebView::paint):
15321 * WebView.h:
15322 (WebView::isPainting):
15347 * WebView.cpp:
15348 (WebView::updateBackingStore):
15349 (WebView::paint):
15356 Changed the mouse event processing in the WebView wndproc so we actually
15361 * WebView.cpp:
15362 (WebView::handleMouseEvent):
15368 * WebView.cpp:
15369 (WebView::initWithFrame):
15379 * WebView.cpp:
15380 (WebView::handleContextMenuEvent): We were always calling
15393 * WebView.cpp:
15395 (WebView::updateActiveState):
15396 * WebView.h:
15404 * WebView.cpp:
15405 (WebView::WebView): Tell JavaScriptCore what the main thread is.
15428 * WebView.cpp:
15429 (WebView::initWithFrame): Commented out cookie storage initialization.
15435 * WebView.cpp: Added missing #include.
15444 * WebView.cpp:
15445 (WebView::setTabKeyCyclesThroughElements): Implemented.
15446 (WebView::tabKeyCyclesThroughElements): Implemented.
15447 * WebView.h: Updated.
15464 * WebView.cpp:
15465 (WebView::updateWebCoreSettingsFromPreferences):
15468 (WebView::initWithFrame):
15521 * WebView.cpp:
15522 (WebView::setEditingDelegate): Implemented.
15523 (WebView::editingDelegate): Ditto.
15524 * WebView.h: Updated for rename.
15544 * WebView.h:
15572 * WebView.cpp:
15573 (WebView::paintIntoBackingStore): Only tell the FrameView to
15660 * WebView.cpp:
15661 …(WebView::initWithFrame): Set page cache size to zero on new pages, and add a fixme to remove later
15691 * WebView.cpp:
15692 (WebView::clearFocusNode):
15693 * WebView.h:
15710 * WebView.cpp:
15711 (WebView::rectsForTextMatches): Add null check
15727 …* WebView.cpp: Added commands that will be used by doCommandBySelector to the table (Cancel, Inser…
15728 …(WebView::interpretKeyEvent): Added. Returns a command string for a KeyboardEvent. Removed static …
15729 …(WebView::handleEditingKeyboardEvent): Call Editor methods instead of calling handleTextInputEvent…
15730 * WebView.h:
15752 * WebView.cpp:
15753 …(WebView::WebView): Added m_currentCharacterCode, so we can reuse the computed code from keyDown f…
15754 …(WebView::keyUp): Renamed arguments. Don't dispatch event for shift, ctrl, or capslock keys. Use …
15755 …(WebView::handleEditingKeyboardEvent): Now takes a KeyboardEvent instead of a PlatformKeyboardEven…
15757 …(WebView::keyDown): Peek at the next message in the message loop. If its a WM_CHAR, then get the …
15760 … * WebView.h: Made handleEditingKeyboardEvent public so it can be accessed from WebEditorClient.
15800 * WebView.cpp:
15801 (WebView::isLoading):
15807 Implement WebView::isLoading.
15809 * WebView.cpp:
15810 (WebView::isLoading):
15910 * WebView.cpp:
15911 (WebView::userAgentForKURL): Added disney.go.com
15938 * WebView.cpp:
15939 …(WebView::userAgentForKURL): Check URL host against a list of known offenders, return them what th…
15969 * WebView.cpp:
15970 (WebView::onInitMenuPopup): Added. Calls new delegate method.
15973 * WebView.h: Added declaration.
16125 * WebView.cpp:
16169 * WebView.cpp:
16170 (WebView::handleContextMenuEvent): Clear the controller's context
16180 that can notify a WebView's eventhandler of drag events
16213 Also includes logic to notify the source WebView of drag events (moving
16354 * WebView.cpp:
16355 … (WebView::paint): Silently fail on a null Frame, because this method could be called at any time.
16356 (WebView::mouseWheel): Ditto.
16358 (WebView::inViewSourceMode): Return whatever WebFrame::setInViewSourceMode returns.
16359 (WebView::setInViewSourceMode): Ditto.
16360 (WebView::setCustomTextEncodingName): Replaced check for a null
16363 (WebView::stringByEvaluatingJavaScriptFromString):
16364 (WebView::elementAtPoint): Added argument checking.
16365 (WebView::selectedText): Ditto.
16366 (WebView::centerSelectionInVisibleArea):
16410 * WebView.cpp:
16411 (WebView::handleEditingKeyboardEvent):
16412 (WebView::keyDown):
16413 (WebView::generateSelectionImage):
16414 * WebView.h:
16432 * WebView.cpp:
16434 (WebView::unmarkAllTextMatches): added null check
16456 * WebView.cpp:
16457 (WebView::scrollOffset): Add null check
16458 … (WebView::scrollBy): Added so we can scroll a webview easily (matches scroll position getter here)
16459 …(WebView::visibleContentRect): Added so we can size find overlay appropriately (not including scr…
16460 * WebView.h: Added scrollBy, visibleContentRect
16468 * WebView.cpp: (WebView::handleEditingKeyboardEvent):
16532 * WebView.cpp:
16640 …rdar://problem/4976975> Need WEbKit API to revtrieve current or first frame and form from a WebView
16648 * WebView.cpp:
16649 (WebView::focusedFrame): Get the currently focused frame
16651 * WebView.h:
16660 * WebView.cpp:
16680 * WebView.cpp:
16681 (WebView::searchFor):
16751 * WebView.cpp:
16752 (WebView::formDelegate):
16778 * WebView.cpp:
16779 (WebView::keyDown):
16791 * WebView.cpp:
16792 (WebView::addToDirtyRegion):
16793 (WebView::scrollBackingStore):
16794 (WebView::updateBackingStore):
16795 (WebView::paint):
16796 (WebView::paintIntoBackingStore):
16797 (WebView::paintIntoWindow):
16851 * WebView.cpp:
16852 (WebView::WebView): Initialize new member.
16855 (WebView::mainFrame): Added argument check.
16856 * WebView.h:
16857 (WebView::setIsBeingDestroyed): Added.
16858 (WebView::isBeingDestroyed): Added.
16867 * WebView.cpp:
16868 (WebView::initWithFrame): Uses the passed-in RECT for the frame, and
16870 * WebView.h: Updated declaration.
16890 * WebView.cpp:
16891 (WebView::clearSelection):
16892 * WebView.h:
16901 * WebView.cpp:
16902 (WebView::initWithFrame):
16909 Forgot to assign document to 0 in case of failure in WebView::mainFrameDocument().
16911 * WebView.cpp:
16912 (WebView::mainFrameDocument):
16934 * WebView.cpp:
16935 (WebView::paintIntoBackingStore): bail if frameView is null.
16936 (WebView::setHostWindow): don't set the view window's parent to 0.
16946 * WebView.cpp:
16947 (WebView::canShowMIMEType):
16960 * WebFrame.cpp: Added functions from WebView.cpp.
16965 * WebView.cpp: Moved functions to WebFrame.cpp.
16966 * WebView.h: Removed declarations.
16989 Implement WebView::mainFrameDocument.
16991 * WebView.cpp:
16992 (WebView::mainFrameDocument):
17014 * WebView.cpp:
17015 (WebView::updateBackingStore):
17086 * WebView.cpp:
17087 (WebView::WebView):
17088 (WebView::DragEnter):
17089 (WebView::DragOver):
17090 (WebView::DragLeave):
17091 (WebView::Drop):
17092 * WebView.h:
17154 * WebView.cpp:
17155 (WebView::~WebView): Call DestroyWindow if our view window hasn't been
17159 (WebView::initWithFrame): Call our own registerDragDrop.
17160 (WebView::close): Removed call to RevokeDragDrop. At this point our
17162 (WebView::registerDragDrop): Added.
17163 (WebView::revokeDragDrop): Added.
17164 * WebView.h: Added declarations.
17210 * WebView.cpp:
17211 (WebView::canShowMIMEType):
17310 * WebView.cpp:
17311 (WebView::keyUp):
17312 (WebView::keyDown):
17372 * WebView.cpp:
17400 * WebView.cpp:
17401 (WebView::setDownloadDelegate):
17402 (WebView::downloadDelegate):
17403 * WebView.h:
17514 * WebView.cpp:
17515 … (WebView::downloadDelegate): Change ASSERT_NOT_REACHED() to LOG_NOIMPL() to not stop the app
17529 * WebView.cpp:
17530 (WebView::cutEnabled):
17531 (WebView::copyEnabled):
17532 (WebView::pasteEnabled):
17533 (WebView::deleteEnabled):
17534 (WebView::editingEnabled):
17535 (WebView::deleteSelection):
17536 (WebView::copy):
17537 (WebView::cut):
17538 (WebView::paste):
17539 (WebView::copyURL):
17540 (WebView::delete_):
17567 * WebView.cpp:
17599 Attaching the DragController logic to the WebView
17612 * WebView.cpp:
17613 (WebView::WebView):
17614 (WebView::initWithFrame):
17617 (WebView::DragEnter):
17618 (WebView::DragOver):
17619 (WebView::DragLeave):
17620 (WebView::Drop):
17621 Set up and register WebView as an IDropTarget, and pass off
17623 * WebView.h:
17679 * WebView.cpp:
17680 (WebView::canHandleRequest):
17683 (WebView::canHandleRequest):
17686 (WebView::close):
17774 * WebView.cpp:
17775 (WebView::scrollBackingStore):
17823 * WebView.cpp:
17824 (WebView::searchFor):
17964 * WebView.cpp:
17965 (WebView::handleContextMenuEvent): This function now takes care of
17972 (WebView::onMeasureItem): Helper function to call over the
17974 (WebView::onDrawItem): Same.
17975 (WebView::onUninitMenuPopup): Same.
17978 * WebView.h:
18013 * WebView.cpp:
18014 (WebView::canHandleRequest):
18015 * WebView.h:
18058 * WebView.cpp:
18059 (WebView::estimatedProgress):
18090 * WebView.cpp:
18091 (WebView::setResourceLoadDelegate):
18092 (WebView::resourceLoadDelegate):
18093 (WebView::setPolicyDelegate):
18094 (WebView::policyDelegate):
18095 * WebView.h:
18105 * WebView.cpp:
18106 (WebView::selectedText):
18107 (WebView::centerSelectionInVisibleArea):
18108 * WebView.h:
18151 * WebView.cpp:
18152 (WebView::WebView): Initialize m_page member.
18153 (WebView::~WebView):
18259 * WebView.cpp:
18260 (WebView::WebView):
18261 (WebView::~WebView):
18263 (WebView::close):
18264 (WebView::frameLoadDelegate):
18265 (WebView::backForwardList):
18266 (WebView::setMaintainsBackForwardList):
18267 (WebView::goBack):
18268 (WebView::goForward):
18269 (WebView::goToBackForwardItem):
18270 (WebView::setCustomTextEncodingName):
18271 (WebView::customTextEncodingName):
18272 (WebView::canGoBack):
18273 (WebView::canGoForward):
18274 (WebView::frameLoadDelegatePrivate):
18275 * WebView.h:
18317 * WebView.cpp:
18318 (WebView::WebView):
18319 (WebView::~WebView):
18320 (WebView::paint):
18321 (WebView::closeWindow):
18322 (WebView::handleMouseEvent):
18324 (WebView::initWithFrame):
18325 (WebView::setUIDelegate):
18326 (WebView::uiDelegate):
18327 (WebView::setFrameLoadDelegate):
18328 (WebView::frameLoadDelegate):
18329 (WebView::preferences):
18330 (WebView::elementAtPoint):
18331 (WebView::setFormDelegate):
18332 (WebView::formDelegate):
18333 (WebView::setFrameLoadDelegatePrivate):
18334 (WebView::frameLoadDelegatePrivate):
18335 * WebView.h:
18350 * WebView.cpp:
18351 (WebView::canMakeTextStandardSize): Added
18352 (WebView::makeTextStandardSize): Added
18353 (WebView::toggleContinuousSpellChecking): Added
18354 (WebView::toggleSmartInsertDelete): Added
18378 operates on the current WebView instead of invoking Safari's
18577 * WebView.cpp:
18578 (WebView::handleMouseEvent):
18648 * WebView.cpp:
18649 (WebView::hasSelectedRange):
18650 (WebView::cutEnabled):
18651 (WebView::copyEnabled):
18652 (WebView::pasteEnabled):
18653 (WebView::deleteEnabled):
18654 (WebView::editingEnabled):
18655 * WebView.h:
18753 (WebFrame::initWithWebFrameView): Used core() here, now that WebView::settings()
18756 * WebView.cpp:
18757 (WebView::updateWebCoreSettingsFromPreferences): Simplified this code, now
18760 * WebView.h: Removed settings() accessor. Settings belong to the WebCore
18761 page, not the WebView.
18778 * WebView.cpp:
18779 (WebView::updateWebCoreSettingsFromPreferences):
18786 WebView is scrolled.
18788 * WebView.cpp:
18789 (WebView::handleMouseEvent): Convert the event coordinates to document
18797 * WebView.cpp:
18798 (WebView::userAgentForKURL):
18842 - implemented WebView::closeWindow().
18851 * WebView.cpp:
18852 (WebView::closeWindow):
18853 * WebView.h:
18885 <rdar://problem/4853363> hook up various deletion-related functions in WebView
18887 * WebView.cpp:
18888 (WebView::execCommand):
18890 (WebView::deleteSelection):
18892 (WebView::copy):
18893 (WebView::cut):
18894 (WebView::paste):
18895 (WebView::delete_):
18904 * WebView.cpp:
18925 * WebView.cpp:
18926 (WebView::performContextMenuAction):
18941 Implemented WebChromeClient::pageRect() to return the bounds of the WebView.
18952 * WebView.cpp:
18953 (WebView::frameRect):
18954 * WebView.h:
18965 * WebView.cpp:
19007 * WebView.cpp:
19008 (WebView::copy):
19009 (WebView::cut):
19010 (WebView::paste):
19013 (WebView::copyURL):
19016 * WebView.h:
19033 * WebView.cpp:
19034 (WebView::handleMouseEvent):
19036 (WebView::initWithFrame):
19047 * WebView.cpp: Updated to reflect the newly-flattend JSCore headers.
19066 * WebView.cpp:
19067 (registerWebViewWindowClass): Set the WebView's default cursor to be
19069 (WebView::uiDelegate): Return E_FAIL if there's no UI delegate.
19160 * WebView.cpp:
19161 (WebView::WebView):
19163 (WebView::handleMouseEvent):
19167 * WebView.h:
19168 (WebView::setMouseActivated):
19221 FrameLoader::detachFromParent when closing the WebView.
19228 * WebView.cpp:
19229 (WebView::close):
19352 * WebView.cpp:
19353 (WebView::handleContextMenuEvent): New method to send a context menu
19355 (WebView::performContextMenuAction): New method to tell the
19357 (WebView::handleMouseEvent): Return a bool to signify whether the event
19359 (WebView::mouseWheel): Ditto.
19362 * WebView.h: New declarations.
19387 * WebView.cpp:
19389 (WebView::execCommand):
19393 (WebView::copy):
19394 (WebView::cut):
19395 (WebView::paste):
19396 (WebView::delete_):
19538 - fix leak of WebView when you close a tab or window
19541 we added to WebView on the Macintosh side.
19543 * WebView.h: Added close function.
19544 * WebView.cpp: (WebView::close): First cut at implementation of close.
19573 * WebView.cpp:
19574 (WebView::initWithFrame):
19631 * WebView.cpp:
19632 (WebView::execCommand):
19680 * WebView.cpp:
19681 (WebView::handleMouseEvent): Call methods now moved to EventHandler.
19682 (WebView::mouseWheel): Ditto.
19683 (WebView::elementAtPoint): Ditto.
19728 * WebView.cpp:
19751 * WebView.cpp:
19752 (WebView::execCommand):
19755 (WebView::focusedTarget):
19758 (WebView::keyDown):
19827 - Added page accessor on WebView, and core(), for converting from WebView
19878 * WebView.cpp:
19879 (WebView::execCommand):
19882 (WebView::keyUp):
19889 (WebView::handleEditingKeyboardEvent):
19892 (WebView::keyDown):
19896 * WebView.h:
19929 * WebView.cpp:
19930 * WebView.h:
19977 * WebView.cpp:
19979 (WebView::userAgentForKURL):
20004 * WebView.cpp:
20005 (WebView::searchFor):
20006 (WebView::generateSelectionImage):
20007 (WebView::selectionImageRect):
20105 * WebView.cpp:
20106 (WebView::scrollBackingStore):
20108 (WebView::searchFor):
20109 (WebView::markAllMatchesForText):
20110 (WebView::unmarkAllTextMatches):
20111 (WebView::rectsForTextMatches):
20112 (WebView::generateSelectionImage):
20113 (WebView::selectionImageRect):
20123 * WebView.h:
20230 * WebView.cpp:
20231 (WebView::stringByEvaluatingJavaScriptFromString):
20314 * WebView.cpp:
20315 (WebView::initWithFrame):
20359 * WebView.cpp:
20360 (WebView::elementAtPoint): Call into frame to get the HitTestResult
20373 * WebView.cpp: (WebView::initWithFrame): Removed setMainFrame call and
20407 * WebView.cpp:
20408 (WebView::initWithFrame):
20466 - fixed "Stop and reload don't work on the WebView"
20486 * WebView.cpp:
20487 (WebView::stringByEvaluatingJavaScriptFromString):
20499 * WebView.cpp: Ditto.
20512 … * WebView.cpp: Added MAXIMUM_DPI setting to limit the size of print jobs for performance reasons
20514 (WebView::startPrintJob): Factored out of print
20515 (WebView::endPrintJob): Factored out of print
20516 (WebView::getPrintedPageCount): Factored out of print
20517 (WebView::printPage): Factored out of print. Replaced call to BitBlt with StretchDIBits
20519 * WebView.h: added startPrintJob, endPrintJob, getPrintedPageCount, printPage
20574 * WebView.cpp:
20592 * WebView.cpp:
20593 (WebView::print): added
20595 * WebView.h: added print, m_pages, rearranged includes
20634 … (WebEditorClient::WebEditorClient): Break dependency cycle by not holding a COM ref to the WebView
20635 …(WebEditorClient::~WebEditorClient): Break dependency cycle by not holding a COM ref to the WebView
20662 * WebView.cpp: Ditto.
20695 * WebView.cpp:
20696 (WebView::~WebView):
20710 * WebView.cpp:
20742 * WebView.cpp:
20743 (WebView::WebView): Remove some no longer needed initialization
20744 (WebView::~WebView): Remove some no longer needed cleanup
20748 (WebView::userAgentForKURL): fast version of userAgentForURL (no BSTR marshalling)
20749 (WebView::initWithFrame): Use String instead of BSTR.
20750 (WebView::setApplicationNameForUserAgent): implemented
20751 (WebView::applicationNameForUserAgent): implemented
20752 (WebView::setCustomUserAgent): implemented
20753 (WebView::customUserAgent): implemented
20754 (WebView::userAgentForURL): implemented
20755 (WebView::setCustomTextEncodingName): switch to WebCore::String storage
20756 (WebView::customTextEncodingName): switch to WebCore::String storage
20757 (WebView::setGroupName): switch to WebCore::String storage
20758 (WebView::groupName): switch to WebCore::String storage
20759 (WebView::onNotify):
20760 …* WebView.h: Switch over to using WebCore::Strings instead of BSTRs in a few places, added m_appli…
20819 that (due to its many issues) and show the original data in a WebView
20845 Any file that #includes WebView.h also needed to include
20857 * WebView.cpp:
20909 * WebView.cpp:
20910 (WebView::windowScriptObject): fixed typos
20911 (WebView::mainFrameIcon): removed IWebImage
20912 (WebView::undoManager): fixed typos
20913 * WebView.h:
20940 * WebView.cpp:
20941 (WebView::QueryInterface): Support QI to WebView via CLSID
20957 * WebView.cpp:
20979 * WebView.cpp:
20991 …Implement full-blown double buffering (keeping a bitmap in the WebView that holds the backing stor…
21000 * WebView.cpp:
21001 (WebView::WebView):
21002 (WebView::ensureBackingStore):
21003 (WebView::addToDirtyRegion):
21004 (WebView::scrollBackingStore):
21005 (WebView::updateBackingStore):
21006 (WebView::paint):
21007 (WebView::paintIntoBackingStore):
21008 (WebView::paintIntoWindow):
21010 * WebView.h:
21011 (WebView::topLevelFrame):
21033 * WebView.cpp: (WebViewWndProc): Use WebView's focusedTargetFrame()
21149 * WebView.cpp:
21150 (WebView::WebView):
21151 (WebView::~WebView):
21152 (WebView::inResizer):
21154 (WebView::setUIDelegate):
21155 * WebView.h:
21250 * WebView.cpp:
21251 (WebView::handleMouseEvent):
21252 (WebView::focusedTarget):
21253 (WebView::focusedTargetFrame):
21254 (WebView::keyPress):
21256 * WebView.h:
21266 * WebView.cpp:
21293 * WebView.cpp:
21307 * WebView.cpp:
21309 (WebView::initWithFrame):
21328 * WebView.cpp: (WebView::handleMouseEvent): Pass message when creating a PlatformMouseEvent.
21346 * WebView.cpp: Fix painting suppression code.
21381 * WebView.cpp:
21382 (WebView::initWithFrame):
21390 * WebView.cpp:
21391 (WebView::handleMouseEvent):
21393 * WebView.h:
21422 * WebView.cpp:
21424 (WebView::mouseMoved):
21425 (WebView::mouseDown):
21426 (WebView::mouseUp):
21427 (WebView::execCommand):
21429 (WebView::keyPress):
21432 * WebView.h:
21529 * WebView.cpp:
21530 (WebView::setCustomTextEncodingName):
21556 * WebView.cpp:
21576 * WebView.cpp:
21607 - fixed WebFrame/WebView circular reference leak: ownership now looks like this
21609 - WebView -> WebCore::Page -> WebCore::Frame
21617 - The WebView's onSize handler now updates the frame geometry of the main frame.
21618 This used to happen implicitly, since the WebView window and the main frame were
21667 * WebView.cpp:
21668 (WebView::mouseWheel):
21670 * WebView.h:
21708 * WebView.cpp:
21709 (WebView::WebView):
21710 (WebView::supportsTextEncoding):
21711 (WebView::setCustomTextEncodingName):
21712 (WebView::customTextEncodingName):
21713 * WebView.h:
21758 * WebView.cpp:
21759 (WebView::keyPress): Add new "userTriggered" argument to calls to
21820 * WebView.cpp: Use more explicit include paths to highlight external headers.
21923 * WebView.cpp:
21924 (WebView::keyPress): Rename selection to selectionController.
22253 WebView.cpp/.h
22397 * WebView.cpp:
22398 (WebView::scrollOffset):
22399 * WebView.h:
22417 WebView.cpp/.h
23218 * WebView.cpp:
23219 (WebView::setFormDelegate):
23220 (WebView::formDelegate):
23221 * WebView.h:
23694 * WebView.cpp: Added.
23695 (WebView::WebView):
23696 (WebView::~WebView):
23697 (WebView::createInstance):
23698 (WebView::mouseMoved):
23699 (WebView::mouseDown):
23700 (WebView::mouseUp):
23701 (WebView::mouseDoubleClick):
23702 (WebView::keyPress):
23707 (WebView::goToItem):
23708 (WebView::updateWebCoreSettingsFromPreferences):
23709 (WebView::settings):
23710 (WebView::QueryInterface):
23711 (WebView::AddRef):
23712 (WebView::Release):
23713 (WebView::canShowMIMEType):
23714 (WebView::canShowMIMETypeAsHTML):
23715 (WebView::MIMETypesShownAsHTML):
23716 (WebView::setMIMETypesShownAsHTML):
23717 (WebView::URLFromPasteboard):
23718 (WebView::URLTitleFromPasteboard):
23719 (WebView::initWithFrame):
23720 (WebView::setUIDelegate):
23721 (WebView::uiDelegate):
23722 (WebView::setResourceLoadDelegate):
23723 (WebView::resourceLoadDelegate):
23724 (WebView::setDownloadDelegate):
23725 (WebView::downloadDelegate):
23726 (WebView::setFrameLoadDelegate):
23727 (WebView::frameLoadDelegate):
23728 (WebView::setPolicyDelegate):
23729 (WebView::policyDelegate):
23730 (WebView::mainFrame):
23731 (WebView::backForwardList):
23732 (WebView::setMaintainsBackForwardList):
23733 (WebView::goBack):
23734 (WebView::goForward):
23735 (WebView::goToBackForwardItem):
23736 (WebView::setTextSizeMultiplier):
23737 (WebView::textSizeMultiplier):
23738 (WebView::setApplicationNameForUserAgent):
23739 (WebView::applicationNameForUserAgent):
23740 (WebView::setCustomUserAgent):
23741 (WebView::customUserAgent):
23742 (WebView::userAgentForURL):
23743 (WebView::supportsTextEncoding):
23744 (WebView::setCustomTextEncodingName):
23745 (WebView::customTextEncodingName):
23746 (WebView::setMediaStyle):
23747 (WebView::mediaStyle):
23748 (WebView::stringByEvaluatingJavaScriptFromString):
23749 (WebView::windowScriptObject):
23750 (WebView::setPreferences):
23751 (WebView::preferences):
23752 (WebView::setPreferencesIdentifier):
23753 (WebView::preferencesIdentifier):
23754 (WebView::setHostWindow):
23755 (WebView::hostWindow):
23756 (WebView::searchFor):
23757 (WebView::registerViewClass):
23758 (WebView::takeStringURLFrom):
23759 (WebView::stopLoading):
23760 (WebView::reload):
23761 (WebView::canGoBack):
23762 (WebView::canGoForward):
23763 (WebView::canMakeTextLarger):
23764 (WebView::makeTextLarger):
23765 (WebView::canMakeTextSmaller):
23766 (WebView::makeTextSmaller):
23767 (WebView::computedStyleForElement):
23768 (WebView::editableDOMRangeForPoint):
23769 (WebView::setSelectedDOMRange):
23770 (WebView::selectedDOMRange):
23771 (WebView::selectionAffinity):
23772 (WebView::setEditable):
23773 (WebView::isEditable):
23774 (WebView::setTypingStyle):
23775 (WebView::typingStyle):
23776 (WebView::setSmartInsertDeleteEnabled):
23777 (WebView::smartInsertDeleteEnabled):
23778 (WebView::setContinuousSpellCheckingEnabled):
23779 (WebView::isContinuousSpellCheckingEnabled):
23780 (WebView::spellCheckerDocumentTag):
23781 (WebView::undoManager):
23782 (WebView::setEditingDelegate):
23783 (WebView::editingDelegate):
23784 (WebView::styleDeclarationWithText):
23785 (WebView::replaceSelectionWithNode):
23786 (WebView::replaceSelectionWithText):
23787 (WebView::replaceSelectionWithMarkupString):
23788 (WebView::replaceSelectionWithArchive):
23789 (WebView::deleteSelection):
23790 (WebView::applyStyle):
23791 (WebView::copy):
23792 (WebView::cut):
23793 (WebView::paste):
23794 (WebView::copyFont):
23795 (WebView::pasteFont):
23796 (WebView::delete_):
23797 (WebView::pasteAsPlainText):
23798 (WebView::pasteAsRichText):
23799 (WebView::changeFont):
23800 (WebView::changeAttributes):
23801 (WebView::changeDocumentBackgroundColor):
23802 (WebView::changeColor):
23803 (WebView::alignCenter):
23804 (WebView::alignJustified):
23805 (WebView::alignLeft):
23806 (WebView::alignRight):
23807 (WebView::checkSpelling):
23808 (WebView::showGuessPanel):
23809 (WebView::performFindPanelAction):
23810 (WebView::startSpeaking):
23811 (WebView::stopSpeaking):
23812 (WebView::onNotify):
23813 (WebView::setInViewSourceMode):
23814 (WebView::inViewSourceMode):
23815 (WebView::viewWindow):
23816 (WebView::setFormDelegate):
23817 (WebView::formDelegate):
23818 * WebView.h: Added.