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

Unified Diff: cc/output/overlay_processor.h

Issue 1535833002: Delete CC. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-5
Patch Set: rebase Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/overlay_candidate_validator.h ('k') | cc/output/overlay_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/overlay_processor.h
diff --git a/cc/output/overlay_processor.h b/cc/output/overlay_processor.h
deleted file mode 100644
index 6c13b1b7300efdebbf0257cd7391f02661d90156..0000000000000000000000000000000000000000
--- a/cc/output/overlay_processor.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_OUTPUT_OVERLAY_PROCESSOR_H_
-#define CC_OUTPUT_OVERLAY_PROCESSOR_H_
-
-#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
-#include "cc/output/overlay_candidate.h"
-#include "cc/quads/render_pass.h"
-
-namespace cc {
-class OutputSurface;
-class ResourceProvider;
-
-class OverlayProcessor {
- public:
- class Strategy {
- public:
- virtual ~Strategy() {}
- // Returns false if the strategy cannot be made to work with the
- // current set of render passes. Returns true if the strategy was successful
- // and adds any additional passes necessary to represent overlays to
- // |render_passes_in_draw_order|.
- virtual bool Attempt(RenderPassList* render_passes_in_draw_order,
- OverlayCandidateList* candidates) = 0;
- };
- typedef ScopedPtrVector<Strategy> StrategyList;
-
- OverlayProcessor(OutputSurface* surface, ResourceProvider* resource_provider);
- virtual ~OverlayProcessor();
- // Virtual to allow testing different strategies.
- virtual void Initialize();
-
- void ProcessForOverlays(RenderPassList* render_passes_in_draw_order,
- OverlayCandidateList* candidate_list);
-
- protected:
- StrategyList strategies_;
- OutputSurface* surface_;
- ResourceProvider* resource_provider_;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(OverlayProcessor);
-};
-
-} // namespace cc
-
-#endif // CC_OUTPUT_OVERLAY_PROCESSOR_H_
« no previous file with comments | « cc/output/overlay_candidate_validator.h ('k') | cc/output/overlay_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698