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

Side by Side Diff: chrome/browser/ui/gtk/location_bar_view_gtk.h

Issue 5966006: Hitting Tab should always move cursor to end of omnibox text. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Mac build. Created 9 years, 10 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 void ShowStarBubble(const GURL& url, bool newly_boomkarked); 88 void ShowStarBubble(const GURL& url, bool newly_boomkarked);
89 89
90 // Set the starred state of the bookmark star. 90 // Set the starred state of the bookmark star.
91 void SetStarred(bool starred); 91 void SetStarred(bool starred);
92 92
93 // Implement the AutocompleteEditController interface. 93 // Implement the AutocompleteEditController interface.
94 virtual void OnAutocompleteWillClosePopup(); 94 virtual void OnAutocompleteWillClosePopup();
95 virtual void OnAutocompleteLosingFocus(gfx::NativeView view_gaining_focus); 95 virtual void OnAutocompleteLosingFocus(gfx::NativeView view_gaining_focus);
96 virtual void OnAutocompleteWillAccept(); 96 virtual void OnAutocompleteWillAccept();
97 // For this implementation, the parameter is ignored. 97 // For this implementation, the parameter is ignored.
98 virtual bool OnCommitSuggestedText(const string16& typed_text); 98 virtual bool OnCommitSuggestedText(bool skip_inline_autocomplete);
99 virtual bool AcceptCurrentInstantPreview(); 99 virtual bool AcceptCurrentInstantPreview();
100 virtual void OnPopupBoundsChanged(const gfx::Rect& bounds); 100 virtual void OnPopupBoundsChanged(const gfx::Rect& bounds);
101 virtual void OnAutocompleteAccept(const GURL& url, 101 virtual void OnAutocompleteAccept(const GURL& url,
102 WindowOpenDisposition disposition, 102 WindowOpenDisposition disposition,
103 PageTransition::Type transition, 103 PageTransition::Type transition,
104 const GURL& alternate_nav_url); 104 const GURL& alternate_nav_url);
105 virtual void OnChanged(); 105 virtual void OnChanged();
106 virtual void OnSelectionBoundsChanged(); 106 virtual void OnSelectionBoundsChanged();
107 virtual void OnKillFocus(); 107 virtual void OnKillFocus();
108 virtual void OnSetFocus(); 108 virtual void OnSetFocus();
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 // The last search keyword that was shown via the |tab_to_search_box_|. 425 // The last search keyword that was shown via the |tab_to_search_box_|.
426 string16 last_keyword_; 426 string16 last_keyword_;
427 427
428 // True if we should update the instant controller when the edit text changes. 428 // True if we should update the instant controller when the edit text changes.
429 bool update_instant_; 429 bool update_instant_;
430 430
431 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); 431 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk);
432 }; 432 };
433 433
434 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ 434 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698