Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 Loading... | |
| 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_ |
| OLD | NEW |