OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/chromeos/frame/panel_browser_view.h" | 5 #include "chrome/browser/chromeos/frame/panel_browser_view.h" |
6 | 6 |
7 #include "chrome/browser/chromeos/frame/panel_controller.h" | 7 #include "chrome/browser/chromeos/frame/panel_controller.h" |
8 #include "third_party/cros/chromeos_wm_ipc_enums.h" | 8 #include "cros/chromeos_wm_ipc_enums.h" |
9 #include "views/window/window.h" | 9 #include "views/window/window.h" |
10 | 10 |
11 namespace chromeos { | 11 namespace chromeos { |
12 | 12 |
13 PanelBrowserView::PanelBrowserView(Browser* browser) | 13 PanelBrowserView::PanelBrowserView(Browser* browser) |
14 : BrowserView(browser), | 14 : BrowserView(browser), |
15 creator_xid_(0) { | 15 creator_xid_(0) { |
16 } | 16 } |
17 | 17 |
18 //////////////////////////////////////////////////////////////////////////////// | 18 //////////////////////////////////////////////////////////////////////////////// |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 80 |
81 SkBitmap PanelBrowserView::GetPanelIcon() { | 81 SkBitmap PanelBrowserView::GetPanelIcon() { |
82 return browser()->GetCurrentPageIcon(); | 82 return browser()->GetCurrentPageIcon(); |
83 } | 83 } |
84 | 84 |
85 void PanelBrowserView::ClosePanel() { | 85 void PanelBrowserView::ClosePanel() { |
86 Close(); | 86 Close(); |
87 } | 87 } |
88 | 88 |
89 } // namespace chromeos | 89 } // namespace chromeos |
OLD | NEW |