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

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

Issue 2474073005: DevTools: add the logging aspect into the PerformanceMonitor (Closed)
Patch Set: test fixed 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);
111 Response GetLayoutMetrics( 110 Response GetLayoutMetrics(
112 scoped_refptr<LayoutViewport>* layout_viewport, 111 scoped_refptr<LayoutViewport>* layout_viewport,
113 scoped_refptr<VisualViewport>* visual_viewport); 112 scoped_refptr<VisualViewport>* visual_viewport);
114 113
115 std::unique_ptr<PageNavigationThrottle> CreateThrottleForNavigation( 114 std::unique_ptr<PageNavigationThrottle> CreateThrottleForNavigation(
116 NavigationHandle* navigation_handle); 115 NavigationHandle* navigation_handle);
117 116
118 void OnPageNavigationThrottleDisposed(int navigation_id); 117 void OnPageNavigationThrottleDisposed(int navigation_id);
119 void NavigationRequested(const PageNavigationThrottle* throttle); 118 void NavigationRequested(const PageNavigationThrottle* throttle);
120 119
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 base::WeakPtrFactory<PageHandler> weak_factory_; 168 base::WeakPtrFactory<PageHandler> weak_factory_;
170 169
171 DISALLOW_COPY_AND_ASSIGN(PageHandler); 170 DISALLOW_COPY_AND_ASSIGN(PageHandler);
172 }; 171 };
173 172
174 } // namespace page 173 } // namespace page
175 } // namespace devtools 174 } // namespace devtools
176 } // namespace content 175 } // namespace content
177 176
178 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ 177 #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