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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 789533002: Fullscreen: make fullscreen requests come from RenderFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update webcontentsdelegateandroid Created 6 years 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 void OnUpdateEncoding(const std::string& encoding); 449 void OnUpdateEncoding(const std::string& encoding);
450 void OnBeginNavigation(const FrameHostMsg_BeginNavigation_Params& params, 450 void OnBeginNavigation(const FrameHostMsg_BeginNavigation_Params& params,
451 const CommonNavigationParams& common_params); 451 const CommonNavigationParams& common_params);
452 void OnAccessibilityEvents( 452 void OnAccessibilityEvents(
453 const std::vector<AccessibilityHostMsg_EventParams>& params, 453 const std::vector<AccessibilityHostMsg_EventParams>& params,
454 int reset_token); 454 int reset_token);
455 void OnAccessibilityLocationChanges( 455 void OnAccessibilityLocationChanges(
456 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params); 456 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params);
457 void OnAccessibilityFindInPageResult( 457 void OnAccessibilityFindInPageResult(
458 const AccessibilityHostMsg_FindInPageResultParams& params); 458 const AccessibilityHostMsg_FindInPageResultParams& params);
459 void OnToggleFullscreen(bool enter_fullscreen);
459 460
460 #if defined(OS_MACOSX) || defined(OS_ANDROID) 461 #if defined(OS_MACOSX) || defined(OS_ANDROID)
461 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); 462 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params);
462 void OnHidePopup(); 463 void OnHidePopup();
463 #endif 464 #endif
464 465
465 // Registers Mojo services that this frame host makes available. 466 // Registers Mojo services that this frame host makes available.
466 void RegisterMojoServices(); 467 void RegisterMojoServices();
467 468
468 // Updates the state of this RenderFrameHost and clears any waiting state 469 // Updates the state of this RenderFrameHost and clears any waiting state
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 611
611 // NOTE: This must be the last member. 612 // NOTE: This must be the last member.
612 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 613 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
613 614
614 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 615 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
615 }; 616 };
616 617
617 } // namespace content 618 } // namespace content
618 619
619 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 620 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698