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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_win.h

Issue 9303009: Add IPC allowing GPU process to tell browser process to temporarily drop a front buffer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlapp.h> 10 #include <atlapp.h>
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 bool has_horizontal_scrollbar) OVERRIDE; 198 bool has_horizontal_scrollbar) OVERRIDE;
199 virtual void SetScrollOffsetPinning( 199 virtual void SetScrollOffsetPinning(
200 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 200 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
201 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; 201 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE;
202 virtual void AcceleratedSurfaceBuffersSwapped( 202 virtual void AcceleratedSurfaceBuffersSwapped(
203 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 203 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
204 int gpu_host_id) OVERRIDE; 204 int gpu_host_id) OVERRIDE;
205 virtual void AcceleratedSurfacePostSubBuffer( 205 virtual void AcceleratedSurfacePostSubBuffer(
206 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, 206 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
207 int gpu_host_id) OVERRIDE; 207 int gpu_host_id) OVERRIDE;
208 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
208 virtual void OnAccessibilityNotifications( 209 virtual void OnAccessibilityNotifications(
209 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params 210 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params
210 ) OVERRIDE; 211 ) OVERRIDE;
211 virtual bool LockMouse() OVERRIDE; 212 virtual bool LockMouse() OVERRIDE;
212 virtual void UnlockMouse() OVERRIDE; 213 virtual void UnlockMouse() OVERRIDE;
213 214
214 // Implementation of content::NotificationObserver: 215 // Implementation of content::NotificationObserver:
215 virtual void Observe(int type, 216 virtual void Observe(int type,
216 const content::NotificationSource& source, 217 const content::NotificationSource& source,
217 const content::NotificationDetails& details) OVERRIDE; 218 const content::NotificationDetails& details) OVERRIDE;
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 // Set to true if the focus is currently on an editable field on the page. 543 // Set to true if the focus is currently on an editable field on the page.
543 bool focus_on_editable_field_; 544 bool focus_on_editable_field_;
544 545
545 // Set to true if we received a focus change after a WM_POINTERDOWN message. 546 // Set to true if we received a focus change after a WM_POINTERDOWN message.
546 bool received_focus_change_after_pointer_down_; 547 bool received_focus_change_after_pointer_down_;
547 548
548 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 549 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
549 }; 550 };
550 551
551 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 552 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698