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

Unified Diff: chrome/gpu/gpu_view_win.h

Issue 4399003: Deleted code associated with --enable-gpu-rendering and... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 | « chrome/gpu/gpu_video_layer_glx.cc ('k') | chrome/gpu/gpu_view_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/gpu/gpu_view_win.h
===================================================================
--- chrome/gpu/gpu_view_win.h (revision 65168)
+++ chrome/gpu/gpu_view_win.h (working copy)
@@ -1,72 +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_GPU_GPU_VIEW_WIN_H_
-#define CHROME_GPU_GPU_VIEW_WIN_H_
-#pragma once
-
-#include <atlbase.h>
-#include <atlapp.h>
-#include <atlcrack.h>
-#include <atlmisc.h>
-
-#include "base/basictypes.h"
-#include "base/scoped_ptr.h"
-#include "gfx/native_widget_types.h"
-#include "ipc/ipc_channel.h"
-
-class GpuBackingStoreWin;
-class GpuThread;
-
-namespace gfx {
-class Rect;
-class Size;
-}
-
-// WS_DISABLED means that input events will be delivered to the parent, which is
-// what we want for our overlay window.
-typedef CWinTraits<
- WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_DISABLED, 0>
- GpuRenderWidgetHostViewWinTraits;
-
-class GpuViewWin
- : public IPC::Channel::Listener,
- public CWindowImpl<GpuViewWin,
- CWindow,
- GpuRenderWidgetHostViewWinTraits> {
- public:
- GpuViewWin(GpuThread* gpu_thread,
- HWND parent,
- int32 routing_id);
- ~GpuViewWin();
-
- // IPC::Channel::Listener implementation.
- virtual void OnMessageReceived(const IPC::Message& message);
- virtual void OnChannelConnected(int32 peer_pid);
- virtual void OnChannelError();
-
- void DidScrollBackingStoreRect(int dx, int dy, const gfx::Rect& rect);
-
- BEGIN_MSG_MAP(GpuViewWin)
- MSG_WM_PAINT(OnPaint)
- END_MSG_MAP()
-
- private:
- // IPC message handlers.
- void OnNewBackingStore(int32 routing_id, const gfx::Size& size);
-
- // Windows message handlers.
- void OnPaint(HDC unused_dc);
-
- GpuThread* gpu_thread_;
- int32 routing_id_;
-
- HWND parent_;
-
- scoped_ptr<GpuBackingStoreWin> backing_store_;
-
- DISALLOW_COPY_AND_ASSIGN(GpuViewWin);
-};
-
-#endif // CHROME_GPU_GPU_VIEW_WIN_H_
« no previous file with comments | « chrome/gpu/gpu_video_layer_glx.cc ('k') | chrome/gpu/gpu_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698