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

Side by Side Diff: gpu/demos/framework/window_win.cc

Issue 9160012: Change PluginWindowHandle to AcceleratedWidget in ui/gfx/gl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops mac Created 8 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gpu/demos/framework/window_mac.mm ('k') | third_party/khronos/EGL/eglplatform.h » ('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 #include "gpu/demos/framework/demo.h" 5 #include "gpu/demos/framework/demo.h"
6 #include "gpu/demos/framework/window.h" 6 #include "gpu/demos/framework/window.h"
7 7
8 namespace { 8 namespace {
9 LRESULT CALLBACK WindowProc(HWND hwnd, UINT msg, 9 LRESULT CALLBACK WindowProc(HWND hwnd, UINT msg,
10 WPARAM w_param, LPARAM l_param) { 10 WPARAM w_param, LPARAM l_param) {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 NULL, 89 NULL,
90 NULL, 90 NULL,
91 instance, 91 instance,
92 NULL); 92 NULL);
93 if (hwnd == NULL) return NULL; 93 if (hwnd == NULL) return NULL;
94 94
95 ShowWindow(hwnd, SW_SHOWNORMAL); 95 ShowWindow(hwnd, SW_SHOWNORMAL);
96 return hwnd; 96 return hwnd;
97 } 97 }
98 98
99 gfx::PluginWindowHandle Window::PluginWindow(gfx::NativeWindow hwnd) { 99 gfx::AcceleratedWidget Window::PluginWindow(gfx::NativeWindow hwnd) {
100 return hwnd; 100 return hwnd;
101 } 101 }
102 102
103 } // namespace demos 103 } // namespace demos
104 } // namespace gpu 104 } // namespace gpu
105 105
OLDNEW
« no previous file with comments | « gpu/demos/framework/window_mac.mm ('k') | third_party/khronos/EGL/eglplatform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698