| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_VIEWS_LOCATION_BAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_ |
| 6 #define CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 | 430 |
| 431 // Overridden from view. | 431 // Overridden from view. |
| 432 virtual void OnMouseMoved(const views::MouseEvent& event); | 432 virtual void OnMouseMoved(const views::MouseEvent& event); |
| 433 virtual bool OnMousePressed(const views::MouseEvent& event); | 433 virtual bool OnMousePressed(const views::MouseEvent& event); |
| 434 virtual void OnMouseReleased(const views::MouseEvent& event, bool canceled); | 434 virtual void OnMouseReleased(const views::MouseEvent& event, bool canceled); |
| 435 | 435 |
| 436 // Overridden from LocationBarImageView. | 436 // Overridden from LocationBarImageView. |
| 437 virtual void ShowInfoBubble(); | 437 virtual void ShowInfoBubble(); |
| 438 | 438 |
| 439 // Overridden from ImageLoadingTracker. | 439 // Overridden from ImageLoadingTracker. |
| 440 virtual void OnImageLoaded(SkBitmap* image, size_t index); | 440 virtual void OnImageLoaded(ImageLoadingTracker* source, SkBitmap* image, |
| 441 size_t index); |
| 441 | 442 |
| 442 // Overridden from ExtensionActionContextMenuModel::MenuDelegate | 443 // Overridden from ExtensionActionContextMenuModel::MenuDelegate |
| 443 virtual void ShowPopupForDevToolsWindow(Extension* extension, | 444 virtual void ShowPopupForDevToolsWindow(Extension* extension, |
| 444 ExtensionAction* extension_action); | 445 ExtensionAction* extension_action); |
| 445 | 446 |
| 446 // Overriden from ExtensionPopup::Observer | 447 // Overriden from ExtensionPopup::Observer |
| 447 virtual void ExtensionPopupClosed(ExtensionPopup* popup); | 448 virtual void ExtensionPopupClosed(ExtensionPopup* popup); |
| 448 | 449 |
| 449 // Called to notify the PageAction that it should determine whether to be | 450 // Called to notify the PageAction that it should determine whether to be |
| 450 // visible or hidden. |contents| is the TabContents that is active, |url| | 451 // visible or hidden. |contents| is the TabContents that is active, |url| |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 // The positioner that places the omnibox and info bubbles. | 644 // The positioner that places the omnibox and info bubbles. |
| 644 const BubblePositioner* bubble_positioner_; | 645 const BubblePositioner* bubble_positioner_; |
| 645 | 646 |
| 646 // Storage of string needed for accessibility. | 647 // Storage of string needed for accessibility. |
| 647 std::wstring accessible_name_; | 648 std::wstring accessible_name_; |
| 648 | 649 |
| 649 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 650 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
| 650 }; | 651 }; |
| 651 | 652 |
| 652 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_ | 653 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_ |
| OLD | NEW |