OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 void ShowFirstRunBubble() override; | 303 void ShowFirstRunBubble() override; |
304 GURL GetDestinationURL() const override; | 304 GURL GetDestinationURL() const override; |
305 WindowOpenDisposition GetWindowOpenDisposition() const override; | 305 WindowOpenDisposition GetWindowOpenDisposition() const override; |
306 ui::PageTransition GetPageTransition() const override; | 306 ui::PageTransition GetPageTransition() const override; |
307 void AcceptInput() override; | 307 void AcceptInput() override; |
308 void FocusSearch() override; | 308 void FocusSearch() override; |
309 void UpdateContentSettingsIcons() override; | 309 void UpdateContentSettingsIcons() override; |
310 void UpdateManagePasswordsIconAndBubble() override; | 310 void UpdateManagePasswordsIconAndBubble() override; |
311 void UpdateSaveCreditCardIcon() override; | 311 void UpdateSaveCreditCardIcon() override; |
312 void UpdateBookmarkStarVisibility() override; | 312 void UpdateBookmarkStarVisibility() override; |
| 313 void UpdateZoomViewVisibility() override; |
313 void UpdateLocationBarVisibility(bool visible, bool animation) override; | 314 void UpdateLocationBarVisibility(bool visible, bool animation) override; |
314 void SaveStateToContents(content::WebContents* contents) override; | 315 void SaveStateToContents(content::WebContents* contents) override; |
315 const OmniboxView* GetOmniboxView() const override; | 316 const OmniboxView* GetOmniboxView() const override; |
316 LocationBarTesting* GetLocationBarForTesting() override; | 317 LocationBarTesting* GetLocationBarForTesting() override; |
317 | 318 |
318 // LocationBarTesting: | 319 // LocationBarTesting: |
319 bool GetBookmarkStarVisibility() override; | 320 bool GetBookmarkStarVisibility() override; |
320 bool TestContentSettingImagePressed(size_t index) override; | 321 bool TestContentSettingImagePressed(size_t index) override; |
321 | 322 |
322 // views::View: | 323 // views::View: |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 // Add/RemoveObserver calls. | 415 // Add/RemoveObserver calls. |
415 TemplateURLService* template_url_service_; | 416 TemplateURLService* template_url_service_; |
416 | 417 |
417 // Tracks this preference to determine whether bookmark editing is allowed. | 418 // Tracks this preference to determine whether bookmark editing is allowed. |
418 BooleanPrefMember edit_bookmarks_enabled_; | 419 BooleanPrefMember edit_bookmarks_enabled_; |
419 | 420 |
420 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 421 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
421 }; | 422 }; |
422 | 423 |
423 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 424 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
OLD | NEW |