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

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

Issue 2907663004: FrameTree::Find only searches relative to local frames. (Closed)
Patch Set: . Created 3 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 WebRect SelectionBoundsRect() const override; 237 WebRect SelectionBoundsRect() const override;
238 238
239 WebString LayerTreeAsText(bool show_debug_info = false) const override; 239 WebString LayerTreeAsText(bool show_debug_info = false) const override;
240 240
241 // WebLocalFrame methods: 241 // WebLocalFrame methods:
242 void SetAutofillClient(WebAutofillClient*) override; 242 void SetAutofillClient(WebAutofillClient*) override;
243 WebAutofillClient* AutofillClient() override; 243 WebAutofillClient* AutofillClient() override;
244 void SetDevToolsAgentClient(WebDevToolsAgentClient*) override; 244 void SetDevToolsAgentClient(WebDevToolsAgentClient*) override;
245 WebDevToolsAgent* DevToolsAgent() override; 245 WebDevToolsAgent* DevToolsAgent() override;
246 WebLocalFrameImpl* LocalRoot() override; 246 WebLocalFrameImpl* LocalRoot() override;
247 WebFrame* FindFrameByName(const WebString& name) override;
247 void SendPings(const WebURL& destination_url) override; 248 void SendPings(const WebURL& destination_url) override;
248 bool DispatchBeforeUnloadEvent(bool) override; 249 bool DispatchBeforeUnloadEvent(bool) override;
249 WebURLRequest RequestFromHistoryItem(const WebHistoryItem&, 250 WebURLRequest RequestFromHistoryItem(const WebHistoryItem&,
250 WebCachePolicy) const override; 251 WebCachePolicy) const override;
251 WebURLRequest RequestForReload(WebFrameLoadType, 252 WebURLRequest RequestForReload(WebFrameLoadType,
252 const WebURL&) const override; 253 const WebURL&) const override;
253 void Load(const WebURLRequest&, 254 void Load(const WebURLRequest&,
254 WebFrameLoadType, 255 WebFrameLoadType,
255 const WebHistoryItem&, 256 const WebHistoryItem&,
256 WebHistoryLoadType, 257 WebHistoryLoadType,
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 517
517 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 518 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
518 WebFrame, 519 WebFrame,
519 frame, 520 frame,
520 frame->IsWebLocalFrame(), 521 frame->IsWebLocalFrame(),
521 frame.IsWebLocalFrame()); 522 frame.IsWebLocalFrame());
522 523
523 } // namespace blink 524 } // namespace blink
524 525
525 #endif 526 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698