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

Unified Diff: experimental/c_salt/graphics_2d_context.h

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 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 | « experimental/c_salt/filechooser.txt ('k') | experimental/c_salt/graphics_2d_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/c_salt/graphics_2d_context.h
diff --git a/experimental/c_salt/graphics_2d_context.h b/experimental/c_salt/graphics_2d_context.h
deleted file mode 100644
index 94aeb6b9487a0e346264fa1ce41cc82215876cbd..0000000000000000000000000000000000000000
--- a/experimental/c_salt/graphics_2d_context.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2010 The Native Client 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 C_SALT_GRAPHICS_2D_CONTEXT_H_
-#define C_SALT_GRAPHICS_2D_CONTEXT_H_
-
-#include "c_salt/rect.h"
-#include "boost/scoped_ptr.hpp"
-
-namespace c_salt {
-class Image;
-class Instance;
-class Graphics2DContextImpl;
-
-// Manage a 2D graphics context associated with an instance. This class
-// encapsulates the 2D rendering context.
-// drawing.
-class Graphics2DContext {
- public:
- // Constructor might not immediately create the underlying 2D graphics
- // context. The context is not actually created until Init() is called.
- Graphics2DContext();
- virtual ~Graphics2DContext();
-
- // Called when the owning Instance is fully connected to the browser; at this
- // point, implementations can safely make calls into the browser.
- bool Init(const c_salt::Instance& instance);
-
- // Returns the size of the plugin image.
- const Size& GetSize() const {return size_;}
-
- // Copy |img| pixels into graphics context and flush the contents of this
- // context to the real device.
- void Update(const Image& img);
-
- protected:
- // Not implemented.
- Graphics2DContext(const Graphics2DContext&);
- Graphics2DContext& operator=(const Graphics2DContext&);
-
- boost::scoped_ptr<Graphics2DContextImpl> impl_;
- Size size_; // size of the plugin image.
-};
-} // namespace c_salt
-
-#endif // C_SALT_GRAPHICS_2D_CONTEXT_H_
-
« no previous file with comments | « experimental/c_salt/filechooser.txt ('k') | experimental/c_salt/graphics_2d_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698