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

Unified Diff: chrome/browser/ui/webui/inspect_ui.h

Issue 22277007: chrome://inspect: Add "open", "close" and "reload" actions to Devices tab (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/inspect/inspect.js ('k') | chrome/browser/ui/webui/inspect_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/inspect_ui.h
diff --git a/chrome/browser/ui/webui/inspect_ui.h b/chrome/browser/ui/webui/inspect_ui.h
index 8f5b4d90667f5c31131a57c657d5108049116a74..9647b76d7ca2e6360707e57c06f84c3af58f48c9 100644
--- a/chrome/browser/ui/webui/inspect_ui.h
+++ b/chrome/browser/ui/webui/inspect_ui.h
@@ -24,7 +24,10 @@ class InspectUI : public content::WebUIController,
virtual ~InspectUI();
void InitUI();
- void InspectRemotePage(const std::string& id);
+ void InspectRemotePage(const std::string& page_id);
+ void CloseRemotePage(const std::string& page_id);
+ void ReloadRemotePage(const std::string& page_id);
+ void OpenRemotePage(const std::string& browser_id, const std::string& url);
private:
class WorkerCreationDestructionListener;
@@ -60,6 +63,10 @@ class InspectUI : public content::WebUIController,
RemotePages;
RemotePages remote_pages_;
+ typedef std::map<std::string,
+ scoped_refptr<DevToolsAdbBridge::RemoteBrowser> > RemoteBrowsers;
+ RemoteBrowsers remote_browsers_;
+
DISALLOW_COPY_AND_ASSIGN(InspectUI);
};
« no previous file with comments | « chrome/browser/resources/inspect/inspect.js ('k') | chrome/browser/ui/webui/inspect_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698