| 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 18 matching lines...) Expand all Loading... |
| 29 #include "ui/gfx/geometry/rect.h" | 29 #include "ui/gfx/geometry/rect.h" |
| 30 #include "ui/views/drag_controller.h" | 30 #include "ui/views/drag_controller.h" |
| 31 | 31 |
| 32 class CommandUpdater; | 32 class CommandUpdater; |
| 33 class ContentSettingBubbleModelDelegate; | 33 class ContentSettingBubbleModelDelegate; |
| 34 class ContentSettingImageView; | 34 class ContentSettingImageView; |
| 35 class ExtensionAction; | 35 class ExtensionAction; |
| 36 class GURL; | 36 class GURL; |
| 37 class KeywordHintView; | 37 class KeywordHintView; |
| 38 class LocationIconView; | 38 class LocationIconView; |
| 39 class OpenPDFInReaderView; | |
| 40 class ManagePasswordsIconViews; | 39 class ManagePasswordsIconViews; |
| 41 class PageActionWithBadgeView; | 40 class PageActionWithBadgeView; |
| 42 class PageActionImageView; | 41 class PageActionImageView; |
| 43 class Profile; | 42 class Profile; |
| 44 class SelectedKeywordView; | 43 class SelectedKeywordView; |
| 45 class StarView; | 44 class StarView; |
| 46 class TemplateURLService; | 45 class TemplateURLService; |
| 47 class TranslateIconView; | 46 class TranslateIconView; |
| 48 class ZoomView; | 47 class ZoomView; |
| 49 | 48 |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 void AcceptInput() override; | 343 void AcceptInput() override; |
| 345 void FocusSearch() override; | 344 void FocusSearch() override; |
| 346 void UpdateContentSettingsIcons() override; | 345 void UpdateContentSettingsIcons() override; |
| 347 void UpdateManagePasswordsIconAndBubble() override; | 346 void UpdateManagePasswordsIconAndBubble() override; |
| 348 void UpdateSaveCreditCardIcon() override; | 347 void UpdateSaveCreditCardIcon() override; |
| 349 void UpdatePageActions() override; | 348 void UpdatePageActions() override; |
| 350 void UpdateBookmarkStarVisibility() override; | 349 void UpdateBookmarkStarVisibility() override; |
| 351 void UpdateLocationBarVisibility(bool visible, bool animation) override; | 350 void UpdateLocationBarVisibility(bool visible, bool animation) override; |
| 352 bool ShowPageActionPopup(const extensions::Extension* extension, | 351 bool ShowPageActionPopup(const extensions::Extension* extension, |
| 353 bool grant_active_tab) override; | 352 bool grant_active_tab) override; |
| 354 void UpdateOpenPDFInReaderPrompt() override; | |
| 355 void SaveStateToContents(content::WebContents* contents) override; | 353 void SaveStateToContents(content::WebContents* contents) override; |
| 356 const OmniboxView* GetOmniboxView() const override; | 354 const OmniboxView* GetOmniboxView() const override; |
| 357 LocationBarTesting* GetLocationBarForTesting() override; | 355 LocationBarTesting* GetLocationBarForTesting() override; |
| 358 | 356 |
| 359 // LocationBarTesting: | 357 // LocationBarTesting: |
| 360 int PageActionCount() override; | 358 int PageActionCount() override; |
| 361 int PageActionVisibleCount() override; | 359 int PageActionVisibleCount() override; |
| 362 ExtensionAction* GetPageAction(size_t index) override; | 360 ExtensionAction* GetPageAction(size_t index) override; |
| 363 ExtensionAction* GetVisiblePageAction(size_t index) override; | 361 ExtensionAction* GetVisiblePageAction(size_t index) override; |
| 364 void TestPageActionPressed(size_t index) override; | 362 void TestPageActionPressed(size_t index) override; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 | 422 |
| 425 // Shown if the selected url has a corresponding keyword. | 423 // Shown if the selected url has a corresponding keyword. |
| 426 KeywordHintView* keyword_hint_view_; | 424 KeywordHintView* keyword_hint_view_; |
| 427 | 425 |
| 428 // The content setting views. | 426 // The content setting views. |
| 429 ContentSettingViews content_setting_views_; | 427 ContentSettingViews content_setting_views_; |
| 430 | 428 |
| 431 // The zoom icon. | 429 // The zoom icon. |
| 432 ZoomView* zoom_view_; | 430 ZoomView* zoom_view_; |
| 433 | 431 |
| 434 // The icon to open a PDF in Reader. | |
| 435 OpenPDFInReaderView* open_pdf_in_reader_view_; | |
| 436 | |
| 437 // The manage passwords icon. | 432 // The manage passwords icon. |
| 438 ManagePasswordsIconViews* manage_passwords_icon_view_; | 433 ManagePasswordsIconViews* manage_passwords_icon_view_; |
| 439 | 434 |
| 440 // The page action icon views. | 435 // The page action icon views. |
| 441 PageActionViews page_action_views_; | 436 PageActionViews page_action_views_; |
| 442 | 437 |
| 443 // The save credit card icon. | 438 // The save credit card icon. |
| 444 autofill::SaveCardIconView* save_credit_card_icon_view_; | 439 autofill::SaveCardIconView* save_credit_card_icon_view_; |
| 445 | 440 |
| 446 // The icon for Translate. | 441 // The icon for Translate. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 468 BooleanPrefMember edit_bookmarks_enabled_; | 463 BooleanPrefMember edit_bookmarks_enabled_; |
| 469 | 464 |
| 470 // This is a debug state variable that stores if the WebContents was null | 465 // This is a debug state variable that stores if the WebContents was null |
| 471 // during the last RefreshPageAction. | 466 // during the last RefreshPageAction. |
| 472 bool web_contents_null_at_last_refresh_; | 467 bool web_contents_null_at_last_refresh_; |
| 473 | 468 |
| 474 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 469 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
| 475 }; | 470 }; |
| 476 | 471 |
| 477 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 472 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| OLD | NEW |