| 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_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ | 6 #define CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 WindowOpenDisposition disposition, | 75 WindowOpenDisposition disposition, |
| 76 PageTransition::Type transition); | 76 PageTransition::Type transition); |
| 77 virtual void NavigationStateChanged(const TabContents* source, | 77 virtual void NavigationStateChanged(const TabContents* source, |
| 78 unsigned changed_flags); | 78 unsigned changed_flags); |
| 79 virtual void AddNewContents(TabContents* source, | 79 virtual void AddNewContents(TabContents* source, |
| 80 TabContents* new_contents, | 80 TabContents* new_contents, |
| 81 WindowOpenDisposition disposition, | 81 WindowOpenDisposition disposition, |
| 82 const gfx::Rect& initial_pos, | 82 const gfx::Rect& initial_pos, |
| 83 bool user_gesture); | 83 bool user_gesture); |
| 84 virtual void ActivateContents(TabContents* contents); | 84 virtual void ActivateContents(TabContents* contents); |
| 85 virtual void DeactivateContents(TabContents* contents); | |
| 86 virtual void LoadingStateChanged(TabContents* source); | 85 virtual void LoadingStateChanged(TabContents* source); |
| 87 virtual void CloseContents(TabContents* source); | 86 virtual void CloseContents(TabContents* source); |
| 88 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); | 87 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); |
| 89 virtual bool IsPopup(TabContents* source); | 88 virtual bool IsPopup(TabContents* source); |
| 90 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); | 89 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); |
| 91 virtual void URLStarredChanged(TabContents* source, bool starred); | 90 virtual void URLStarredChanged(TabContents* source, bool starred); |
| 92 virtual void UpdateTargetURL(TabContents* source, const GURL& url); | 91 virtual void UpdateTargetURL(TabContents* source, const GURL& url); |
| 93 | 92 |
| 94 // Overridden from NotificationObserver: | 93 // Overridden from NotificationObserver: |
| 95 virtual void Observe(NotificationType type, | 94 virtual void Observe(NotificationType type, |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 | 261 |
| 263 // Timer used to bring the window under the cursor to front. If the user | 262 // Timer used to bring the window under the cursor to front. If the user |
| 264 // stops moving the mouse for a brief time over a browser window, it is | 263 // stops moving the mouse for a brief time over a browser window, it is |
| 265 // brought to front. | 264 // brought to front. |
| 266 base::OneShotTimer<DraggedTabControllerGtk> bring_to_front_timer_; | 265 base::OneShotTimer<DraggedTabControllerGtk> bring_to_front_timer_; |
| 267 | 266 |
| 268 DISALLOW_COPY_AND_ASSIGN(DraggedTabControllerGtk); | 267 DISALLOW_COPY_AND_ASSIGN(DraggedTabControllerGtk); |
| 269 }; | 268 }; |
| 270 | 269 |
| 271 #endif // CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ | 270 #endif // CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ |
| OLD | NEW |