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

Side by Side Diff: chrome/browser/dock_info.h

Issue 273017: Move native_widget_types and gtk_native_view_id_manager from base/gfx to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « chrome/browser/cocoa/extension_view_mac.h ('k') | chrome/browser/dock_info_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_DOCK_INFO_H_ 5 #ifndef CHROME_BROWSER_DOCK_INFO_H_
6 #define CHROME_BROWSER_DOCK_INFO_H_ 6 #define CHROME_BROWSER_DOCK_INFO_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/gfx/native_widget_types.h" 10 #include "app/gfx/native_widget_types.h"
11 #include "base/gfx/point.h" 11 #include "base/gfx/point.h"
12 #include "base/gfx/rect.h" 12 #include "base/gfx/rect.h"
13 13
14 // DockInfo is used to do determine possible dock locations for a dragged 14 // DockInfo is used to do determine possible dock locations for a dragged
15 // tab. To use DockInfo invoke GetDockInfoAtPoint. This returns a new 15 // tab. To use DockInfo invoke GetDockInfoAtPoint. This returns a new
16 // DockInfo whose type indicates the type of dock that should occur based 16 // DockInfo whose type indicates the type of dock that should occur based
17 // on the screen location. As the user drags the mouse around invoke 17 // on the screen location. As the user drags the mouse around invoke
18 // IsValidForPoint, this returns true if the DockInfo is still valid for the 18 // IsValidForPoint, this returns true if the DockInfo is still valid for the
19 // new location. If the DockInfo is not valid, invoke GetDockInfoAtPoint to 19 // new location. If the DockInfo is not valid, invoke GetDockInfoAtPoint to
20 // get the new DockInfo. Use GetNewWindowBounds to get the position to place 20 // get the new DockInfo. Use GetNewWindowBounds to get the position to place
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 gfx::Point hot_spot_; 177 gfx::Point hot_spot_;
178 gfx::Rect monitor_bounds_; 178 gfx::Rect monitor_bounds_;
179 bool in_enable_area_; 179 bool in_enable_area_;
180 180
181 // Factory that creates DockInfos. By default this is NULL, which gives the 181 // Factory that creates DockInfos. By default this is NULL, which gives the
182 // default behavior. 182 // default behavior.
183 static Factory* factory_; 183 static Factory* factory_;
184 }; 184 };
185 185
186 #endif // CHROME_BROWSER_DOCK_INFO_H_ 186 #endif // CHROME_BROWSER_DOCK_INFO_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/extension_view_mac.h ('k') | chrome/browser/dock_info_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698