| OLD | NEW |
| 1 // Copyright (c) 2010 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 #include "chrome/browser/gtk/tabs/tab_gtk.h" | 5 #include "chrome/browser/gtk/tabs/tab_gtk.h" |
| 6 | 6 |
| 7 #include <gdk/gdkkeysyms.h> | 7 #include <gdk/gdkkeysyms.h> |
| 8 | 8 |
| 9 #include "app/gtk_dnd_util.h" | 9 #include "app/gtk_dnd_util.h" |
| 10 #include "app/menus/accelerator_gtk.h" | 10 #include "app/menus/accelerator_gtk.h" |
| 11 #include "base/singleton.h" | 11 #include "base/singleton.h" |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 gdk_event_free(last_mouse_down_); | 389 gdk_event_free(last_mouse_down_); |
| 390 last_mouse_down_ = NULL; | 390 last_mouse_down_ = NULL; |
| 391 } | 391 } |
| 392 | 392 |
| 393 // Notify the drag helper that we're done with any potential drag operations. | 393 // Notify the drag helper that we're done with any potential drag operations. |
| 394 // Clean up the drag helper, which is re-created on the next mouse press. | 394 // Clean up the drag helper, which is re-created on the next mouse press. |
| 395 delegate_->EndDrag(canceled); | 395 delegate_->EndDrag(canceled); |
| 396 | 396 |
| 397 observer_.reset(); | 397 observer_.reset(); |
| 398 } | 398 } |
| OLD | NEW |