summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/gpu_view_host.h
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-11-18 18:32:45 +0000
committerBen Murdoch <benm@google.com>2010-11-18 18:38:07 +0000
commit513209b27ff55e2841eac0e4120199c23acce758 (patch)
treeaeba30bb08c5f47c57003544e378a377c297eee6 /chrome/browser/renderer_host/gpu_view_host.h
parent164f7496de0fbee436b385a79ead9e3cb81a50c1 (diff)
downloadexternal_chromium-513209b27ff55e2841eac0e4120199c23acce758.zip
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.gz
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.bz2
Merge Chromium at r65505: Initial merge by git.
Change-Id: I31d8f1d8cd33caaf7f47ffa7350aef42d5fbdb45
Diffstat (limited to 'chrome/browser/renderer_host/gpu_view_host.h')
-rw-r--r--chrome/browser/renderer_host/gpu_view_host.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/chrome/browser/renderer_host/gpu_view_host.h b/chrome/browser/renderer_host/gpu_view_host.h
deleted file mode 100644
index c37409c..0000000
--- a/chrome/browser/renderer_host/gpu_view_host.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// 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.
-
-#ifndef CHROME_BROWSER_RENDERER_HOST_GPU_VIEW_HOST_H_
-#define CHROME_BROWSER_RENDERER_HOST_GPU_VIEW_HOST_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "chrome/common/gpu_native_window_handle.h"
-
-class BackingStore;
-class GpuProcessHostUIShim;
-class RenderWidgetHost;
-class VideoLayer;
-
-namespace gfx {
-class Size;
-}
-
-// A proxy for the GPU process' window for rendering pages.
-class GpuViewHost {
- public:
- GpuViewHost(RenderWidgetHost* widget, GpuNativeWindowHandle parent);
- ~GpuViewHost();
-
- // Creates a new backing store in the GPU process and returns ownership of
- // the new pointer to the caller.
- BackingStore* CreateBackingStore(const gfx::Size& size);
-
- // Creates a new video layer in the GPU process and returns ownership of the
- // new pointer to the caller.
- VideoLayer* CreateVideoLayer(const gfx::Size& size);
-
- // Notification that the RenderWidgetHost has been asked to paint the window.
- // Depending on the backing store, the GPU backing store may have to repaint
- // at this time. On Linux this is needed because the GPU process paints
- // directly into the RWH's X window.
- void OnWindowPainted();
-
- private:
- RenderWidgetHost* widget_;
-
- GpuProcessHostUIShim* process_shim_;
- int32 routing_id_;
-
- DISALLOW_COPY_AND_ASSIGN(GpuViewHost);
-};
-
-#endif // CHROME_BROWSER_RENDERER_HOST_GPU_VIEW_HOST_H_