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

Unified Diff: cc/output/overlay_strategy_fullscreen.h

Issue 2476103002: Disable fullscren fb optimization with sw mirroring. (Closed)
Patch Set: We now call CheckOverlaySupport. Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/output/overlay_strategy_fullscreen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/overlay_strategy_fullscreen.h
diff --git a/cc/output/overlay_strategy_fullscreen.h b/cc/output/overlay_strategy_fullscreen.h
index 4100d253ba57ff84642d4163a5651bcd13794bbc..1429985874aeea49478bf48b1a330907a99fabb5 100644
--- a/cc/output/overlay_strategy_fullscreen.h
+++ b/cc/output/overlay_strategy_fullscreen.h
@@ -16,7 +16,8 @@ class OverlayCandidateValidator;
// should be possible to use it as such.
class CC_EXPORT OverlayStrategyFullscreen : public OverlayProcessor::Strategy {
public:
- OverlayStrategyFullscreen();
+ explicit OverlayStrategyFullscreen(
+ OverlayCandidateValidator* capability_checker);
~OverlayStrategyFullscreen() override;
bool Attempt(ResourceProvider* resource_provider,
@@ -24,6 +25,8 @@ class CC_EXPORT OverlayStrategyFullscreen : public OverlayProcessor::Strategy {
OverlayCandidateList* candidate_list) override;
private:
+ OverlayCandidateValidator* capability_checker_; // Weak.
+
DISALLOW_COPY_AND_ASSIGN(OverlayStrategyFullscreen);
};
« no previous file with comments | « no previous file | cc/output/overlay_strategy_fullscreen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698