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

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

Issue 8595002: Get rid of gpu_messages.h include in chrome by having the RenderWidgetHostView implementation ask... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix aura/views build Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <string> 10 #include <string>
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 void Paste(); 434 void Paste();
435 void PasteAndMatchStyle(); 435 void PasteAndMatchStyle();
436 void Delete(); 436 void Delete();
437 void SelectAll(); 437 void SelectAll();
438 438
439 // Called when the reponse to a pending mouse lock request has arrived. 439 // Called when the reponse to a pending mouse lock request has arrived.
440 // Returns true if |allowed| is true and the mouse has been successfully 440 // Returns true if |allowed| is true and the mouse has been successfully
441 // locked. 441 // locked.
442 bool GotResponseToLockMouseRequest(bool allowed); 442 bool GotResponseToLockMouseRequest(bool allowed);
443 443
444 #if defined(OS_MACOSX) || defined(UI_COMPOSITOR_IMAGE_TRANSPORT)
445 // Called by the view in response to AcceleratedSurfaceBuffersSwapped.
446 void AcknowledgeSwapBuffers(int32 route_id, int gpu_host_id);
447 #endif
448
444 protected: 449 protected:
445 // Internal implementation of the public Forward*Event() methods. 450 // Internal implementation of the public Forward*Event() methods.
446 void ForwardInputEvent(const WebKit::WebInputEvent& input_event, 451 void ForwardInputEvent(const WebKit::WebInputEvent& input_event,
447 int event_size, bool is_keyboard_shortcut); 452 int event_size, bool is_keyboard_shortcut);
448 453
449 // Called when we receive a notification indicating that the renderer 454 // Called when we receive a notification indicating that the renderer
450 // process has gone. This will reset our state so that our state will be 455 // process has gone. This will reset our state so that our state will be
451 // consistent if a new renderer is created. 456 // consistent if a new renderer is created.
452 void RendererExited(base::TerminationStatus status, int exit_code); 457 void RendererExited(base::TerminationStatus status, int exit_code);
453 458
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 gfx::Point last_scroll_offset_; 777 gfx::Point last_scroll_offset_;
773 778
774 bool pending_mouse_lock_request_; 779 bool pending_mouse_lock_request_;
775 780
776 base::WeakPtrFactory<RenderWidgetHost> weak_factory_; 781 base::WeakPtrFactory<RenderWidgetHost> weak_factory_;
777 782
778 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); 783 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost);
779 }; 784 };
780 785
781 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 786 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.cc ('k') | content/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698