diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-30 16:55:27 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-30 16:55:27 +0000 |
commit | 26aa04898e37692f354a9f97df01ff1fc7bbb14e (patch) | |
tree | d83f599bdc5083646ea70aec4c6906707e671b71 /webkit/glue/dom_operations.cc | |
parent | fbc805556ed3f7e15718313907481821ef6908b4 (diff) | |
download | chromium_src-26aa04898e37692f354a9f97df01ff1fc7bbb14e.zip chromium_src-26aa04898e37692f354a9f97df01ff1fc7bbb14e.tar.gz chromium_src-26aa04898e37692f354a9f97df01ff1fc7bbb14e.tar.bz2 |
Hook up webkit/api/public/WebView.h
This change does not completely eliminate webkit/glue/webview.h. Instead,
the old WebView extends from the new WebView temporarily as we complete
the transition.
R=dglazkov
BUG=10033
TEST=none
Review URL: http://codereview.chromium.org/257001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27620 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/dom_operations.cc')
-rw-r--r-- | webkit/glue/dom_operations.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/webkit/glue/dom_operations.cc b/webkit/glue/dom_operations.cc index 64ed00f..be2c7a8 100644 --- a/webkit/glue/dom_operations.cc +++ b/webkit/glue/dom_operations.cc @@ -256,7 +256,7 @@ static bool FillFormToUploadFileImpl(WebCore::HTMLFormElement* fe, } bool FillFormToUploadFile(WebView* view, const FileUploadData& data) { - WebFrame* main_frame = view->GetMainFrame(); + WebFrame* main_frame = view->mainFrame(); if (!main_frame) return false; WebFrameImpl* main_frame_impl = static_cast<WebFrameImpl*>(main_frame); @@ -354,7 +354,7 @@ static void FindFormElements(WebView* view, FormElementsList* results) { DCHECK(view); DCHECK(results); - WebFrame* main_frame = view->GetMainFrame(); + WebFrame* main_frame = view->mainFrame(); if (!main_frame) return; @@ -587,7 +587,7 @@ bool ElementHasLegalLinkAttribute(const WebCore::Element* element, WebFrameImpl* GetWebFrameImplFromWebViewForSpecificURL(WebView* view, const GURL& page_url) { - WebFrame* main_frame = view->GetMainFrame(); + WebFrame* main_frame = view->mainFrame(); if (!main_frame) return NULL; WebFrameImpl* main_frame_impl = static_cast<WebFrameImpl*>(main_frame); @@ -629,7 +629,7 @@ WebFrameImpl* GetWebFrameImplFromWebViewForSpecificURL(WebView* view, // frame and sub-frame bool GetAllSavableResourceLinksForCurrentPage(WebView* view, const GURL& page_url, SavableResourcesResult* result) { - WebFrame* main_frame = view->GetMainFrame(); + WebFrame* main_frame = view->mainFrame(); if (!main_frame) return false; WebFrameImpl* main_frame_impl = static_cast<WebFrameImpl*>(main_frame); @@ -753,7 +753,7 @@ static void AddInstallIcon(WebCore::HTMLLinkElement* link, } void GetApplicationInfo(WebView* view, WebApplicationInfo* app_info) { - WebFrame* main_frame = view->GetMainFrame(); + WebFrame* main_frame = view->mainFrame(); if (!main_frame) return; WebFrameImpl* main_frame_impl = static_cast<WebFrameImpl*>(main_frame); @@ -799,7 +799,7 @@ bool PauseAnimationAtTimeOnElementWithId(WebView* view, const std::string& animation_name, double time, const std::string& element_id) { - WebFrame* web_frame = view->GetMainFrame(); + WebFrame* web_frame = view->mainFrame(); if (!web_frame) return false; @@ -822,7 +822,7 @@ bool PauseTransitionAtTimeOnElementWithId(WebView* view, const std::string& property_name, double time, const std::string& element_id) { - WebFrame* web_frame = view->GetMainFrame(); + WebFrame* web_frame = view->mainFrame(); if (!web_frame) return false; @@ -843,7 +843,7 @@ bool PauseTransitionAtTimeOnElementWithId(WebView* view, bool ElementDoesAutoCompleteForElementWithId(WebView* view, const std::string& element_id) { - WebFrame* web_frame = view->GetMainFrame(); + WebFrame* web_frame = view->mainFrame(); if (!web_frame) return false; @@ -859,7 +859,7 @@ bool ElementDoesAutoCompleteForElementWithId(WebView* view, } int NumberOfActiveAnimations(WebView* view) { - WebFrame* web_frame = view->GetMainFrame(); + WebFrame* web_frame = view->mainFrame(); if (!web_frame) return -1; |