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

Side by Side Diff: content/browser/devtools/protocol/page_handler.h

Issue 2490563002: Revert of DevTools: add the logging aspect into the PerformanceMonitor (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | content/browser/devtools/protocol/page_handler.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 bool* case_sensitive, 100 bool* case_sensitive,
101 bool* is_regex); 101 bool* is_regex);
102 Response SetDocumentContent(const std::string& frame_id, 102 Response SetDocumentContent(const std::string& frame_id,
103 const std::string& html); 103 const std::string& html);
104 Response ConfigureOverlay(const bool* is_suspended, 104 Response ConfigureOverlay(const bool* is_suspended,
105 const std::string* message); 105 const std::string* message);
106 Response GetAppManifest( 106 Response GetAppManifest(
107 std::string* url, 107 std::string* url,
108 std::vector<scoped_refptr<AppManifestError>>* errors, 108 std::vector<scoped_refptr<AppManifestError>>* errors,
109 std::string* data); 109 std::string* data);
110 Response SetBlockedEventsWarningThreshold(double threshold);
110 Response GetLayoutMetrics( 111 Response GetLayoutMetrics(
111 scoped_refptr<LayoutViewport>* layout_viewport, 112 scoped_refptr<LayoutViewport>* layout_viewport,
112 scoped_refptr<VisualViewport>* visual_viewport); 113 scoped_refptr<VisualViewport>* visual_viewport);
113 114
114 std::unique_ptr<PageNavigationThrottle> CreateThrottleForNavigation( 115 std::unique_ptr<PageNavigationThrottle> CreateThrottleForNavigation(
115 NavigationHandle* navigation_handle); 116 NavigationHandle* navigation_handle);
116 117
117 void OnPageNavigationThrottleDisposed(int navigation_id); 118 void OnPageNavigationThrottleDisposed(int navigation_id);
118 void NavigationRequested(const PageNavigationThrottle* throttle); 119 void NavigationRequested(const PageNavigationThrottle* throttle);
119 120
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 base::WeakPtrFactory<PageHandler> weak_factory_; 169 base::WeakPtrFactory<PageHandler> weak_factory_;
169 170
170 DISALLOW_COPY_AND_ASSIGN(PageHandler); 171 DISALLOW_COPY_AND_ASSIGN(PageHandler);
171 }; 172 };
172 173
173 } // namespace page 174 } // namespace page
174 } // namespace devtools 175 } // namespace devtools
175 } // namespace content 176 } // namespace content
176 177
177 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ 178 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/devtools/protocol/page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698