OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/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/ui/views/frame/browser_frame.h" | 7 #include "chrome/browser/ui/views/frame/browser_frame.h" |
8 #include "ui/base/hit_test.h" | 8 #include "ui/base/hit_test.h" |
9 #include "ui/gfx/point.h" | 9 #include "ui/gfx/point.h" |
10 #include "ui/gfx/rect.h" | 10 #include "ui/gfx/rect.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 gfx::Rect PopupNonClientFrameView::GetBoundsForTabStrip( | 41 gfx::Rect PopupNonClientFrameView::GetBoundsForTabStrip( |
42 views::View* tabstrip) const { | 42 views::View* tabstrip) const { |
43 return gfx::Rect(0, 0, width(), tabstrip->GetPreferredSize().height()); | 43 return gfx::Rect(0, 0, width(), tabstrip->GetPreferredSize().height()); |
44 } | 44 } |
45 | 45 |
46 BrowserNonClientFrameView::TabStripInsets | 46 BrowserNonClientFrameView::TabStripInsets |
47 PopupNonClientFrameView::GetTabStripInsets(bool restored) const { | 47 PopupNonClientFrameView::GetTabStripInsets(bool restored) const { |
48 return TabStripInsets(); | 48 return TabStripInsets(); |
49 } | 49 } |
50 | 50 |
| 51 int PopupNonClientFrameView::GetThemeBackgroundXInset() const { |
| 52 return 0; |
| 53 } |
| 54 |
51 void PopupNonClientFrameView::UpdateThrobber(bool running) { | 55 void PopupNonClientFrameView::UpdateThrobber(bool running) { |
52 } | 56 } |
OLD | NEW |