summaryrefslogtreecommitdiffstats
path: root/chrome/browser/toolbar_model.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/toolbar_model.cc')
-rw-r--r--chrome/browser/toolbar_model.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/chrome/browser/toolbar_model.cc b/chrome/browser/toolbar_model.cc
index 6661fb0..93a224c 100644
--- a/chrome/browser/toolbar_model.cc
+++ b/chrome/browser/toolbar_model.cc
@@ -15,7 +15,6 @@
#include "chrome/common/pref_service.h"
#include "grit/generated_resources.h"
#include "net/base/net_util.h"
-#include "webkit/glue/feed.h"
ToolbarModel::ToolbarModel() : input_in_progress_(false) {
@@ -108,21 +107,6 @@ ToolbarModel::Icon ToolbarModel::GetIcon() {
}
}
-scoped_refptr<FeedList> ToolbarModel::GetFeedList() {
- if (input_in_progress_)
- return NULL;
-
- NavigationController* navigation_controller = GetNavigationController();
- if (!navigation_controller) // We might not have a controller on init.
- return NULL;
-
- NavigationEntry* entry = navigation_controller->GetActiveEntry();
- if (!entry)
- return NULL;
-
- return entry->feedlist();
-}
-
void ToolbarModel::GetIconHoverText(std::wstring* text, SkColor* text_color) {
static const SkColor kOKHttpsInfoBubbleTextColor =
SkColorSetRGB(0, 153, 51); // Green.