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

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

Issue 2222573003: Add use counter for chrome.loadTimes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comments Created 4 years, 4 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 int findMatchMarkersVersion() const override; 237 int findMatchMarkersVersion() const override;
238 WebFloatRect activeFindMatchRect() override; 238 WebFloatRect activeFindMatchRect() override;
239 void findMatchRects(WebVector<WebFloatRect>&) override; 239 void findMatchRects(WebVector<WebFloatRect>&) override;
240 int selectNearestFindMatch(const WebFloatPoint&, WebRect* selectionRect) ove rride; 240 int selectNearestFindMatch(const WebFloatPoint&, WebRect* selectionRect) ove rride;
241 float distanceToNearestFindMatch(const WebFloatPoint&) override; 241 float distanceToNearestFindMatch(const WebFloatPoint&) override;
242 void setTickmarks(const WebVector<WebRect>&) override; 242 void setTickmarks(const WebVector<WebRect>&) override;
243 WebFrameWidgetBase* frameWidget() const override; 243 WebFrameWidgetBase* frameWidget() const override;
244 void copyImageAt(const WebPoint&) override; 244 void copyImageAt(const WebPoint&) override;
245 void saveImageAt(const WebPoint&) override; 245 void saveImageAt(const WebPoint&) override;
246 void clearActiveFindMatch() override; 246 void clearActiveFindMatch() override;
247 void usageCountChromeLoadTimes(const WebString& metric) override;
247 248
248 // WebFrameImplBase methods: 249 // WebFrameImplBase methods:
249 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name, const AtomicString& uniqueName) override; 250 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name, const AtomicString& uniqueName) override;
250 LocalFrame* frame() const override { return m_frame.get(); } 251 LocalFrame* frame() const override { return m_frame.get(); }
251 252
252 void willBeDetached(); 253 void willBeDetached();
253 void willDetachParent(); 254 void willDetachParent();
254 255
255 static WebLocalFrameImpl* create(WebTreeScopeType, WebFrameClient*, WebFrame * opener); 256 static WebLocalFrameImpl* create(WebTreeScopeType, WebFrameClient*, WebFrame * opener);
256 static WebLocalFrameImpl* createProvisional(WebFrameClient*, WebRemoteFrame* , WebSandboxFlags); 257 static WebLocalFrameImpl* createProvisional(WebFrameClient*, WebRemoteFrame* , WebSandboxFlags);
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 // Accomplish that by keeping a self-referential Persistent<>. It is 397 // Accomplish that by keeping a self-referential Persistent<>. It is
397 // cleared upon close(). 398 // cleared upon close().
398 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 399 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
399 }; 400 };
400 401
401 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 402 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
402 403
403 } // namespace blink 404 } // namespace blink
404 405
405 #endif 406 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698