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

Side by Side Diff: third_party/WebKit/public/web/WebLocalFrame.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 // 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 WebLocalFrame_h 5 #ifndef WebLocalFrame_h
6 #define WebLocalFrame_h 6 #define WebLocalFrame_h
7 7
8 #include "WebCompositionUnderline.h" 8 #include "WebCompositionUnderline.h"
9 #include "WebFrame.h" 9 #include "WebFrame.h"
10 #include "WebFrameLoadType.h" 10 #include "WebFrameLoadType.h"
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 virtual WebFrameWidget* frameWidget() const = 0; 415 virtual WebFrameWidget* frameWidget() const = 0;
416 416
417 // Copy to the clipboard the image located at a particular point in visual 417 // Copy to the clipboard the image located at a particular point in visual
418 // viewport coordinates. 418 // viewport coordinates.
419 virtual void copyImageAt(const WebPoint&) = 0; 419 virtual void copyImageAt(const WebPoint&) = 0;
420 420
421 // Save as the image located at a particular point in visual viewport 421 // Save as the image located at a particular point in visual viewport
422 // coordinates. 422 // coordinates.
423 virtual void saveImageAt(const WebPoint&) = 0; 423 virtual void saveImageAt(const WebPoint&) = 0;
424 424
425 // TEMP: Usage count for chrome.loadtimes deprecation.
426 // This will be removed following the deprecation.
427 virtual void usageCountChromeLoadTimes(const WebString& metric) = 0;
428
425 protected: 429 protected:
426 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } 430 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { }
427 431
428 // Inherited from WebFrame, but intentionally hidden: it never makes sense 432 // Inherited from WebFrame, but intentionally hidden: it never makes sense
429 // to call these on a WebLocalFrame. 433 // to call these on a WebLocalFrame.
430 bool isWebLocalFrame() const override = 0; 434 bool isWebLocalFrame() const override = 0;
431 WebLocalFrame* toWebLocalFrame() override = 0; 435 WebLocalFrame* toWebLocalFrame() override = 0;
432 bool isWebRemoteFrame() const override = 0; 436 bool isWebRemoteFrame() const override = 0;
433 WebRemoteFrame* toWebRemoteFrame() override = 0; 437 WebRemoteFrame* toWebRemoteFrame() override = 0;
434 }; 438 };
435 439
436 } // namespace blink 440 } // namespace blink
437 441
438 #endif // WebLocalFrame_h 442 #endif // WebLocalFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698