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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 2712773002: Add trace event for detecting main frame in loading metrics. (Closed)
Patch Set: comment Created 3 years, 10 months 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 WebFrameWidgetBase* frameWidget() const override; 295 WebFrameWidgetBase* frameWidget() const override;
296 void copyImageAt(const WebPoint&) override; 296 void copyImageAt(const WebPoint&) override;
297 void saveImageAt(const WebPoint&) override; 297 void saveImageAt(const WebPoint&) override;
298 void setEngagementLevel(mojom::EngagementLevel) override; 298 void setEngagementLevel(mojom::EngagementLevel) override;
299 void clearActiveFindMatch() override; 299 void clearActiveFindMatch() override;
300 void usageCountChromeLoadTimes(const WebString& metric) override; 300 void usageCountChromeLoadTimes(const WebString& metric) override;
301 base::SingleThreadTaskRunner* timerTaskRunner() override; 301 base::SingleThreadTaskRunner* timerTaskRunner() override;
302 base::SingleThreadTaskRunner* loadingTaskRunner() override; 302 base::SingleThreadTaskRunner* loadingTaskRunner() override;
303 base::SingleThreadTaskRunner* unthrottledTaskRunner() override; 303 base::SingleThreadTaskRunner* unthrottledTaskRunner() override;
304 WebInputMethodControllerImpl* inputMethodController() const override; 304 WebInputMethodControllerImpl* inputMethodController() const override;
305 void* frameIdForTracing() const override;
305 306
306 void extractSmartClipData(WebRect rectInViewport, 307 void extractSmartClipData(WebRect rectInViewport,
307 WebString& clipText, 308 WebString& clipText,
308 WebString& clipHtml) override; 309 WebString& clipHtml) override;
309 310
310 // WebFrameImplBase methods: 311 // WebFrameImplBase methods:
311 void initializeCoreFrame(FrameHost*, 312 void initializeCoreFrame(FrameHost*,
312 FrameOwner*, 313 FrameOwner*,
313 const AtomicString& name, 314 const AtomicString& name,
314 const AtomicString& uniqueName) override; 315 const AtomicString& uniqueName) override;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 501
501 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 502 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
502 WebFrame, 503 WebFrame,
503 frame, 504 frame,
504 frame->isWebLocalFrame(), 505 frame->isWebLocalFrame(),
505 frame.isWebLocalFrame()); 506 frame.isWebLocalFrame());
506 507
507 } // namespace blink 508 } // namespace blink
508 509
509 #endif 510 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698