OLD | NEW |
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 #include "chrome/browser/ui/tabs/dock_info.h" | 5 #include "chrome/browser/ui/tabs/dock_info.h" |
6 | 6 |
7 #include "base/win/scoped_gdi_object.h" | |
8 #include "chrome/browser/ui/browser_list.h" | 7 #include "chrome/browser/ui/browser_list.h" |
9 #include "chrome/browser/ui/browser_window.h" | 8 #include "chrome/browser/ui/browser_window.h" |
10 #include "chrome/browser/ui/views/frame/browser_view.h" | 9 #include "chrome/browser/ui/views/frame/browser_view.h" |
11 #include "chrome/browser/ui/views/tabs/tab.h" | 10 #include "chrome/browser/ui/views/tabs/tab.h" |
12 #include "ui/gfx/screen.h" | 11 #include "ui/gfx/screen.h" |
| 12 #if defined(OS_WIN) |
| 13 #include "base/win/scoped_gdi_object.h" |
| 14 #endif |
13 | 15 |
14 // DockInfo ------------------------------------------------------------------- | 16 // DockInfo ------------------------------------------------------------------- |
15 | 17 |
16 // static | 18 // static |
17 DockInfo DockInfo::GetDockInfoAtPoint(const gfx::Point& screen_point, | 19 DockInfo DockInfo::GetDockInfoAtPoint(const gfx::Point& screen_point, |
18 const std::set<gfx::NativeView>& ignore) { | 20 const std::set<gfx::NativeView>& ignore) { |
19 // TODO(beng): | 21 // TODO(beng): |
20 NOTIMPLEMENTED(); | 22 NOTIMPLEMENTED(); |
21 return DockInfo(); | 23 return DockInfo(); |
22 } | 24 } |
23 | 25 |
24 gfx::NativeView DockInfo::GetLocalProcessWindowAtPoint( | 26 gfx::NativeView DockInfo::GetLocalProcessWindowAtPoint( |
25 const gfx::Point& screen_point, | 27 const gfx::Point& screen_point, |
26 const std::set<gfx::NativeView>& ignore) { | 28 const std::set<gfx::NativeView>& ignore) { |
27 // TODO(beng): | 29 // TODO(beng): |
28 NOTIMPLEMENTED(); | 30 NOTIMPLEMENTED(); |
29 return NULL; | 31 return NULL; |
30 } | 32 } |
31 | 33 |
32 bool DockInfo::GetWindowBounds(gfx::Rect* bounds) const { | 34 bool DockInfo::GetWindowBounds(gfx::Rect* bounds) const { |
33 // TODO(beng): | 35 // TODO(beng): |
34 NOTIMPLEMENTED(); | 36 NOTIMPLEMENTED(); |
35 return true; | 37 return true; |
36 } | 38 } |
37 | 39 |
38 void DockInfo::SizeOtherWindowTo(const gfx::Rect& bounds) const { | 40 void DockInfo::SizeOtherWindowTo(const gfx::Rect& bounds) const { |
39 // TODO(beng): | 41 // TODO(beng): |
40 NOTIMPLEMENTED(); | 42 NOTIMPLEMENTED(); |
41 } | 43 } |
OLD | NEW |