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

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

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
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 #include "content/browser/devtools/protocol/page_handler.h" 5 #include "content/browser/devtools/protocol/page_handler.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 return Response::FallThrough(); 452 return Response::FallThrough();
453 } 453 }
454 454
455 Response PageHandler::GetAppManifest( 455 Response PageHandler::GetAppManifest(
456 std::string* url, 456 std::string* url,
457 std::vector<scoped_refptr<AppManifestError>>* errors, 457 std::vector<scoped_refptr<AppManifestError>>* errors,
458 std::string* data) { 458 std::string* data) {
459 return Response::FallThrough(); 459 return Response::FallThrough();
460 } 460 }
461 461
462 Response PageHandler::SetBlockedEventsWarningThreshold(double threshold) {
463 return Response::FallThrough();
464 }
465
462 Response PageHandler::GetLayoutMetrics( 466 Response PageHandler::GetLayoutMetrics(
463 scoped_refptr<LayoutViewport>* layout_viewport, 467 scoped_refptr<LayoutViewport>* layout_viewport,
464 scoped_refptr<VisualViewport>* visual_viewport) { 468 scoped_refptr<VisualViewport>* visual_viewport) {
465 return Response::FallThrough(); 469 return Response::FallThrough();
466 } 470 }
467 471
468 std::unique_ptr<PageNavigationThrottle> 472 std::unique_ptr<PageNavigationThrottle>
469 PageHandler::CreateThrottleForNavigation(NavigationHandle* navigation_handle) { 473 PageHandler::CreateThrottleForNavigation(NavigationHandle* navigation_handle) {
470 if (!navigation_throttle_enabled_) 474 if (!navigation_throttle_enabled_)
471 return nullptr; 475 return nullptr;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 640
637 void PageHandler::OnColorPicked(int r, int g, int b, int a) { 641 void PageHandler::OnColorPicked(int r, int g, int b, int a) {
638 scoped_refptr<dom::RGBA> color = 642 scoped_refptr<dom::RGBA> color =
639 dom::RGBA::Create()->set_r(r)->set_g(g)->set_b(b)->set_a(a); 643 dom::RGBA::Create()->set_r(r)->set_g(g)->set_b(b)->set_a(a);
640 client_->ColorPicked(ColorPickedParams::Create()->set_color(color)); 644 client_->ColorPicked(ColorPickedParams::Create()->set_color(color));
641 } 645 }
642 646
643 } // namespace page 647 } // namespace page
644 } // namespace devtools 648 } // namespace devtools
645 } // namespace content 649 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/devtools/protocol/page_handler.h ('k') | third_party/WebKit/LayoutTests/inspector/input-event-warning.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698