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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_edit_view_gtk.h

Issue 440003: gtk: Restore omnibox text selection on tab switch. (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_edit_view_gtk.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 static void HandleViewMoveCursorThunk(GtkWidget* view, 182 static void HandleViewMoveCursorThunk(GtkWidget* view,
183 GtkMovementStep step, 183 GtkMovementStep step,
184 gint count, 184 gint count,
185 gboolean extend_selection, 185 gboolean extend_selection,
186 gpointer self) { 186 gpointer self) {
187 reinterpret_cast<AutocompleteEditViewGtk*>(self)-> 187 reinterpret_cast<AutocompleteEditViewGtk*>(self)->
188 HandleViewMoveCursor(step, count, extend_selection); 188 HandleViewMoveCursor(step, count, extend_selection);
189 } 189 }
190 void HandleViewMoveCursor(GtkMovementStep step, 190 void HandleViewMoveCursor(GtkMovementStep step,
191 gint count, 191 gint count,
192 gboolean extendion_selection); 192 gboolean extend_selection);
Evan Martin 2009/11/24 01:30:14 hah.
193 193
194 static void HandleViewSizeRequestThunk(GtkWidget* view, 194 static void HandleViewSizeRequestThunk(GtkWidget* view,
195 GtkRequisition* req, 195 GtkRequisition* req,
196 gpointer self) { 196 gpointer self) {
197 reinterpret_cast<AutocompleteEditViewGtk*>(self)-> 197 reinterpret_cast<AutocompleteEditViewGtk*>(self)->
198 HandleViewSizeRequest(req); 198 HandleViewSizeRequest(req);
199 } 199 }
200 void HandleViewSizeRequest(GtkRequisition* req); 200 void HandleViewSizeRequest(GtkRequisition* req);
201 201
202 static void HandlePopulatePopupThunk(GtkEntry* entry, 202 static void HandlePopulatePopupThunk(GtkEntry* entry,
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 441
442 // Contains the character range that should have a strikethrough (used for 442 // Contains the character range that should have a strikethrough (used for
443 // insecure schemes). If the range is size one or less, no strikethrough 443 // insecure schemes). If the range is size one or less, no strikethrough
444 // is needed. 444 // is needed.
445 CharRange strikethrough_; 445 CharRange strikethrough_;
446 446
447 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewGtk); 447 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewGtk);
448 }; 448 };
449 449
450 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_ 450 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698