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

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

Issue 1407163002: Add feature use counting for window.external.AddSearchProvider (Blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: usecounter Created 5 years, 2 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 WebString contentAsText(size_t maxChars) const override; 220 WebString contentAsText(size_t maxChars) const override;
221 WebString contentAsMarkup() const override; 221 WebString contentAsMarkup() const override;
222 WebString layoutTreeAsText(LayoutAsTextControls toShow = LayoutAsTextNormal) const override; 222 WebString layoutTreeAsText(LayoutAsTextControls toShow = LayoutAsTextNormal) const override;
223 223
224 WebString markerTextForListItem(const WebElement&) const override; 224 WebString markerTextForListItem(const WebElement&) const override;
225 WebRect selectionBoundsRect() const override; 225 WebRect selectionBoundsRect() const override;
226 226
227 bool selectionStartHasSpellingMarkerFor(int from, int length) const override ; 227 bool selectionStartHasSpellingMarkerFor(int from, int length) const override ;
228 WebString layerTreeAsText(bool showDebugInfo = false) const override; 228 WebString layerTreeAsText(bool showDebugInfo = false) const override;
229 229
230 void countFeatureUse(Feature) override;
231
230 void registerTestInterface(const WebString& name, WebTestInterfaceFactory*) override; 232 void registerTestInterface(const WebString& name, WebTestInterfaceFactory*) override;
231 233
232 // Creates a test interface by name if available, returns an empty handle 234 // Creates a test interface by name if available, returns an empty handle
233 // for unknown names. 235 // for unknown names.
234 v8::Local<v8::Value> createTestInterface(const AtomicString& name); 236 v8::Local<v8::Value> createTestInterface(const AtomicString& name);
235 237
236 // WebLocalFrame methods: 238 // WebLocalFrame methods:
237 void initializeToReplaceRemoteFrame(WebRemoteFrame*, const WebString& name, WebSandboxFlags) override; 239 void initializeToReplaceRemoteFrame(WebRemoteFrame*, const WebString& name, WebSandboxFlags) override;
238 void setAutofillClient(WebAutofillClient*) override; 240 void setAutofillClient(WebAutofillClient*) override;
239 WebAutofillClient* autofillClient() override; 241 WebAutofillClient* autofillClient() override;
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 // cleared upon close(). 402 // cleared upon close().
401 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 403 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
402 #endif 404 #endif
403 }; 405 };
404 406
405 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 407 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
406 408
407 } // namespace blink 409 } // namespace blink
408 410
409 #endif 411 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698