Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Web Inspector: Watch Expressions details section should use Navigatio…
…nBar https://bugs.webkit.org/show_bug.cgi?id=151377 Reviewed by Timothy Hatcher. Replaces image elements with a NavigationBar instance. The refresh and clear buttons are disabled if no watch expressions exist. * Localizations/en.lproj/localizedStrings.js: New navigation item labels. * UserInterface/Views/ScopeChainDetailsSidebarPanel.css: (.details-section.watch-expressions .options > *): Deleted. (.details-section.watch-expressions .options > *:active): Deleted. (.details-section.watch-expressions .options > .watch-expression-add): Deleted. (.details-section.watch-expressions .options > .watch-expression-clear): Deleted. (.details-section.watch-expressions .options > .watch-expression-refresh): Deleted. Remove <img> button styles. * UserInterface/Views/ScopeChainDetailsSidebarPanel.js: (WebInspector.ScopeChainDetailsSidebarPanel): (WebInspector.ScopeChainDetailsSidebarPanel.prototype._addWatchExpressionButtonClicked.presentPopoverOverTargetElement): Use the navigation item element. (WebInspector.ScopeChainDetailsSidebarPanel.prototype._updateWatchExpressionsNavigationBar): Enable/disable refresh and clear buttons. Canonical link: https://commits.webkit.org/169554@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@192584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
4 changed files
with
51 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BIN
-32 Bytes
(100%)
Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters