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

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

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
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
466 Response PageHandler::GetLayoutMetrics( 462 Response PageHandler::GetLayoutMetrics(
467 scoped_refptr<LayoutViewport>* layout_viewport, 463 scoped_refptr<LayoutViewport>* layout_viewport,
468 scoped_refptr<VisualViewport>* visual_viewport) { 464 scoped_refptr<VisualViewport>* visual_viewport) {
469 return Response::FallThrough(); 465 return Response::FallThrough();
470 } 466 }
471 467
472 std::unique_ptr<PageNavigationThrottle> 468 std::unique_ptr<PageNavigationThrottle>
473 PageHandler::CreateThrottleForNavigation(NavigationHandle* navigation_handle) { 469 PageHandler::CreateThrottleForNavigation(NavigationHandle* navigation_handle) {
474 if (!navigation_throttle_enabled_) 470 if (!navigation_throttle_enabled_)
475 return nullptr; 471 return nullptr;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 636
641 void PageHandler::OnColorPicked(int r, int g, int b, int a) { 637 void PageHandler::OnColorPicked(int r, int g, int b, int a) {
642 scoped_refptr<dom::RGBA> color = 638 scoped_refptr<dom::RGBA> color =
643 dom::RGBA::Create()->set_r(r)->set_g(g)->set_b(b)->set_a(a); 639 dom::RGBA::Create()->set_r(r)->set_g(g)->set_b(b)->set_a(a);
644 client_->ColorPicked(ColorPickedParams::Create()->set_color(color)); 640 client_->ColorPicked(ColorPickedParams::Create()->set_color(color));
645 } 641 }
646 642
647 } // namespace page 643 } // namespace page
648 } // namespace devtools 644 } // namespace devtools
649 } // namespace content 645 } // 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