| 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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 // is released (we only do so if the view was initially unfocused). | 367 // is released (we only do so if the view was initially unfocused). |
| 368 bool text_view_focused_before_button_press_; | 368 bool text_view_focused_before_button_press_; |
| 369 | 369 |
| 370 #if !defined(TOOLKIT_VIEWS) | 370 #if !defined(TOOLKIT_VIEWS) |
| 371 // Supplies colors, et cetera. | 371 // Supplies colors, et cetera. |
| 372 GtkThemeProvider* theme_provider_; | 372 GtkThemeProvider* theme_provider_; |
| 373 | 373 |
| 374 NotificationRegistrar registrar_; | 374 NotificationRegistrar registrar_; |
| 375 #endif | 375 #endif |
| 376 | 376 |
| 377 // If a character is inserted, store it in this variable so that it can |
| 378 // be used later in "key-press-event" signal handler to determine if a Tab or |
| 379 // Enter key event is handled by IME or not. |
| 380 char char_inserted_; |
| 381 |
| 377 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewGtk); | 382 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewGtk); |
| 378 }; | 383 }; |
| 379 | 384 |
| 380 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_ | 385 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_ |
| OLD | NEW |