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

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

Issue 159693: WebKit Update 46594:46622... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | « DEPS ('k') | webkit/tools/layout_tests/test_expectations.txt » ('j') | 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 static_cast<EditorClientImpl*>(webview_->page()->editorClient()); 198 static_cast<EditorClientImpl*>(webview_->page()->editorClient());
199 DCHECK(editor); 199 DCHECK(editor);
200 editor->OnAutofillSuggestionAccepted( 200 editor->OnAutofillSuggestionAccepted(
201 static_cast<WebCore::HTMLInputElement*>(text_field_.get())); 201 static_cast<WebCore::HTMLInputElement*>(text_field_.get()));
202 } 202 }
203 203
204 virtual WebCore::String itemText(unsigned list_index) const { 204 virtual WebCore::String itemText(unsigned list_index) const {
205 return suggestions_[list_index]; 205 return suggestions_[list_index];
206 } 206 }
207 207
208 virtual WebCore::String itemToolTip(unsigned last_index) const {
209 NOTIMPLEMENTED();
210 return WebCore::String();
211 }
212
208 virtual bool itemIsEnabled(unsigned listIndex) const { 213 virtual bool itemIsEnabled(unsigned listIndex) const {
209 return true; 214 return true;
210 } 215 }
211 216
212 virtual PopupMenuStyle itemStyle(unsigned listIndex) const { 217 virtual PopupMenuStyle itemStyle(unsigned listIndex) const {
213 return *style_; 218 return *style_;
214 } 219 }
215 220
216 virtual PopupMenuStyle menuStyle() const { 221 virtual PopupMenuStyle menuStyle() const {
217 return *style_; 222 return *style_;
(...skipping 1743 matching lines...) Expand 10 before | Expand all | Expand 10 after
1961 1966
1962 return document->focusedNode(); 1967 return document->focusedNode();
1963 } 1968 }
1964 1969
1965 HitTestResult WebViewImpl::HitTestResultForWindowPos(const IntPoint& pos) { 1970 HitTestResult WebViewImpl::HitTestResultForWindowPos(const IntPoint& pos) {
1966 IntPoint doc_point( 1971 IntPoint doc_point(
1967 page_->mainFrame()->view()->windowToContents(pos)); 1972 page_->mainFrame()->view()->windowToContents(pos));
1968 return page_->mainFrame()->eventHandler()-> 1973 return page_->mainFrame()->eventHandler()->
1969 hitTestResultAtPoint(doc_point, false); 1974 hitTestResultAtPoint(doc_point, false);
1970 } 1975 }
OLDNEW
« no previous file with comments | « DEPS ('k') | webkit/tools/layout_tests/test_expectations.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698