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

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

Issue 1369603003: Remove 2-stage RenderWidget initialization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_offscreen_contexts
Patch Set: rebase Created 5 years, 2 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
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 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 // Called if we know the renderer is responsive. When we currently think the 581 // Called if we know the renderer is responsive. When we currently think the
582 // renderer is unresponsive, this will clear that state and call 582 // renderer is unresponsive, this will clear that state and call
583 // NotifyRendererResponsive. 583 // NotifyRendererResponsive.
584 void RendererIsResponsive(); 584 void RendererIsResponsive();
585 585
586 // Routines used to send the RenderWidget its screen color profile. 586 // Routines used to send the RenderWidget its screen color profile.
587 void DispatchColorProfile(); 587 void DispatchColorProfile();
588 void SendColorProfile(); 588 void SendColorProfile();
589 589
590 // IPC message handlers 590 // IPC message handlers
591 void OnRenderViewReady();
592 void OnRenderProcessGone(int status, int error_code); 591 void OnRenderProcessGone(int status, int error_code);
593 void OnClose(); 592 void OnClose();
594 void OnUpdateScreenRectsAck(); 593 void OnUpdateScreenRectsAck();
595 void OnRequestMove(const gfx::Rect& pos); 594 void OnRequestMove(const gfx::Rect& pos);
596 void OnSetTooltipText(const base::string16& tooltip_text, 595 void OnSetTooltipText(const base::string16& tooltip_text,
597 blink::WebTextDirection text_direction_hint); 596 blink::WebTextDirection text_direction_hint);
598 bool OnSwapCompositorFrame(const IPC::Message& message); 597 bool OnSwapCompositorFrame(const IPC::Message& message);
599 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 598 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
600 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); 599 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet);
601 virtual void OnFocus(); 600 virtual void OnFocus();
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 bool is_focused_; 831 bool is_focused_;
833 832
834 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 833 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
835 834
836 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 835 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
837 }; 836 };
838 837
839 } // namespace content 838 } // namespace content
840 839
841 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 840 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698