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

Side by Side Diff: chrome/browser/gpu_process_host_ui_shim.h

Issue 4815001: Use inner HWND for accelerated rendering on windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/gpu_process_host.cc ('k') | chrome/browser/gpu_process_host_ui_shim.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_ 5 #ifndef CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_
6 #define CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_ 6 #define CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_
7 #pragma once 7 #pragma once
8 8
9 // This class lives on the UI thread and supports classes like the 9 // This class lives on the UI thread and supports classes like the
10 // BackingStoreProxy, which must live on the UI thread. The IO thread 10 // BackingStoreProxy, which must live on the UI thread. The IO thread
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 const GPUInfo& gpu_info() const; 55 const GPUInfo& gpu_info() const;
56 56
57 private: 57 private:
58 friend struct DefaultSingletonTraits<GpuProcessHostUIShim>; 58 friend struct DefaultSingletonTraits<GpuProcessHostUIShim>;
59 59
60 GpuProcessHostUIShim(); 60 GpuProcessHostUIShim();
61 virtual ~GpuProcessHostUIShim(); 61 virtual ~GpuProcessHostUIShim();
62 62
63 // Message handlers. 63 // Message handlers.
64 void OnGraphicsInfoCollected(const GPUInfo& gpu_info); 64 void OnGraphicsInfoCollected(const GPUInfo& gpu_info);
65 65 void OnScheduleComposite(int32 renderer_id, int32 render_view_id);
66 void OnControlMessageReceived(const IPC::Message& message); 66 void OnControlMessageReceived(const IPC::Message& message);
67 67
68 int last_routing_id_; 68 int last_routing_id_;
69 69
70 GPUInfo gpu_info_; 70 GPUInfo gpu_info_;
71 71
72 MessageRouter router_; 72 MessageRouter router_;
73 }; 73 };
74 74
75 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_ 75 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_
76 76
OLDNEW
« no previous file with comments | « chrome/browser/gpu_process_host.cc ('k') | chrome/browser/gpu_process_host_ui_shim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698