Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Side by Side Diff: Source/devtools/front_end/components/InspectorView.js

Issue 1202933003: DevTools: bring back existing panel selection rendering (border image) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // DevTools sidebar is a vertical split of panels tabbed pane and a drawer. 42 // DevTools sidebar is a vertical split of panels tabbed pane and a drawer.
43 this._drawerSplitWidget = new WebInspector.SplitWidget(false, true, "Inspect or.drawerSplitViewState", 200, 200); 43 this._drawerSplitWidget = new WebInspector.SplitWidget(false, true, "Inspect or.drawerSplitViewState", 200, 200);
44 this._drawerSplitWidget.hideSidebar(); 44 this._drawerSplitWidget.hideSidebar();
45 this._drawerSplitWidget.enableShowModeSaving(); 45 this._drawerSplitWidget.enableShowModeSaving();
46 this._drawerSplitWidget.show(this.element); 46 this._drawerSplitWidget.show(this.element);
47 47
48 this._tabbedPane = new WebInspector.TabbedPane(); 48 this._tabbedPane = new WebInspector.TabbedPane();
49 this._tabbedPane.registerRequiredCSS("components/inspectorViewTabbedPane.css "); 49 this._tabbedPane.registerRequiredCSS("components/inspectorViewTabbedPane.css ");
50 this._tabbedPane.element.classList.add("inspector-view-tabbed-pane"); 50 this._tabbedPane.element.classList.add("inspector-view-tabbed-pane");
51 this._tabbedPane.setRetainTabOrder(true); 51 this._tabbedPane.setRetainTabOrder(true);
52 this._tabbedPane.setTabSlider(true);
53 this._drawerSplitWidget.setMainWidget(this._tabbedPane); 52 this._drawerSplitWidget.setMainWidget(this._tabbedPane);
54 this._drawer = new WebInspector.Drawer(this._drawerSplitWidget); 53 this._drawer = new WebInspector.Drawer(this._drawerSplitWidget);
55 54
56 this._panels = {}; 55 this._panels = {};
57 // Used by tests. 56 // Used by tests.
58 WebInspector["panels"] = this._panels; 57 WebInspector["panels"] = this._panels;
59 58
60 this._history = []; 59 this._history = [];
61 this._historyIterator = -1; 60 this._historyIterator = -1;
62 this._keyDownBound = this._keyDown.bind(this); 61 this._keyDownBound = this._keyDown.bind(this);
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 WebInspector.InspectorView.ToggleDrawerButtonProvider.prototype = { 536 WebInspector.InspectorView.ToggleDrawerButtonProvider.prototype = {
538 /** 537 /**
539 * @override 538 * @override
540 * @return {?WebInspector.ToolbarItem} 539 * @return {?WebInspector.ToolbarItem}
541 */ 540 */
542 item: function() 541 item: function()
543 { 542 {
544 return WebInspector.inspectorView._drawer.toggleButton(); 543 return WebInspector.inspectorView._drawer.toggleButton();
545 } 544 }
546 } 545 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698