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

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

Issue 1959183002: Multi-Process Find-in-Page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 WebString layerTreeAsText(bool showDebugInfo = false) const override; 197 WebString layerTreeAsText(bool showDebugInfo = false) const override;
198 198
199 WebFrameImplBase* toImplBase() override { return this; } 199 WebFrameImplBase* toImplBase() override { return this; }
200 200
201 // WebLocalFrame methods: 201 // WebLocalFrame methods:
202 void setAutofillClient(WebAutofillClient*) override; 202 void setAutofillClient(WebAutofillClient*) override;
203 WebAutofillClient* autofillClient() override; 203 WebAutofillClient* autofillClient() override;
204 void setDevToolsAgentClient(WebDevToolsAgentClient*) override; 204 void setDevToolsAgentClient(WebDevToolsAgentClient*) override;
205 WebDevToolsAgent* devToolsAgent() override; 205 WebDevToolsAgent* devToolsAgent() override;
206 void setFrameOwnerProperties(const WebFrameOwnerProperties&) override; 206 void setFrameOwnerProperties(const WebFrameOwnerProperties&) override;
207 bool isFocused() const override;
207 WebLocalFrameImpl* localRoot() override; 208 WebLocalFrameImpl* localRoot() override;
208 WebLocalFrame* traversePreviousLocal(bool wrap) const override; 209 WebLocalFrame* traversePreviousLocal(bool wrap) const override;
209 WebLocalFrame* traverseNextLocal(bool wrap) const override; 210 WebLocalFrame* traverseNextLocal(bool wrap) const override;
210 void sendPings(const WebURL& destinationURL) override; 211 void sendPings(const WebURL& destinationURL) override;
211 WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebCachePolicy) const override; 212 WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebCachePolicy) const override;
212 WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) const overri de; 213 WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) const overri de;
213 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&, 214 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&,
214 WebHistoryLoadType, bool isClientRedirect) override; 215 WebHistoryLoadType, bool isClientRedirect) override;
215 void loadData( 216 void loadData(
216 const WebData&, const WebString& mimeType, const WebString& textEncoding , 217 const WebData&, const WebString& mimeType, const WebString& textEncoding ,
(...skipping 17 matching lines...) Expand all
234 void scopeStringMatches( 235 void scopeStringMatches(
235 int identifier, const WebString& searchText, const WebFindOptions&, 236 int identifier, const WebString& searchText, const WebFindOptions&,
236 bool reset) override; 237 bool reset) override;
237 void cancelPendingScopingEffort() override; 238 void cancelPendingScopingEffort() override;
238 void increaseMatchCount(int count, int identifier) override; 239 void increaseMatchCount(int count, int identifier) override;
239 void resetMatchCount() override; 240 void resetMatchCount() override;
240 int findMatchMarkersVersion() const override; 241 int findMatchMarkersVersion() const override;
241 WebFloatRect activeFindMatchRect() override; 242 WebFloatRect activeFindMatchRect() override;
242 void findMatchRects(WebVector<WebFloatRect>&) override; 243 void findMatchRects(WebVector<WebFloatRect>&) override;
243 int selectNearestFindMatch(const WebFloatPoint&, WebRect* selectionRect) ove rride; 244 int selectNearestFindMatch(const WebFloatPoint&, WebRect* selectionRect) ove rride;
245 float nearestFindMatch(const WebFloatPoint&) override;
244 void setTickmarks(const WebVector<WebRect>&) override; 246 void setTickmarks(const WebVector<WebRect>&) override;
245 WebFrameWidget* frameWidget() const override; 247 WebFrameWidget* frameWidget() const override;
248 void clearActiveFindMatch() override;
246 249
247 // WebFrameImplBase methods: 250 // WebFrameImplBase methods:
248 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name, const AtomicString& uniqueName) override; 251 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name, const AtomicString& uniqueName) override;
249 LocalFrame* frame() const override { return m_frame.get(); } 252 LocalFrame* frame() const override { return m_frame.get(); }
250 253
251 void willBeDetached(); 254 void willBeDetached();
252 void willDetachParent(); 255 void willDetachParent();
253 256
254 static WebLocalFrameImpl* create(WebTreeScopeType, WebFrameClient*, WebFrame * opener); 257 static WebLocalFrameImpl* create(WebTreeScopeType, WebFrameClient*, WebFrame * opener);
255 static WebLocalFrameImpl* createProvisional(WebFrameClient*, WebRemoteFrame* , WebSandboxFlags, const WebFrameOwnerProperties&); 258 static WebLocalFrameImpl* createProvisional(WebFrameClient*, WebRemoteFrame* , WebSandboxFlags, const WebFrameOwnerProperties&);
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 // Accomplish that by keeping a self-referential Persistent<>. It is 395 // Accomplish that by keeping a self-referential Persistent<>. It is
393 // cleared upon close(). 396 // cleared upon close().
394 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 397 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
395 }; 398 };
396 399
397 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 400 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
398 401
399 } // namespace blink 402 } // namespace blink
400 403
401 #endif 404 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698