| OLD | NEW |
| 1 // Copyright (c) 2010 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/views/frame/popup_non_client_frame_view.h" | 5 #include "chrome/browser/ui/views/frame/popup_non_client_frame_view.h" |
| 6 | 6 |
| 7 #include "chrome/browser/views/tabs/base_tab_strip.h" | 7 #include "chrome/browser/ui/views/tabs/base_tab_strip.h" |
| 8 #include "gfx/point.h" | 8 #include "gfx/point.h" |
| 9 #include "gfx/rect.h" | 9 #include "gfx/rect.h" |
| 10 #include "gfx/size.h" | 10 #include "gfx/size.h" |
| 11 | 11 |
| 12 #if defined(OS_LINUX) | 12 #if defined(OS_LINUX) |
| 13 #include "views/window/hit_test.h" | 13 #include "views/window/hit_test.h" |
| 14 #endif | 14 #endif |
| 15 | 15 |
| 16 gfx::Rect PopupNonClientFrameView::GetBoundsForClientView() const { | 16 gfx::Rect PopupNonClientFrameView::GetBoundsForClientView() const { |
| 17 return gfx::Rect(0, 0, width(), height()); | 17 return gfx::Rect(0, 0, width(), height()); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 return gfx::Rect(0, 0, width(), tabstrip->GetPreferredHeight()); | 49 return gfx::Rect(0, 0, width(), tabstrip->GetPreferredHeight()); |
| 50 } | 50 } |
| 51 | 51 |
| 52 int PopupNonClientFrameView::GetHorizontalTabStripVerticalOffset( | 52 int PopupNonClientFrameView::GetHorizontalTabStripVerticalOffset( |
| 53 bool restored) const { | 53 bool restored) const { |
| 54 return 0; | 54 return 0; |
| 55 } | 55 } |
| 56 | 56 |
| 57 void PopupNonClientFrameView::UpdateThrobber(bool running) { | 57 void PopupNonClientFrameView::UpdateThrobber(bool running) { |
| 58 } | 58 } |
| OLD | NEW |