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: content/browser/frame_host/render_frame_host_impl.h

Issue 628773003: Partially convert geolocation IPC to Mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self-review Created 6 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 // 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 // iframe. 449 // iframe.
450 void UpdateCrossProcessIframeAccessibility( 450 void UpdateCrossProcessIframeAccessibility(
451 const std::map<int32, int> node_to_frame_routing_id_map); 451 const std::map<int32, int> node_to_frame_routing_id_map);
452 452
453 // Update the the singleton FrameAccessibility instance with a map 453 // Update the the singleton FrameAccessibility instance with a map
454 // from accessibility node id to the browser plugin instance id of a 454 // from accessibility node id to the browser plugin instance id of a
455 // guest WebContents. 455 // guest WebContents.
456 void UpdateGuestFrameAccessibility( 456 void UpdateGuestFrameAccessibility(
457 const std::map<int32, int> node_to_browser_plugin_instance_id_map); 457 const std::map<int32, int> node_to_browser_plugin_instance_id_map);
458 458
459 // Informs the content client that geolocation permissions were used.
460 void DidUseGeolocationPermission();
461
459 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a 462 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a
460 // refcount that calls Shutdown when it reaches zero. This allows each 463 // refcount that calls Shutdown when it reaches zero. This allows each
461 // RenderFrameHostManager to just care about RenderFrameHosts, while ensuring 464 // RenderFrameHostManager to just care about RenderFrameHosts, while ensuring
462 // we have a RenderViewHost for each RenderFrameHost. 465 // we have a RenderViewHost for each RenderFrameHost.
463 // TODO(creis): RenderViewHost will eventually go away and be replaced with 466 // TODO(creis): RenderViewHost will eventually go away and be replaced with
464 // some form of page context. 467 // some form of page context.
465 RenderViewHostImpl* render_view_host_; 468 RenderViewHostImpl* render_view_host_;
466 469
467 RenderFrameHostDelegate* delegate_; 470 RenderFrameHostDelegate* delegate_;
468 471
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 559
557 // NOTE: This must be the last member. 560 // NOTE: This must be the last member.
558 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 561 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
559 562
560 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 563 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
561 }; 564 };
562 565
563 } // namespace content 566 } // namespace content
564 567
565 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 568 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698