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

Side by Side Diff: chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.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_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ 6 #define CHROME_BROWSER_UI_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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 TabContents* new_contents, 81 TabContents* new_contents,
82 WindowOpenDisposition disposition, 82 WindowOpenDisposition disposition,
83 const gfx::Rect& initial_pos, 83 const gfx::Rect& initial_pos,
84 bool user_gesture); 84 bool user_gesture);
85 virtual void LoadingStateChanged(TabContents* source); 85 virtual void LoadingStateChanged(TabContents* source);
86 virtual bool IsPopup(const TabContents* source) const; 86 virtual bool IsPopup(const TabContents* source) const;
87 virtual content::JavaScriptDialogCreator* 87 virtual content::JavaScriptDialogCreator*
88 GetJavaScriptDialogCreator() OVERRIDE; 88 GetJavaScriptDialogCreator() OVERRIDE;
89 89
90 // Overridden from NotificationObserver: 90 // Overridden from NotificationObserver:
91 virtual void Observe(NotificationType type, 91 virtual void Observe(int type,
92 const NotificationSource& source, 92 const NotificationSource& source,
93 const NotificationDetails& details); 93 const NotificationDetails& details);
94 94
95 // Initialize the offset used to calculate the position to create windows 95 // Initialize the offset used to calculate the position to create windows
96 // in |GetWindowCreatePoint|. 96 // in |GetWindowCreatePoint|.
97 void InitWindowCreatePoint(); 97 void InitWindowCreatePoint();
98 98
99 // Returns the point where a detached window should be created given the 99 // Returns the point where a detached window should be created given the
100 // current mouse position. 100 // current mouse position.
101 gfx::Point GetWindowCreatePoint() const; 101 gfx::Point GetWindowCreatePoint() const;
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 258
259 // Timer used to bring the window under the cursor to front. If the user 259 // Timer used to bring the window under the cursor to front. If the user
260 // stops moving the mouse for a brief time over a browser window, it is 260 // stops moving the mouse for a brief time over a browser window, it is
261 // brought to front. 261 // brought to front.
262 base::OneShotTimer<DraggedTabControllerGtk> bring_to_front_timer_; 262 base::OneShotTimer<DraggedTabControllerGtk> bring_to_front_timer_;
263 263
264 DISALLOW_COPY_AND_ASSIGN(DraggedTabControllerGtk); 264 DISALLOW_COPY_AND_ASSIGN(DraggedTabControllerGtk);
265 }; 265 };
266 266
267 #endif // CHROME_BROWSER_UI_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ 267 #endif // CHROME_BROWSER_UI_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/tab_contents_container_gtk.cc ('k') | chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698