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

Unified Diff: content/common/gpu/child_window_surface_win.h

Issue 1845563005: Refactor content/common/gpu into gpu/ipc/service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop ref to deleted content_tests_gypi_values.content_unittests_ozone_sources Created 4 years, 8 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 | « content/common/gpu/ca_layer_tree_unittest_mac.mm ('k') | content/common/gpu/child_window_surface_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/child_window_surface_win.h
diff --git a/content/common/gpu/child_window_surface_win.h b/content/common/gpu/child_window_surface_win.h
deleted file mode 100644
index 1bdf61c80e3f889cb3ffbbb83c503cfce63e5b6c..0000000000000000000000000000000000000000
--- a/content/common/gpu/child_window_surface_win.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2015 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 CONTENT_COMMON_GPU_CHILD_WINDOW_SURFACE_WIN_H_
-#define CONTENT_COMMON_GPU_CHILD_WINDOW_SURFACE_WIN_H_
-
-#include "ui/gl/gl_surface_egl.h"
-
-#include <windows.h>
-
-namespace content {
-
-class GpuChannelManager;
-
-class ChildWindowSurfaceWin : public gfx::NativeViewGLSurfaceEGL {
- public:
- ChildWindowSurfaceWin(GpuChannelManager* manager, HWND parent_window);
-
- // GLSurface implementation.
- EGLConfig GetConfig() override;
- bool Resize(const gfx::Size& size,
- float scale_factor,
- bool has_alpha) override;
- bool InitializeNativeWindow() override;
- gfx::SwapResult SwapBuffers() override;
- gfx::SwapResult PostSubBuffer(int x, int y, int width, int height) override;
-
- void InvalidateWindowRect(const gfx::Rect& rect);
-
- protected:
- ~ChildWindowSurfaceWin() override;
-
- private:
- void ClearInvalidContents();
-
- HWND parent_window_;
- GpuChannelManager* manager_;
- gfx::Rect rect_to_clear_;
- bool alpha_;
- bool first_swap_;
-
- DISALLOW_COPY_AND_ASSIGN(ChildWindowSurfaceWin);
-};
-
-} // namespace content
-
-#endif // CONTENT_COMMON_GPU_CHILD_WINDOW_SURFACE_WIN_H_
« no previous file with comments | « content/common/gpu/ca_layer_tree_unittest_mac.mm ('k') | content/common/gpu/child_window_surface_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698