Changeset 143227 in webkit


Ignore:
Timestamp:
Feb 18, 2013 8:54:19 AM (11 years ago)
Author:
pfeldman@chromium.org
Message:

Web Inspector: Disable hiding the debugger when it is below the source code
https://bugs.webkit.org/show_bug.cgi?id=110106

Patch by Vladislav Kaznacheev <kaznacheev@chromium.org> on 2013-02-18
Reviewed by Pavel Feldman.

When the "Split horizontally" option is checked in the Sources panel the button responsible for the sidebar
visibility is hidden and the sidebar is force-shown. Also set the "Split sidebar" option default to true.

No new tests.

  • inspector/front-end/ScriptsPanel.js:

(WebInspector.ScriptsPanel):

  • inspector/front-end/scriptsPanel.css:

(.split-view-horizontal #scripts-debug-sidebar-resizer-widget):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r143225 r143227  
     12013-02-18  Vladislav Kaznacheev  <kaznacheev@chromium.org>
     2
     3        Web Inspector: Disable hiding the debugger when it is below the source code
     4        https://bugs.webkit.org/show_bug.cgi?id=110106
     5
     6        Reviewed by Pavel Feldman.
     7
     8        When the "Split horizontally" option is checked in the Sources panel the button responsible for the sidebar
     9        visibility is hidden and the sidebar is force-shown. Also set the "Split sidebar" option default to true.
     10
     11        No new tests.
     12
     13        * inspector/front-end/ScriptsPanel.js:
     14        (WebInspector.ScriptsPanel):
     15        * inspector/front-end/scriptsPanel.css:
     16        (.split-view-horizontal #scripts-debug-sidebar-resizer-widget):
     17
    1182013-02-18  Bear Travis  <betravis@adobe.com>
    219
  • trunk/Source/WebCore/inspector/front-end/ScriptsPanel.js

    r143224 r143227  
    121121    }
    122122
    123     WebInspector.dockController.addEventListener(WebInspector.DockController.Events.DockSideChanged, this._dockSideChanged.bind(this));
    124     this._dockSideChanged();
    125 
    126123    this.sidebarPanes.callstack.registerShortcuts(this.registerShortcuts.bind(this));
    127124    this.registerShortcuts(WebInspector.ScriptsPanelDescriptor.ShortcutKeys.EvaluateSelectionInConsole, this._evaluateSelectionInConsole.bind(this));
     
    152149
    153150    this._installDebuggerSidebarController();
     151
     152    WebInspector.dockController.addEventListener(WebInspector.DockController.Events.DockSideChanged, this._dockSideChanged.bind(this));
     153    this._dockSideChanged();
    154154
    155155    this._sourceFramesByUISourceCode = new Map();
     
    11751175            this.sidebarElement.appendChild(this.debugToolbar);
    11761176        } else {
     1177            this._showDebuggerSidebar();
     1178
    11771179            this.sidebarPaneView = new WebInspector.SplitView(true, this.name + "PanelSplitSidebarRatio", 0.5);
    11781180
  • trunk/Source/WebCore/inspector/front-end/scriptsPanel.css

    r143224 r143227  
    265265}
    266266
     267.split-view-horizontal button.status-bar-item.scripts-debugger-show-hide-button,
     268.split-view-horizontal #scripts-debug-sidebar-resizer-widget {
     269    display: none;
     270}
     271
    267272button.status-bar-item.scripts-debugger-show-hide-button:active {
    268273    top: 1px;
Note: See TracChangeset for help on using the changeset viewer.