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

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: Rebased Created 4 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 unified diff | Download patch
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 const content::NotificationDetails& details) override; 55 const content::NotificationDetails& details) override;
56 56
57 void StartListeningNotifications(); 57 void StartListeningNotifications();
58 void StopListeningNotifications(); 58 void StopListeningNotifications();
59 59
60 content::WebUIDataSource* CreateInspectUIHTMLSource(); 60 content::WebUIDataSource* CreateInspectUIHTMLSource();
61 61
62 void UpdateDiscoverUsbDevicesEnabled(); 62 void UpdateDiscoverUsbDevicesEnabled();
63 void UpdatePortForwardingEnabled(); 63 void UpdatePortForwardingEnabled();
64 void UpdatePortForwardingConfig(); 64 void UpdatePortForwardingConfig();
65 void UpdateTargetDiscoveryConfig();
65 66
66 void SetPortForwardingDefaults(); 67 void SetPortForwardingDefaults();
67 68
68 const base::Value* GetPrefValue(const char* name); 69 const base::Value* GetPrefValue(const char* name);
69 70
70 void AddTargetUIHandler(std::unique_ptr<DevToolsTargetsUIHandler> handler); 71 void AddTargetUIHandler(std::unique_ptr<DevToolsTargetsUIHandler> handler);
71 72
72 DevToolsTargetsUIHandler* FindTargetHandler( 73 DevToolsTargetsUIHandler* FindTargetHandler(
73 const std::string& source_id); 74 const std::string& source_id);
74 DevToolsTargetImpl* FindTarget(const std::string& source_id, 75 DevToolsTargetImpl* FindTarget(const std::string& source_id,
(...skipping 17 matching lines...) Expand all
92 93
93 typedef std::map<std::string, DevToolsTargetsUIHandler*> TargetHandlerMap; 94 typedef std::map<std::string, DevToolsTargetsUIHandler*> TargetHandlerMap;
94 TargetHandlerMap target_handlers_; 95 TargetHandlerMap target_handlers_;
95 96
96 std::unique_ptr<PortForwardingStatusSerializer> port_status_serializer_; 97 std::unique_ptr<PortForwardingStatusSerializer> port_status_serializer_;
97 98
98 DISALLOW_COPY_AND_ASSIGN(InspectUI); 99 DISALLOW_COPY_AND_ASSIGN(InspectUI);
99 }; 100 };
100 101
101 #endif // CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_ 102 #endif // CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698