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

Side by Side Diff: Source/devtools/front_end/CanvasProfileView.js

Issue 181433002: DevTools: Replace Apple styled spinner icon with Chromium one. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: removed ::before and ::after pseudos box-sizing change Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/Images/spinner.gif » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 this._replayInfoSplitView.setMainElementConstraints(defaultReplayLogWidthPer cent, defaultReplayLogWidthPercent); 48 this._replayInfoSplitView.setMainElementConstraints(defaultReplayLogWidthPer cent, defaultReplayLogWidthPercent);
49 this._replayInfoSplitView.show(this.element); 49 this._replayInfoSplitView.show(this.element);
50 50
51 this._imageSplitView = new WebInspector.SplitView(false, true, "canvasProfil eViewSplitViewState", 300); 51 this._imageSplitView = new WebInspector.SplitView(false, true, "canvasProfil eViewSplitViewState", 300);
52 this._imageSplitView.show(this._replayInfoSplitView.mainElement()); 52 this._imageSplitView.show(this._replayInfoSplitView.mainElement());
53 53
54 var replayImageContainer = this._imageSplitView.mainElement().createChild("d iv"); 54 var replayImageContainer = this._imageSplitView.mainElement().createChild("d iv");
55 replayImageContainer.id = "canvas-replay-image-container"; 55 replayImageContainer.id = "canvas-replay-image-container";
56 this._replayImageElement = replayImageContainer.createChild("img", "canvas-r eplay-image"); 56 this._replayImageElement = replayImageContainer.createChild("img", "canvas-r eplay-image");
57 this._debugInfoElement = replayImageContainer.createChild("div", "canvas-deb ug-info hidden"); 57 this._debugInfoElement = replayImageContainer.createChild("div", "canvas-deb ug-info hidden");
58 this._spinnerIcon = replayImageContainer.createChild("img", "canvas-spinner- icon hidden"); 58 this._spinnerIcon = replayImageContainer.createChild("div", "spinner-icon sm all hidden");
59 59
60 var replayLogContainer = this._imageSplitView.sidebarElement(); 60 var replayLogContainer = this._imageSplitView.sidebarElement();
61 var controlsContainer = replayLogContainer.createChild("div", "status-bar"); 61 var controlsContainer = replayLogContainer.createChild("div", "status-bar");
62 var logGridContainer = replayLogContainer.createChild("div", "canvas-replay- log"); 62 var logGridContainer = replayLogContainer.createChild("div", "canvas-replay- log");
63 63
64 this._createControlButton(controlsContainer, "canvas-replay-first-step", Web Inspector.UIString("First call."), this._onReplayFirstStepClick.bind(this)); 64 this._createControlButton(controlsContainer, "canvas-replay-first-step", Web Inspector.UIString("First call."), this._onReplayFirstStepClick.bind(this));
65 this._createControlButton(controlsContainer, "canvas-replay-prev-step", WebI nspector.UIString("Previous call."), this._onReplayStepClick.bind(this, false)); 65 this._createControlButton(controlsContainer, "canvas-replay-prev-step", WebI nspector.UIString("Previous call."), this._onReplayStepClick.bind(this, false));
66 this._createControlButton(controlsContainer, "canvas-replay-next-step", WebI nspector.UIString("Next call."), this._onReplayStepClick.bind(this, true)); 66 this._createControlButton(controlsContainer, "canvas-replay-next-step", WebI nspector.UIString("Next call."), this._onReplayStepClick.bind(this, true));
67 this._createControlButton(controlsContainer, "canvas-replay-prev-draw", WebI nspector.UIString("Previous drawing call."), this._onReplayDrawingCallClick.bind (this, false)); 67 this._createControlButton(controlsContainer, "canvas-replay-prev-draw", WebI nspector.UIString("Previous drawing call."), this._onReplayDrawingCallClick.bind (this, false));
68 this._createControlButton(controlsContainer, "canvas-replay-next-draw", WebI nspector.UIString("Next drawing call."), this._onReplayDrawingCallClick.bind(thi s, true)); 68 this._createControlButton(controlsContainer, "canvas-replay-next-draw", WebI nspector.UIString("Next drawing call."), this._onReplayDrawingCallClick.bind(thi s, true));
(...skipping 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 }, 1248 },
1249 1249
1250 clearResourceStates: function() 1250 clearResourceStates: function()
1251 { 1251 {
1252 this._currentResourceStates = {}; 1252 this._currentResourceStates = {};
1253 this.dispatchEventToListeners(WebInspector.CanvasTraceLogPlayerProxy.Eve nts.CanvasReplayStateChanged); 1253 this.dispatchEventToListeners(WebInspector.CanvasTraceLogPlayerProxy.Eve nts.CanvasReplayStateChanged);
1254 }, 1254 },
1255 1255
1256 __proto__: WebInspector.Object.prototype 1256 __proto__: WebInspector.Object.prototype
1257 } 1257 }
OLDNEW
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/Images/spinner.gif » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698