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

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

Issue 2763743002: Android: not to pause screen capture when Chrome is put to background (Closed)
Patch Set: Created 3 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 575
576 // Misc private functions ---------------------------------------------------- 576 // Misc private functions ----------------------------------------------------
577 // Check whether the preferred size has changed. 577 // Check whether the preferred size has changed.
578 void CheckPreferredSize(); 578 void CheckPreferredSize();
579 579
580 #if defined(OS_ANDROID) 580 #if defined(OS_ANDROID)
581 // Launch an Android content intent with the given URL. 581 // Launch an Android content intent with the given URL.
582 void LaunchAndroidContentIntent(const GURL& intent_url, 582 void LaunchAndroidContentIntent(const GURL& intent_url,
583 size_t request_id, 583 size_t request_id,
584 bool is_main_frame); 584 bool is_main_frame);
585 // Make the video capture devices(e.g. webcam) stop/resume delivering video
586 // frames to their clients, depending on flag |suspend|. This is called in
587 // response to a RenderView PageHidden/Shown().
588 void SuspendVideoCaptureDevices(bool suspend);
585 #endif 589 #endif
586 590
587 #if defined(OS_WIN) || (defined(OS_POSIX) && !defined(OS_MACOSX)) 591 #if defined(OS_WIN) || (defined(OS_POSIX) && !defined(OS_MACOSX))
588 void UpdateFontRenderingFromRendererPrefs(); 592 void UpdateFontRenderingFromRendererPrefs();
589 #else 593 #else
590 void UpdateFontRenderingFromRendererPrefs() {} 594 void UpdateFontRenderingFromRendererPrefs() {}
591 #endif 595 #endif
592 596
593 // In OOPIF-enabled modes, this tells each RenderFrame with a pending state 597 // In OOPIF-enabled modes, this tells each RenderFrame with a pending state
594 // update to inform the browser process. 598 // update to inform the browser process.
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 // --------------------------------------------------------------------------- 840 // ---------------------------------------------------------------------------
837 841
838 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; 842 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_;
839 843
840 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 844 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
841 }; 845 };
842 846
843 } // namespace content 847 } // namespace content
844 848
845 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 849 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698