Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: chrome/browser/gtk/bookmark_bar_gtk.h

Issue 159256: Bookmark bar: Don't connect to the OnDragDrop signal since we can just use th... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/gtk/bookmark_bar_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_GTK_BOOKMARK_BAR_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_
6 #define CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_ 6 #define CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 static gboolean OnToolbarDragMotion(GtkToolbar* toolbar, 176 static gboolean OnToolbarDragMotion(GtkToolbar* toolbar,
177 GdkDragContext* context, 177 GdkDragContext* context,
178 gint x, 178 gint x,
179 gint y, 179 gint y,
180 guint time, 180 guint time,
181 BookmarkBarGtk* bar); 181 BookmarkBarGtk* bar);
182 static void OnToolbarDragLeave(GtkToolbar* toolbar, 182 static void OnToolbarDragLeave(GtkToolbar* toolbar,
183 GdkDragContext* context, 183 GdkDragContext* context,
184 guint time, 184 guint time,
185 BookmarkBarGtk* bar); 185 BookmarkBarGtk* bar);
186 static gboolean OnToolbarDragDrop(GtkWidget* widget, GdkDragContext* context,
187 gint x, gint y, guint time,
188 BookmarkBarGtk* bar);
189 static void OnToolbarDragReceived(GtkWidget* widget, 186 static void OnToolbarDragReceived(GtkWidget* widget,
190 GdkDragContext* context, 187 GdkDragContext* context,
191 gint x, gint y, 188 gint x, gint y,
192 GtkSelectionData* selection_data, 189 GtkSelectionData* selection_data,
193 guint target_type, guint time, 190 guint target_type, guint time,
194 BookmarkBarGtk* bar); 191 BookmarkBarGtk* bar);
195 192
196 // GtkHBox callbacks. 193 // GtkHBox callbacks.
197 static gboolean OnHBoxExpose(GtkWidget* widget, GdkEventExpose* event, 194 static gboolean OnHBoxExpose(GtkWidget* widget, GdkEventExpose* event,
198 BookmarkBarGtk* window); 195 BookmarkBarGtk* window);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 250
254 // Paints the background for our bookmark bar. 251 // Paints the background for our bookmark bar.
255 scoped_ptr<NineBox> background_ninebox_; 252 scoped_ptr<NineBox> background_ninebox_;
256 253
257 scoped_ptr<SlideAnimation> slide_animation_; 254 scoped_ptr<SlideAnimation> slide_animation_;
258 255
259 NotificationRegistrar registrar_; 256 NotificationRegistrar registrar_;
260 }; 257 };
261 258
262 #endif // CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_ 259 #endif // CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/gtk/bookmark_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698