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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2766053002: [refactor] Fix autofill features for payments when the form is inside an OOPIF (Closed)
Patch Set: Using Node& instead of Node* Created 3 years, 8 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 static void InstallCreateHook( 242 static void InstallCreateHook(
243 CreateRenderFrameImplFunction create_render_frame_impl); 243 CreateRenderFrameImplFunction create_render_frame_impl);
244 244
245 // Looks up and returns the WebFrame corresponding to a given opener frame 245 // Looks up and returns the WebFrame corresponding to a given opener frame
246 // routing ID. 246 // routing ID.
247 static blink::WebFrame* ResolveOpener(int opener_frame_routing_id); 247 static blink::WebFrame* ResolveOpener(int opener_frame_routing_id);
248 248
249 // Overwrites the given URL to use an HTML5 embed if possible. 249 // Overwrites the given URL to use an HTML5 embed if possible.
250 blink::WebURL overrideFlashEmbedWithHTML(const blink::WebURL& url) override; 250 blink::WebURL overrideFlashEmbedWithHTML(const blink::WebURL& url) override;
251 251
252 void didCompleteLeftMouseDownOrGestureTapInNode(
253 const blink::WebNode& node) override;
Charlie Reis 2017/04/05 20:13:45 This should be in the WebFrameClient overrides sec
EhsanK 2017/04/06 21:31:28 Thanks. I moved both. Also deleted the comment abo
254
252 ~RenderFrameImpl() override; 255 ~RenderFrameImpl() override;
253 256
254 // Called by RenderWidget when meaningful layout has happened. 257 // Called by RenderWidget when meaningful layout has happened.
255 // See RenderFrameObserver::DidMeaningfulLayout declaration for details. 258 // See RenderFrameObserver::DidMeaningfulLayout declaration for details.
256 void DidMeaningfulLayout(blink::WebMeaningfulLayout layout_type); 259 void DidMeaningfulLayout(blink::WebMeaningfulLayout layout_type);
257 260
258 // Out-of-process child frames receive a signal from RenderWidgetCompositor 261 // Out-of-process child frames receive a signal from RenderWidgetCompositor
259 // when a compositor frame has committed. 262 // when a compositor frame has committed.
260 void DidCommitCompositorFrame(); 263 void DidCommitCompositorFrame();
261 264
262 // Draw commands have been issued by RenderWidgetCompositor. 265 // Draw commands have been issued by RenderWidgetCompositor.
263 void DidCommitAndDrawCompositorFrame(); 266 void DidCommitAndDrawCompositorFrame();
264 267
265 // Returns the unique name of the RenderFrame. 268 // Returns the unique name of the RenderFrame.
266 const std::string& unique_name() const { return unique_name_helper_.value(); } 269 const std::string& unique_name() const { return unique_name_helper_.value(); }
267 270
271 // Called by render widget to notify about a change in focused element.
Charlie Reis 2017/04/05 20:13:45 nit: RenderWidget Might want to clarify that this
EhsanK 2017/04/06 21:31:28 Done. Thanks!
272 void DidCompleteFocusChange();
273
274 // Called by render widget to notify about handling a left mouse down or
Charlie Reis 2017/04/05 20:13:45 nit: RenderWidget
EhsanK 2017/04/06 21:31:28 Done.
275 // gesture tap in |node|. |node| belongs to a frame inside the subtree rooted
276 // at the local root and is never null.
Charlie Reis 2017/04/05 20:13:45 I'm not clear on this explanation. Are you saying
EhsanK 2017/04/06 21:31:28 Sorry about this code and comment. I forgot to rem
277 void DidCompleteLeftMouseDownOrGestureTapInNode(const blink::WebNode& node);
Charlie Reis 2017/04/05 20:13:45 This isn't implemented or called. Is it stale cod
EhsanK 2017/04/06 21:31:28 Stale code from previous patch. Apologies. Thanks!
278
268 // TODO(jam): this is a temporary getter until all the code is transitioned 279 // TODO(jam): this is a temporary getter until all the code is transitioned
269 // to using RenderFrame instead of RenderView. 280 // to using RenderFrame instead of RenderView.
270 RenderViewImpl* render_view() { return render_view_; } 281 RenderViewImpl* render_view() { return render_view_; }
271 282
272 const blink::WebHistoryItem& current_history_item() { 283 const blink::WebHistoryItem& current_history_item() {
273 return current_history_item_; 284 return current_history_item_;
274 } 285 }
275 286
276 RendererWebCookieJarImpl* cookie_jar() { return &cookie_jar_; } 287 RendererWebCookieJarImpl* cookie_jar() { return &cookie_jar_; }
277 288
(...skipping 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after
1424 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; 1435 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_;
1425 1436
1426 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1437 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1427 1438
1428 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1439 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1429 }; 1440 };
1430 1441
1431 } // namespace content 1442 } // namespace content
1432 1443
1433 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1444 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698