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

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: way too much contention on this enum Created 5 years, 1 month 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&, 246 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&,
247 WebHistoryLoadType) override; 247 WebHistoryLoadType) override;
248 bool isLoading() const override; 248 bool isLoading() const override;
249 bool isResourceLoadInProgress() const override; 249 bool isResourceLoadInProgress() const override;
250 bool isNavigationScheduled() const override; 250 bool isNavigationScheduled() const override;
251 void setCommittedFirstRealLoad() override; 251 void setCommittedFirstRealLoad() override;
252 void sendOrientationChangeEvent() override; 252 void sendOrientationChangeEvent() override;
253 void willShowInstallBannerPrompt(int requestId, const WebVector<WebString>& platforms, WebAppBannerPromptReply*) override; 253 void willShowInstallBannerPrompt(int requestId, const WebVector<WebString>& platforms, WebAppBannerPromptReply*) override;
254 WebSandboxFlags effectiveSandboxFlags() const override; 254 WebSandboxFlags effectiveSandboxFlags() const override;
255 void requestRunTask(WebSuspendableTask*) const override; 255 void requestRunTask(WebSuspendableTask*) const override;
256 void didCallAddSearchProvider() override;
257 void didCallIsSearchProviderInstalled() override;
256 258
257 void willBeDetached(); 259 void willBeDetached();
258 void willDetachParent(); 260 void willDetachParent();
259 261
260 static WebLocalFrameImpl* create(WebTreeScopeType, WebFrameClient*); 262 static WebLocalFrameImpl* create(WebTreeScopeType, WebFrameClient*);
261 ~WebLocalFrameImpl() override; 263 ~WebLocalFrameImpl() override;
262 264
263 PassRefPtrWillBeRawPtr<LocalFrame> initializeCoreFrame(FrameHost*, FrameOwne r*, const AtomicString& name, const AtomicString& fallbackName); 265 PassRefPtrWillBeRawPtr<LocalFrame> initializeCoreFrame(FrameHost*, FrameOwne r*, const AtomicString& name, const AtomicString& fallbackName);
264 266
265 PassRefPtrWillBeRawPtr<LocalFrame> createChildFrame(const FrameLoadRequest&, const AtomicString& name, HTMLFrameOwnerElement*); 267 PassRefPtrWillBeRawPtr<LocalFrame> createChildFrame(const FrameLoadRequest&, const AtomicString& name, HTMLFrameOwnerElement*);
(...skipping 134 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
« 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