diff options
Diffstat (limited to 'chrome/browser/chromeos/frame/browser_view.cc')
| -rw-r--r-- | chrome/browser/chromeos/frame/browser_view.cc | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/chrome/browser/chromeos/frame/browser_view.cc b/chrome/browser/chromeos/frame/browser_view.cc index bf2dac7..d6aff2f 100644 --- a/chrome/browser/chromeos/frame/browser_view.cc +++ b/chrome/browser/chromeos/frame/browser_view.cc @@ -28,7 +28,6 @@ #include "chrome/browser/views/tabs/tab.h" #include "chrome/browser/views/tabs/tab_strip.h" #include "chrome/browser/views/toolbar_view.h" -#include "chrome/browser/views/toolbar_star_toggle.h" #include "gfx/canvas.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" @@ -440,19 +439,6 @@ void BrowserView::ChildPreferredSizeChanged(View* child) { SchedulePaint(); } -void BrowserView::SetStarredState(bool is_starred) { - ::BrowserView::SetStarredState(is_starred); - compact_location_bar_host_->GetStarButton()->SetToggled(is_starred); -} - -void BrowserView::ShowBookmarkBubble(const GURL& url, bool already_bookmarked) { - if (is_compact_style()) - compact_location_bar_host_->GetStarButton()->ShowStarBubble( - url, !already_bookmarked); - else - ::BrowserView::ShowBookmarkBubble(url, already_bookmarked); -} - // views::ButtonListener overrides. void BrowserView::ButtonPressed(views::Button* sender, const views::Event& event) { @@ -463,7 +449,7 @@ void BrowserView::ButtonPressed(views::Button* sender, origin.Offset(kAppLauncherLeftPadding, 0); views::RootView::ConvertPointToScreen(this, &origin); bounds.set_origin(origin); - ::AppLauncher::Show(browser(), bounds); + ::AppLauncher::Show(browser(), bounds, gfx::Point()); } // views::ContextMenuController overrides. |
