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

Unified Diff: chrome/browser/autocomplete/autocomplete_edit.h

Issue 202010: Fixes regression introduced in dnd refactoring. I removed a check for... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autocomplete/autocomplete_edit.h
===================================================================
--- chrome/browser/autocomplete/autocomplete_edit.h (revision 25624)
+++ chrome/browser/autocomplete/autocomplete_edit.h (working copy)
@@ -166,6 +166,9 @@
// Navigates to the destination last supplied to CanPasteAndGo.
void PasteAndGo();
+ // Returns the url set by way of CanPasteAndGo.
+ const GURL& paste_and_go_url() const { return paste_and_go_url_; }
+
// Returns true if this is a paste-and-search rather than paste-and-go (or
// nothing).
bool is_paste_and_search() const {
« no previous file with comments | « no previous file | chrome/browser/views/frame/browser_frame_gtk.cc » ('j') | chrome/browser/views/frame/browser_root_view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698