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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host.h

Issue 558035: [GPU] Get GPU process running on the mac... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | « build/common.gypi ('k') | chrome/browser/renderer_host/render_widget_host.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "app/gfx/native_widget_types.h" 10 #include "app/gfx/native_widget_types.h"
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 void OnMsgImeUpdateStatus(int control, const gfx::Rect& caret_rect); 437 void OnMsgImeUpdateStatus(int control, const gfx::Rect& caret_rect);
438 #if defined(OS_LINUX) 438 #if defined(OS_LINUX)
439 void OnMsgCreatePluginContainer(gfx::PluginWindowHandle id); 439 void OnMsgCreatePluginContainer(gfx::PluginWindowHandle id);
440 void OnMsgDestroyPluginContainer(gfx::PluginWindowHandle id); 440 void OnMsgDestroyPluginContainer(gfx::PluginWindowHandle id);
441 #elif defined(OS_MACOSX) 441 #elif defined(OS_MACOSX)
442 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); 442 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params);
443 void OnMsgGetScreenInfo(gfx::NativeViewId view, 443 void OnMsgGetScreenInfo(gfx::NativeViewId view,
444 WebKit::WebScreenInfo* results); 444 WebKit::WebScreenInfo* results);
445 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); 445 void OnMsgGetWindowRect(gfx::NativeViewId window_id, gfx::Rect* results);
446 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results); 446 void OnMsgGetRootWindowRect(gfx::NativeViewId window_id, gfx::Rect* results);
447 // The following handlers are only used on 10.6 and later
448 void OnAllocateFakePluginWindowHandle(gfx::PluginWindowHandle* id);
449 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id);
450 void OnGPUPluginSetIOSurface(gfx::PluginWindowHandle window,
451 int32 width,
452 int32 height,
453 uint64 mach_port);
454 void OnGPUPluginBuffersSwapped(gfx::PluginWindowHandle window);
447 #endif 455 #endif
448 456
449 // Paints the given bitmap to the current backing store at the given location. 457 // Paints the given bitmap to the current backing store at the given location.
450 // |*painted_synchronously| will be true if the message was processed 458 // |*painted_synchronously| will be true if the message was processed
451 // synchronously, and the bitmap is done being used. False means that the 459 // synchronously, and the bitmap is done being used. False means that the
452 // backing store will paint the bitmap at a later time and that the DIB can't 460 // backing store will paint the bitmap at a later time and that the DIB can't
453 // be freed (it will be the backing store's job to free it later). 461 // be freed (it will be the backing store's job to free it later).
454 void PaintBackingStoreRect(TransportDIB::Id bitmap, 462 void PaintBackingStoreRect(TransportDIB::Id bitmap,
455 const gfx::Rect& bitmap_rect, 463 const gfx::Rect& bitmap_rect,
456 const std::vector<gfx::Rect>& copy_rects, 464 const std::vector<gfx::Rect>& copy_rects,
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 // but the Char event generated by alt-2 may also activate a HTML element 605 // but the Char event generated by alt-2 may also activate a HTML element
598 // if its accesskey happens to be "2", then the user may get confused when 606 // if its accesskey happens to be "2", then the user may get confused when
599 // switching back to the original tab, because the content may already be 607 // switching back to the original tab, because the content may already be
600 // changed. 608 // changed.
601 bool suppress_next_char_events_; 609 bool suppress_next_char_events_;
602 610
603 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); 611 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost);
604 }; 612 };
605 613
606 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 614 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698