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

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

Issue 10663003: Merge the IPCs used for GPU process synchronization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 5 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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <string> 10 #include <string>
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 350
351 // Requests the renderer to select the region between two points. 351 // Requests the renderer to select the region between two points.
352 void SelectRange(const gfx::Point& start, const gfx::Point& end); 352 void SelectRange(const gfx::Point& start, const gfx::Point& end);
353 353
354 // Called when the reponse to a pending mouse lock request has arrived. 354 // Called when the reponse to a pending mouse lock request has arrived.
355 // Returns true if |allowed| is true and the mouse has been successfully 355 // Returns true if |allowed| is true and the mouse has been successfully
356 // locked. 356 // locked.
357 bool GotResponseToLockMouseRequest(bool allowed); 357 bool GotResponseToLockMouseRequest(bool allowed);
358 358
359 // Called by the view in response to AcceleratedSurfaceBuffersSwapped. 359 // Called by the view in response to AcceleratedSurfaceBuffersSwapped.
360 static void AcknowledgeSwapBuffers(int32 route_id, int gpu_host_id); 360 static void AcknowledgeBufferPresent(int32 route_id, int gpu_host_id);
361 static void AcknowledgePostSubBuffer(int32 route_id, int gpu_host_id);
362 361
363 // Signals that the compositing surface was updated, e.g. after a lost context 362 // Signals that the compositing surface was updated, e.g. after a lost context
364 // event. 363 // event.
365 void CompositingSurfaceUpdated(); 364 void CompositingSurfaceUpdated();
366 365
367 void set_allow_privileged_mouse_lock(bool allow) { 366 void set_allow_privileged_mouse_lock(bool allow) {
368 allow_privileged_mouse_lock_ = allow; 367 allow_privileged_mouse_lock_ = allow;
369 } 368 }
370 369
371 protected: 370 protected:
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 748 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
750 749
751 scoped_ptr<TapSuppressionController> tap_suppression_controller_; 750 scoped_ptr<TapSuppressionController> tap_suppression_controller_;
752 751
753 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 752 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
754 }; 753 };
755 754
756 } // namespace content 755 } // namespace content
757 756
758 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 757 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698