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/sidebar/sidebar_container.h" | 5 #include "chrome/browser/sidebar/sidebar_container.h" |
6 | 6 |
7 #include "chrome/browser/renderer_host/render_view_host.h" | 7 #include "chrome/browser/renderer_host/render_view_host.h" |
8 #include "chrome/browser/tab_contents/navigation_controller.h" | 8 #include "chrome/browser/tab_contents/navigation_controller.h" |
9 #include "chrome/browser/tab_contents/navigation_entry.h" | 9 #include "chrome/browser/tab_contents/navigation_entry.h" |
10 #include "chrome/browser/tab_contents/tab_contents.h" | 10 #include "chrome/browser/tab_contents/tab_contents.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 badge_text_ = badge_text; | 60 badge_text_ = badge_text; |
61 } | 61 } |
62 | 62 |
63 void SidebarContainer::SetIcon(const SkBitmap& bitmap) { | 63 void SidebarContainer::SetIcon(const SkBitmap& bitmap) { |
64 *icon_ = bitmap; | 64 *icon_ = bitmap; |
65 } | 65 } |
66 | 66 |
67 void SidebarContainer::SetTitle(const string16& title) { | 67 void SidebarContainer::SetTitle(const string16& title) { |
68 title_ = title; | 68 title_ = title; |
69 } | 69 } |
| 70 |
| 71 bool SidebarContainer::IsPopup(const TabContents* source) const { |
| 72 return false; |
| 73 } |
| 74 |
OLD | NEW |