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

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

Issue 2502863002: Add UI DevTools under chrome://inspect/#other (Closed)
Patch Set: Add ui_devtools to BUILD file Created 4 years, 1 month 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 DevToolsTargetsUIHandler* FindTargetHandler( 77 DevToolsTargetsUIHandler* FindTargetHandler(
78 const std::string& source_id); 78 const std::string& source_id);
79 scoped_refptr<content::DevToolsAgentHost> FindTarget( 79 scoped_refptr<content::DevToolsAgentHost> FindTarget(
80 const std::string& source_id, 80 const std::string& source_id,
81 const std::string& target_id); 81 const std::string& target_id);
82 82
83 void PopulateTargets(const std::string& source_id, 83 void PopulateTargets(const std::string& source_id,
84 const base::ListValue& targets); 84 const base::ListValue& targets);
85 85
86 void PopulateTargetsWithUiDevtools(const std::string& source_id,
dgozman 2016/11/15 23:47:08 This method has no callers and no implementation.
Sarmad Hashmi 2016/11/16 01:42:58 Removed.
87 base::ListValue& targets);
88
86 void ForceUpdateIfNeeded(const std::string& source_id, 89 void ForceUpdateIfNeeded(const std::string& source_id,
87 const std::string& target_type); 90 const std::string& target_type);
88 91
89 void PopulatePortStatus(const base::Value& status); 92 void PopulatePortStatus(const base::Value& status);
90 93
91 void ShowIncognitoWarning(); 94 void ShowIncognitoWarning();
92 95
93 // A scoped container for notification registries. 96 // A scoped container for notification registries.
94 content::NotificationRegistrar notification_registrar_; 97 content::NotificationRegistrar notification_registrar_;
95 98
96 // A scoped container for preference change registries. 99 // A scoped container for preference change registries.
97 PrefChangeRegistrar pref_change_registrar_; 100 PrefChangeRegistrar pref_change_registrar_;
98 101
99 std::map<std::string, std::unique_ptr<DevToolsTargetsUIHandler>> 102 std::map<std::string, std::unique_ptr<DevToolsTargetsUIHandler>>
100 target_handlers_; 103 target_handlers_;
101 104
102 std::unique_ptr<PortForwardingStatusSerializer> port_status_serializer_; 105 std::unique_ptr<PortForwardingStatusSerializer> port_status_serializer_;
103 106
104 DISALLOW_COPY_AND_ASSIGN(InspectUI); 107 DISALLOW_COPY_AND_ASSIGN(InspectUI);
105 }; 108 };
106 109
107 #endif // CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_ 110 #endif // CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698