Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: webkit/glue/webview_impl.cc

Issue 53017: Fix the form autofill showing when pressing the up arrow key (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/editor_client_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2007 Google Inc. All Rights Reserved. 2 * Copyright 2007 Google Inc. All Rights Reserved.
3 * 3 *
4 * Portions Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 4 * Portions Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
5 * 5 *
6 * ***** BEGIN LICENSE BLOCK ***** 6 * ***** BEGIN LICENSE BLOCK *****
7 * 7 *
8 * Redistribution and use in source and binary forms, with or without 8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions 9 * modification, are permitted provided that the following conditions
10 * are met: 10 * are met:
(...skipping 1701 matching lines...) Expand 10 before | Expand all | Expand 10 after
1712 void WebViewImpl::DeleteImageResourceFetcher(ImageResourceFetcher* fetcher) { 1712 void WebViewImpl::DeleteImageResourceFetcher(ImageResourceFetcher* fetcher) {
1713 DCHECK(image_fetchers_.find(fetcher) != image_fetchers_.end()); 1713 DCHECK(image_fetchers_.find(fetcher) != image_fetchers_.end());
1714 image_fetchers_.erase(fetcher); 1714 image_fetchers_.erase(fetcher);
1715 1715
1716 // We're in the callback from the ImageResourceFetcher, best to delay 1716 // We're in the callback from the ImageResourceFetcher, best to delay
1717 // deletion. 1717 // deletion.
1718 MessageLoop::current()->DeleteSoon(FROM_HERE, fetcher); 1718 MessageLoop::current()->DeleteSoon(FROM_HERE, fetcher);
1719 } 1719 }
1720 1720
1721 void WebViewImpl::HideAutoCompletePopup() { 1721 void WebViewImpl::HideAutoCompletePopup() {
1722 if (autocomplete_popup_) { 1722 if (autocomplete_popup_showing_) {
1723 autocomplete_popup_->hidePopup(); 1723 autocomplete_popup_->hidePopup();
1724 autocomplete_popup_showing_ = false; 1724 autocomplete_popup_showing_ = false;
1725 } 1725 }
1726 } 1726 }
1727 1727
1728 WebCore::Node* WebViewImpl::GetNodeForWindowPos(int x, int y) { 1728 WebCore::Node* WebViewImpl::GetNodeForWindowPos(int x, int y) {
1729 HitTestResult result = HitTestResultForWindowPos(IntPoint(x, y)); 1729 HitTestResult result = HitTestResultForWindowPos(IntPoint(x, y));
1730 return result.innerNonSharedNode(); 1730 return result.innerNonSharedNode();
1731 } 1731 }
1732 1732
(...skipping 26 matching lines...) Expand all
1759 1759
1760 return document->focusedNode(); 1760 return document->focusedNode();
1761 } 1761 }
1762 1762
1763 HitTestResult WebViewImpl::HitTestResultForWindowPos(const IntPoint& pos) { 1763 HitTestResult WebViewImpl::HitTestResultForWindowPos(const IntPoint& pos) {
1764 IntPoint doc_point( 1764 IntPoint doc_point(
1765 page_->mainFrame()->view()->windowToContents(pos)); 1765 page_->mainFrame()->view()->windowToContents(pos));
1766 return page_->mainFrame()->eventHandler()-> 1766 return page_->mainFrame()->eventHandler()->
1767 hitTestResultAtPoint(doc_point, false); 1767 hitTestResultAtPoint(doc_point, false);
1768 } 1768 }
OLDNEW
« no previous file with comments | « webkit/glue/editor_client_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698