Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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; | |
|
esprehn
2016/08/05 20:57:36
LoadTimes, the api is loadTimes with a caps T :)
panicker
2016/08/05 23:06:14
Good point :) updated.
| |
| 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 |
| OLD | NEW |