Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2447)

Unified Diff: chrome/browser/chromeos/compact_location_bar_host.cc

Issue 543215: Added Star button to compact navigation mode.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/compact_location_bar_host.cc
===================================================================
--- chrome/browser/chromeos/compact_location_bar_host.cc (revision 38044)
+++ chrome/browser/chromeos/compact_location_bar_host.cc (working copy)
@@ -4,6 +4,8 @@
#include "chrome/browser/chromeos/compact_location_bar_host.h"
+#include <algorithm>
+
#include "app/slide_animation.h"
#include "base/keyboard_codes.h"
#include "chrome/browser/browser.h"
@@ -19,6 +21,7 @@
#include "chrome/browser/views/frame/browser_view.h"
#include "chrome/browser/views/tabs/tab.h"
#include "chrome/browser/views/tabs/tab_strip.h"
+#include "chrome/browser/views/toolbar_star_toggle.h"
#include "views/controls/scrollbar/native_scroll_bar.h"
#include "views/focus/external_focus_tracker.h"
#include "views/focus/view_storage.h"
@@ -258,6 +261,10 @@
}
}
+ToolbarStarToggle* CompactLocationBarHost::GetStarButton() {
+ return GetClbView()->star_button();
+}
+
void CompactLocationBarHost::Show(bool a) {
MessageLoopForUI::current()->AddObserver(mouse_observer_.get());
DropdownBarHost::Show(a);
« no previous file with comments | « chrome/browser/chromeos/compact_location_bar_host.h ('k') | chrome/browser/chromeos/compact_location_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698