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

Side by Side Diff: chrome/browser/ui/webui/inspect_ui.h

Issue 2248133002: [DevTools] Add UI for adding remote targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [DevTools] Add UI for adding remote targets Created 4 years, 3 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
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const content::NotificationDetails& details) override; 58 const content::NotificationDetails& details) override;
59 59
60 void StartListeningNotifications(); 60 void StartListeningNotifications();
61 void StopListeningNotifications(); 61 void StopListeningNotifications();
62 62
63 content::WebUIDataSource* CreateInspectUIHTMLSource(); 63 content::WebUIDataSource* CreateInspectUIHTMLSource();
64 64
65 void UpdateDiscoverUsbDevicesEnabled(); 65 void UpdateDiscoverUsbDevicesEnabled();
66 void UpdatePortForwardingEnabled(); 66 void UpdatePortForwardingEnabled();
67 void UpdatePortForwardingConfig(); 67 void UpdatePortForwardingConfig();
68 void UpdateTCPDiscoveryEnabled();
69 void UpdateTCPDiscoveryConfig();
68 70
69 void SetPortForwardingDefaults(); 71 void SetPortForwardingDefaults();
70 72
71 const base::Value* GetPrefValue(const char* name); 73 const base::Value* GetPrefValue(const char* name);
72 74
73 void AddTargetUIHandler(std::unique_ptr<DevToolsTargetsUIHandler> handler); 75 void AddTargetUIHandler(std::unique_ptr<DevToolsTargetsUIHandler> handler);
74 76
75 DevToolsTargetsUIHandler* FindTargetHandler( 77 DevToolsTargetsUIHandler* FindTargetHandler(
76 const std::string& source_id); 78 const std::string& source_id);
77 scoped_refptr<content::DevToolsAgentHost> FindTarget( 79 scoped_refptr<content::DevToolsAgentHost> FindTarget(
(...skipping 18 matching lines...) Expand all
96 98
97 typedef std::map<std::string, DevToolsTargetsUIHandler*> TargetHandlerMap; 99 typedef std::map<std::string, DevToolsTargetsUIHandler*> TargetHandlerMap;
98 TargetHandlerMap target_handlers_; 100 TargetHandlerMap target_handlers_;
99 101
100 std::unique_ptr<PortForwardingStatusSerializer> port_status_serializer_; 102 std::unique_ptr<PortForwardingStatusSerializer> port_status_serializer_;
101 103
102 DISALLOW_COPY_AND_ASSIGN(InspectUI); 104 DISALLOW_COPY_AND_ASSIGN(InspectUI);
103 }; 105 };
104 106
105 #endif // CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_ 107 #endif // CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_
OLDNEW
« 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