OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ |
7 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 GdkDragContext*, gint, gint, GtkSelectionData*, | 172 GdkDragContext*, gint, gint, GtkSelectionData*, |
173 guint, guint); | 173 guint, guint); |
174 CHROMEGTK_CALLBACK_4(OmniboxViewGtk, void, HandleDragDataGet, | 174 CHROMEGTK_CALLBACK_4(OmniboxViewGtk, void, HandleDragDataGet, |
175 GdkDragContext*, GtkSelectionData*, guint, guint); | 175 GdkDragContext*, GtkSelectionData*, guint, guint); |
176 CHROMEGTK_CALLBACK_1(OmniboxViewGtk, void, HandleDragBegin, | 176 CHROMEGTK_CALLBACK_1(OmniboxViewGtk, void, HandleDragBegin, |
177 GdkDragContext*); | 177 GdkDragContext*); |
178 CHROMEGTK_CALLBACK_1(OmniboxViewGtk, void, HandleDragEnd, | 178 CHROMEGTK_CALLBACK_1(OmniboxViewGtk, void, HandleDragEnd, |
179 GdkDragContext*); | 179 GdkDragContext*); |
180 CHROMEGTK_CALLBACK_0(OmniboxViewGtk, void, HandleBackSpace); | 180 CHROMEGTK_CALLBACK_0(OmniboxViewGtk, void, HandleBackSpace); |
181 CHROMEGTK_CALLBACK_0(OmniboxViewGtk, void, HandleCopyClipboard); | 181 CHROMEGTK_CALLBACK_0(OmniboxViewGtk, void, HandleCopyClipboard); |
| 182 CHROMEGTK_CALLBACK_0(OmniboxViewGtk, void, HandleCopyURLClipboard); |
182 CHROMEGTK_CALLBACK_0(OmniboxViewGtk, void, HandleCutClipboard); | 183 CHROMEGTK_CALLBACK_0(OmniboxViewGtk, void, HandleCutClipboard); |
183 CHROMEGTK_CALLBACK_0(OmniboxViewGtk, void, HandlePasteClipboard); | 184 CHROMEGTK_CALLBACK_0(OmniboxViewGtk, void, HandlePasteClipboard); |
184 CHROMEGTK_CALLBACK_1(OmniboxViewGtk, gboolean, HandleExposeEvent, | 185 CHROMEGTK_CALLBACK_1(OmniboxViewGtk, gboolean, HandleExposeEvent, |
185 GdkEventExpose*); | 186 GdkEventExpose*); |
186 CHROMEGTK_CALLBACK_1(OmniboxViewGtk, void, HandleWidgetDirectionChanged, | 187 CHROMEGTK_CALLBACK_1(OmniboxViewGtk, void, HandleWidgetDirectionChanged, |
187 GtkTextDirection); | 188 GtkTextDirection); |
188 CHROMEGTK_CALLBACK_2(OmniboxViewGtk, void, HandleDeleteFromCursor, | 189 CHROMEGTK_CALLBACK_2(OmniboxViewGtk, void, HandleDeleteFromCursor, |
189 GtkDeleteType, gint); | 190 GtkDeleteType, gint); |
190 // We connect to this so we can determine our toplevel window, so we can | 191 // We connect to this so we can determine our toplevel window, so we can |
191 // listen to focus change events on it. | 192 // listen to focus change events on it. |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 // The view that is going to be focused next. Only valid while handling | 464 // The view that is going to be focused next. Only valid while handling |
464 // "focus-out" events. | 465 // "focus-out" events. |
465 GtkWidget* going_to_focus_; | 466 GtkWidget* going_to_focus_; |
466 | 467 |
467 ui::GtkSignalRegistrar signals_; | 468 ui::GtkSignalRegistrar signals_; |
468 | 469 |
469 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); | 470 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); |
470 }; | 471 }; |
471 | 472 |
472 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ | 473 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ |
OLD | NEW |