Index: media/tools/shader_bench/window.cc |
diff --git a/media/tools/shader_bench/window.cc b/media/tools/shader_bench/window.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..54c4205ca77ac9f05ddfe4278422c44212bda6e5 |
--- /dev/null |
+++ b/media/tools/shader_bench/window.cc |
@@ -0,0 +1,20 @@ |
+// Copyright (c) 2010 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. |
+ |
+#include "media/tools/shader_bench/window.h" |
+ |
+#include "base/task.h" |
+ |
+namespace media { |
+ |
+Window::Window(int width, int height) |
+ : done_task_(NULL), |
scherkus (not reviewing)
2010/11/30 23:36:10
indent by extra two spaces
vrk (LEFT CHROMIUM)
2010/12/01 02:46:11
Done.
|
+ painter_(NULL), |
+ limit_(0), |
+ count_(0), |
+ running_(false) { |
+ window_handle_ = CreateNativeWindow(width, height); |
+} |
+ |
+} // namespace media |