| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ | 6 #define CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/gfx/rect.h" | 8 #include "base/gfx/rect.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "chrome/browser/tab_contents_delegate.h" | 10 #include "chrome/browser/tab_contents_delegate.h" |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 virtual void AddNewContents(TabContents* source, | 90 virtual void AddNewContents(TabContents* source, |
| 91 TabContents* new_contents, | 91 TabContents* new_contents, |
| 92 WindowOpenDisposition disposition, | 92 WindowOpenDisposition disposition, |
| 93 const gfx::Rect& initial_pos, | 93 const gfx::Rect& initial_pos, |
| 94 bool user_gesture); | 94 bool user_gesture); |
| 95 virtual void ActivateContents(TabContents* contents); | 95 virtual void ActivateContents(TabContents* contents); |
| 96 virtual void LoadingStateChanged(TabContents* source); | 96 virtual void LoadingStateChanged(TabContents* source); |
| 97 virtual void CloseContents(TabContents* source); | 97 virtual void CloseContents(TabContents* source); |
| 98 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); | 98 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); |
| 99 virtual bool IsPopup(TabContents* source); | 99 virtual bool IsPopup(TabContents* source); |
| 100 virtual bool IsEmbedded(TabContents* source); |
| 100 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); | 101 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); |
| 101 virtual void URLStarredChanged(TabContents* source, bool starred); | 102 virtual void URLStarredChanged(TabContents* source, bool starred); |
| 102 virtual void UpdateTargetURL(TabContents* source, const GURL& url); | 103 virtual void UpdateTargetURL(TabContents* source, const GURL& url); |
| 103 | 104 |
| 104 // Overridden from NotificationObserver: | 105 // Overridden from NotificationObserver: |
| 105 virtual void Observe(NotificationType type, | 106 virtual void Observe(NotificationType type, |
| 106 const NotificationSource& source, | 107 const NotificationSource& source, |
| 107 const NotificationDetails& details); | 108 const NotificationDetails& details); |
| 108 | 109 |
| 109 // Overridden from MessageLoop::Observer: | 110 // Overridden from MessageLoop::Observer: |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 | 278 |
| 278 // The horizontal position of the mouse cursor in screen coordinates at the | 279 // The horizontal position of the mouse cursor in screen coordinates at the |
| 279 // time of the last re-order event. | 280 // time of the last re-order event. |
| 280 int last_move_screen_x_; | 281 int last_move_screen_x_; |
| 281 | 282 |
| 282 DISALLOW_COPY_AND_ASSIGN(DraggedTabController); | 283 DISALLOW_COPY_AND_ASSIGN(DraggedTabController); |
| 283 }; | 284 }; |
| 284 | 285 |
| 285 #endif // CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ | 286 #endif // CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ |
| 286 | 287 |
| OLD | NEW |