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

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

Issue 42258: Add way to remove entries from autocomplete (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/webview_delegate.h ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_GLUE_WEBVIEW_IMPL_H__ 5 #ifndef WEBKIT_GLUE_WEBVIEW_IMPL_H__
6 #define WEBKIT_GLUE_WEBVIEW_IMPL_H__ 6 #define WEBKIT_GLUE_WEBVIEW_IMPL_H__
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 // A copy of the web drop data object we received from the browser. 244 // A copy of the web drop data object we received from the browser.
245 RefPtr<WebCore::ChromiumDataObject> current_drop_data_; 245 RefPtr<WebCore::ChromiumDataObject> current_drop_data_;
246 246
247 private: 247 private:
248 // Returns true if the event was actually processed. 248 // Returns true if the event was actually processed.
249 bool KeyEventDefault(const WebKeyboardEvent& event); 249 bool KeyEventDefault(const WebKeyboardEvent& event);
250 250
251 // Returns true if the autocomple has consumed the event. 251 // Returns true if the autocomple has consumed the event.
252 bool AutocompleteHandleKeyEvent(const WebKeyboardEvent& event); 252 bool AutocompleteHandleKeyEvent(const WebKeyboardEvent& event);
253 253
254 // Repaints the autofill popup. Should be called when the suggestions have
255 // changed. Note that this should only be called when the autofill popup is
256 // showing.
257 void RefreshAutofillPopup();
258
254 // Returns true if the view was scrolled. 259 // Returns true if the view was scrolled.
255 bool ScrollViewWithKeyboard(int key_code); 260 bool ScrollViewWithKeyboard(int key_code);
256 261
257 // Removes fetcher from the set of pending image fetchers and deletes it. 262 // Removes fetcher from the set of pending image fetchers and deletes it.
258 // This is invoked after the download is completed (or fails). 263 // This is invoked after the download is completed (or fails).
259 void DeleteImageResourceFetcher(ImageResourceFetcher* fetcher); 264 void DeleteImageResourceFetcher(ImageResourceFetcher* fetcher);
260 265
261 // Returns the currently focused Node or NULL if no node has focus. 266 // Returns the currently focused Node or NULL if no node has focus.
262 WebCore::Node* GetFocusedNode(); 267 WebCore::Node* GetFocusedNode();
263 268
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 static const WebInputEvent* current_input_event() { 323 static const WebInputEvent* current_input_event() {
319 return g_current_input_event; 324 return g_current_input_event;
320 } 325 }
321 private: 326 private:
322 static const WebInputEvent* g_current_input_event; 327 static const WebInputEvent* g_current_input_event;
323 328
324 DISALLOW_EVIL_CONSTRUCTORS(WebViewImpl); 329 DISALLOW_EVIL_CONSTRUCTORS(WebViewImpl);
325 }; 330 };
326 331
327 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H__ 332 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H__
OLDNEW
« no previous file with comments | « webkit/glue/webview_delegate.h ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698