| OLD | NEW |
| 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| 11 #include <algorithm> | 11 #include <algorithm> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
| 15 #include "base/scoped_ptr.h" | 15 #include "base/scoped_ptr.h" |
| 16 #include "base/string_util.h" | 16 #include "base/string_util.h" |
| 17 #include "chrome/browser/autocomplete/autocomplete_edit_view.h" | 17 #include "chrome/browser/autocomplete/autocomplete_edit_view.h" |
| 18 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | 18 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" |
| 19 #include "chrome/browser/ui/toolbar/toolbar_model.h" | 19 #include "chrome/browser/ui/toolbar/toolbar_model.h" |
| 20 #include "chrome/common/page_transition_types.h" | |
| 21 #include "content/common/notification_observer.h" | 20 #include "content/common/notification_observer.h" |
| 22 #include "content/common/notification_registrar.h" | 21 #include "content/common/notification_registrar.h" |
| 22 #include "content/common/page_transition_types.h" |
| 23 #include "ui/base/animation/animation_delegate.h" | 23 #include "ui/base/animation/animation_delegate.h" |
| 24 #include "ui/base/gtk/gtk_signal.h" | 24 #include "ui/base/gtk/gtk_signal.h" |
| 25 #include "ui/base/gtk/gtk_signal_registrar.h" | 25 #include "ui/base/gtk/gtk_signal_registrar.h" |
| 26 #include "ui/gfx/rect.h" | 26 #include "ui/gfx/rect.h" |
| 27 #include "webkit/glue/window_open_disposition.h" | 27 #include "webkit/glue/window_open_disposition.h" |
| 28 | 28 |
| 29 class AutocompleteEditController; | 29 class AutocompleteEditController; |
| 30 class AutocompleteEditModel; | 30 class AutocompleteEditModel; |
| 31 class AutocompletePopupView; | 31 class AutocompletePopupView; |
| 32 class Profile; | 32 class Profile; |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 // The view that is going to be focused next. Only valid while handling | 541 // The view that is going to be focused next. Only valid while handling |
| 542 // "focus-out" events. | 542 // "focus-out" events. |
| 543 GtkWidget* going_to_focus_; | 543 GtkWidget* going_to_focus_; |
| 544 | 544 |
| 545 ui::GtkSignalRegistrar signals_; | 545 ui::GtkSignalRegistrar signals_; |
| 546 | 546 |
| 547 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewGtk); | 547 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewGtk); |
| 548 }; | 548 }; |
| 549 | 549 |
| 550 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_ | 550 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_GTK_H_ |
| OLD | NEW |