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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 virtual void ShowFirstRunBubble() OVERRIDE; | 345 virtual void ShowFirstRunBubble() OVERRIDE; |
346 virtual GURL GetDestinationURL() const OVERRIDE; | 346 virtual GURL GetDestinationURL() const OVERRIDE; |
347 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; | 347 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; |
348 virtual content::PageTransition GetPageTransition() const OVERRIDE; | 348 virtual content::PageTransition GetPageTransition() const OVERRIDE; |
349 virtual void AcceptInput() OVERRIDE; | 349 virtual void AcceptInput() OVERRIDE; |
350 virtual void FocusSearch() OVERRIDE; | 350 virtual void FocusSearch() OVERRIDE; |
351 virtual void UpdateContentSettingsIcons() OVERRIDE; | 351 virtual void UpdateContentSettingsIcons() OVERRIDE; |
352 virtual void UpdateManagePasswordsIconAndBubble() OVERRIDE; | 352 virtual void UpdateManagePasswordsIconAndBubble() OVERRIDE; |
353 virtual void UpdatePageActions() OVERRIDE; | 353 virtual void UpdatePageActions() OVERRIDE; |
354 virtual void InvalidatePageActions() OVERRIDE; | 354 virtual void InvalidatePageActions() OVERRIDE; |
| 355 virtual bool ShowPageActionPopup(const extensions::Extension* extension, |
| 356 bool grant_active_tab) OVERRIDE; |
355 virtual void UpdateOpenPDFInReaderPrompt() OVERRIDE; | 357 virtual void UpdateOpenPDFInReaderPrompt() OVERRIDE; |
356 virtual void UpdateGeneratedCreditCardView() OVERRIDE; | 358 virtual void UpdateGeneratedCreditCardView() OVERRIDE; |
357 virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE; | 359 virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE; |
358 virtual const OmniboxView* GetOmniboxView() const OVERRIDE; | 360 virtual const OmniboxView* GetOmniboxView() const OVERRIDE; |
359 virtual LocationBarTesting* GetLocationBarForTesting() OVERRIDE; | 361 virtual LocationBarTesting* GetLocationBarForTesting() OVERRIDE; |
360 | 362 |
361 // LocationBarTesting: | 363 // LocationBarTesting: |
362 virtual int PageActionCount() OVERRIDE; | 364 virtual int PageActionCount() OVERRIDE; |
363 virtual int PageActionVisibleCount() OVERRIDE; | 365 virtual int PageActionVisibleCount() OVERRIDE; |
364 virtual ExtensionAction* GetPageAction(size_t index) OVERRIDE; | 366 virtual ExtensionAction* GetPageAction(size_t index) OVERRIDE; |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 int current_omnibox_width_; | 555 int current_omnibox_width_; |
554 int ending_omnibox_width_; | 556 int ending_omnibox_width_; |
555 | 557 |
556 // Used to register for notifications received by NotificationObserver. | 558 // Used to register for notifications received by NotificationObserver. |
557 content::NotificationRegistrar registrar_; | 559 content::NotificationRegistrar registrar_; |
558 | 560 |
559 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 561 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
560 }; | 562 }; |
561 | 563 |
562 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 564 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
OLD | NEW |