| 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_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 virtual void NavigationStateChanged(const content::WebContents* source, | 223 virtual void NavigationStateChanged(const content::WebContents* source, |
| 224 unsigned changed_flags) OVERRIDE; | 224 unsigned changed_flags) OVERRIDE; |
| 225 virtual void AddNewContents(content::WebContents* source, | 225 virtual void AddNewContents(content::WebContents* source, |
| 226 content::WebContents* new_contents, | 226 content::WebContents* new_contents, |
| 227 WindowOpenDisposition disposition, | 227 WindowOpenDisposition disposition, |
| 228 const gfx::Rect& initial_pos, | 228 const gfx::Rect& initial_pos, |
| 229 bool user_gesture, | 229 bool user_gesture, |
| 230 bool* was_blocked) OVERRIDE; | 230 bool* was_blocked) OVERRIDE; |
| 231 virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE; | 231 virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE; |
| 232 virtual bool ShouldSuppressDialogs() OVERRIDE; | 232 virtual bool ShouldSuppressDialogs() OVERRIDE; |
| 233 virtual content::JavaScriptDialogCreator* | 233 virtual content::JavaScriptDialogManager* |
| 234 GetJavaScriptDialogCreator() OVERRIDE; | 234 GetJavaScriptDialogManager() OVERRIDE; |
| 235 | 235 |
| 236 // Overridden from content::NotificationObserver: | 236 // Overridden from content::NotificationObserver: |
| 237 virtual void Observe(int type, | 237 virtual void Observe(int type, |
| 238 const content::NotificationSource& source, | 238 const content::NotificationSource& source, |
| 239 const content::NotificationDetails& details) OVERRIDE; | 239 const content::NotificationDetails& details) OVERRIDE; |
| 240 | 240 |
| 241 // Overridden from MessageLoop::Observer: | 241 // Overridden from MessageLoop::Observer: |
| 242 virtual base::EventStatus WillProcessEvent( | 242 virtual base::EventStatus WillProcessEvent( |
| 243 const base::NativeEvent& event) OVERRIDE; | 243 const base::NativeEvent& event) OVERRIDE; |
| 244 virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; | 244 virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 // If non-null set to true from destructor. | 600 // If non-null set to true from destructor. |
| 601 bool* destroyed_; | 601 bool* destroyed_; |
| 602 | 602 |
| 603 // See description above getter. | 603 // See description above getter. |
| 604 bool is_mutating_; | 604 bool is_mutating_; |
| 605 | 605 |
| 606 DISALLOW_COPY_AND_ASSIGN(TabDragController); | 606 DISALLOW_COPY_AND_ASSIGN(TabDragController); |
| 607 }; | 607 }; |
| 608 | 608 |
| 609 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ | 609 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ |
| OLD | NEW |