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

Issue 65143004: DevTools: Refactor InspectUI class for extensibility (Closed)

Created:
7 years, 1 month ago by Vladislav Kaznacheev
Modified:
7 years, 1 month ago
Reviewers:
vsevik
CC:
chromium-reviews, vsevik, yurys, paulirish+reviews_chromium.org, arv+watch_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org, pfeldman
Visibility:
Public.

Description

DevTools: Refactor InspectUI class for extensibility Currently InspectUI contains code that listens to inspection targets coming from 3 different sources (RVHs, workers, ADB) which makes it quite complex and intertwined. More sources are to come soon (e.g. targets from wirelessly connected devices). This patch extracts a base class DevToolsTargetsUIHandler that should be used to add another target source. TBR=jochen@chromium.org for chrome.gyp BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=234859

Patch Set 1 #

Patch Set 2 : . #

Total comments: 13

Patch Set 3 : Addressed comments, rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+797 lines, -483 lines) Patch
M chrome/browser/devtools/devtools_adb_bridge.cc View 1 2 1 chunk +9 lines, -1 line 0 comments Download
A chrome/browser/devtools/devtools_targets_ui.h View 1 2 1 chunk +71 lines, -0 lines 0 comments Download
A chrome/browser/devtools/devtools_targets_ui.cc View 1 2 1 chunk +525 lines, -0 lines 0 comments Download
M chrome/browser/resources/inspect/inspect.js View 1 2 13 chunks +44 lines, -37 lines 0 comments Download
M chrome/browser/ui/webui/inspect_ui.h View 1 2 5 chunks +27 lines, -25 lines 0 comments Download
M chrome/browser/ui/webui/inspect_ui.cc View 1 2 9 chunks +119 lines, -420 lines 0 comments Download
M chrome/chrome.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Vladislav Kaznacheev
7 years, 1 month ago (2013-11-08 10:28:22 UTC) #1
Vladislav Kaznacheev
https://chromiumcodereview.appspot.com/65143004/diff/40001/chrome/browser/resources/inspect/inspect.js File chrome/browser/resources/inspect/inspect.js (right): https://chromiumcodereview.appspot.com/65143004/diff/40001/chrome/browser/resources/inspect/inspect.js#newcode822 chrome/browser/resources/inspect/inspect.js:822: if (window.WebInspector) { Please disregard, this crept in from ...
7 years, 1 month ago (2013-11-12 11:49:51 UTC) #2
vsevik
https://chromiumcodereview.appspot.com/65143004/diff/40001/chrome/browser/devtools/devtools_targets_ui.cc File chrome/browser/devtools/devtools_targets_ui.cc (right): https://chromiumcodereview.appspot.com/65143004/diff/40001/chrome/browser/devtools/devtools_targets_ui.cc#newcode1 chrome/browser/devtools/devtools_targets_ui.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
7 years, 1 month ago (2013-11-12 14:24:07 UTC) #3
vsevik
lgtm
7 years, 1 month ago (2013-11-12 14:24:55 UTC) #4
Vladislav Kaznacheev
https://chromiumcodereview.appspot.com/65143004/diff/40001/chrome/browser/devtools/devtools_targets_ui.cc File chrome/browser/devtools/devtools_targets_ui.cc (right): https://chromiumcodereview.appspot.com/65143004/diff/40001/chrome/browser/devtools/devtools_targets_ui.cc#newcode1 chrome/browser/devtools/devtools_targets_ui.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
7 years, 1 month ago (2013-11-13 16:02:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaznacheev@chromium.org/65143004/140001
7 years, 1 month ago (2013-11-13 16:04:04 UTC) #6
commit-bot: I haz the power
7 years, 1 month ago (2013-11-13 18:42:40 UTC) #7
Message was sent while issue was closed.
Change committed as 234859

Powered by Google App Engine
This is Rietveld 408576698