OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_POPUP_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_GTK_H_ |
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_GTK_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 #include <map> | 10 #include <map> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
15 #include "chrome/browser/autocomplete/autocomplete_match.h" | 15 #include "chrome/browser/autocomplete/autocomplete_match.h" |
16 #include "chrome/browser/autocomplete/autocomplete_popup_view.h" | 16 #include "chrome/browser/autocomplete/autocomplete_popup_view.h" |
17 #include "chrome/common/notification_observer.h" | 17 #include "chrome/common/notification_observer.h" |
18 #include "chrome/common/notification_registrar.h" | 18 #include "chrome/common/notification_registrar.h" |
19 #include "gfx/font.h" | 19 #include "ui/gfx/font.h" |
20 #include "webkit/glue/window_open_disposition.h" | 20 #include "webkit/glue/window_open_disposition.h" |
21 | 21 |
22 class AutocompleteEditModel; | 22 class AutocompleteEditModel; |
23 class AutocompleteEditView; | 23 class AutocompleteEditView; |
24 class AutocompletePopupModel; | 24 class AutocompletePopupModel; |
25 class GtkThemeProvider; | 25 class GtkThemeProvider; |
26 class Profile; | 26 class Profile; |
27 class SkBitmap; | 27 class SkBitmap; |
28 | 28 |
29 class AutocompletePopupViewGtk : public AutocompletePopupView, | 29 class AutocompletePopupViewGtk : public AutocompletePopupView, |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 // erroneously ignore the next drag. | 149 // erroneously ignore the next drag. |
150 bool ignore_mouse_drag_; | 150 bool ignore_mouse_drag_; |
151 | 151 |
152 // Whether our popup is currently open / shown, or closed / hidden. | 152 // Whether our popup is currently open / shown, or closed / hidden. |
153 bool opened_; | 153 bool opened_; |
154 | 154 |
155 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupViewGtk); | 155 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupViewGtk); |
156 }; | 156 }; |
157 | 157 |
158 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_GTK_H_ | 158 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_GTK_H_ |
OLD | NEW |