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

Side by Side Diff: chrome/browser/ui/views/tabs/dragged_tab_controller.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
OLDNEW
1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 TabContents* new_contents, 139 TabContents* new_contents,
140 WindowOpenDisposition disposition, 140 WindowOpenDisposition disposition,
141 const gfx::Rect& initial_pos, 141 const gfx::Rect& initial_pos,
142 bool user_gesture) OVERRIDE; 142 bool user_gesture) OVERRIDE;
143 virtual void LoadingStateChanged(TabContents* source) OVERRIDE; 143 virtual void LoadingStateChanged(TabContents* source) OVERRIDE;
144 virtual bool ShouldSuppressDialogs() OVERRIDE; 144 virtual bool ShouldSuppressDialogs() OVERRIDE;
145 virtual content::JavaScriptDialogCreator* 145 virtual content::JavaScriptDialogCreator*
146 GetJavaScriptDialogCreator() OVERRIDE; 146 GetJavaScriptDialogCreator() OVERRIDE;
147 147
148 // Overridden from NotificationObserver: 148 // Overridden from NotificationObserver:
149 virtual void Observe(NotificationType type, 149 virtual void Observe(int type,
150 const NotificationSource& source, 150 const NotificationSource& source,
151 const NotificationDetails& details) OVERRIDE; 151 const NotificationDetails& details) OVERRIDE;
152 152
153 // Overridden from MessageLoop::Observer: 153 // Overridden from MessageLoop::Observer:
154 #if defined(OS_WIN) 154 #if defined(OS_WIN)
155 virtual void WillProcessMessage(const MSG& msg) OVERRIDE; 155 virtual void WillProcessMessage(const MSG& msg) OVERRIDE;
156 virtual void DidProcessMessage(const MSG& msg) OVERRIDE; 156 virtual void DidProcessMessage(const MSG& msg) OVERRIDE;
157 #elif defined(TOUCH_UI) 157 #elif defined(TOUCH_UI)
158 virtual EventStatus WillProcessXEvent(XEvent* xevent) OVERRIDE; 158 virtual EventStatus WillProcessXEvent(XEvent* xevent) OVERRIDE;
159 #elif defined(TOOLKIT_USES_GTK) 159 #elif defined(TOOLKIT_USES_GTK)
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 // Index of the source tab in drag_data_. 369 // Index of the source tab in drag_data_.
370 size_t source_tab_index_; 370 size_t source_tab_index_;
371 371
372 // True until |MoveAttached| is invoked once. 372 // True until |MoveAttached| is invoked once.
373 bool initial_move_; 373 bool initial_move_;
374 374
375 DISALLOW_COPY_AND_ASSIGN(DraggedTabController); 375 DISALLOW_COPY_AND_ASSIGN(DraggedTabController);
376 }; 376 };
377 377
378 #endif // CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ 378 #endif // CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc ('k') | chrome/browser/ui/views/tabs/dragged_tab_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698