| Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/location_bar/location_bar_view.cc (revision 84320)
|
| +++ chrome/browser/ui/views/location_bar/location_bar_view.cc (working copy)
|
| @@ -120,7 +120,8 @@
|
| mode_(mode),
|
| show_focus_rect_(false),
|
| bubble_type_(FirstRun::MINIMAL_BUBBLE),
|
| - template_url_model_(NULL) {
|
| + template_url_model_(NULL),
|
| + animation_offset_(0) {
|
| DCHECK(profile_);
|
| SetID(VIEW_ID_LOCATION_BAR);
|
| SetFocusable(true);
|
| @@ -269,6 +270,15 @@
|
| }
|
| }
|
|
|
| +// DropdownBarHostDelegate
|
| +void LocationBarView::SetFocusAndSelection(bool select_all) {
|
| + FocusLocation(select_all);
|
| +}
|
| +
|
| +void LocationBarView::SetAnimationOffset(int offset) {
|
| + animation_offset_ = offset;
|
| +}
|
| +
|
| void LocationBarView::Update(const TabContents* tab_for_state_restoring) {
|
| bool star_enabled = star_view_ && !model_->input_in_progress() &&
|
| edit_bookmarks_enabled_.GetValue();
|
|
|