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

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

Issue 154083008: Remove Tabpose feature on mac, and supporting infrastructure (PaintAtSize) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, merge Created 6 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_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 <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 virtual void ForwardWheelEvent( 153 virtual void ForwardWheelEvent(
154 const blink::WebMouseWheelEvent& wheel_event) OVERRIDE; 154 const blink::WebMouseWheelEvent& wheel_event) OVERRIDE;
155 virtual void ForwardKeyboardEvent( 155 virtual void ForwardKeyboardEvent(
156 const NativeWebKeyboardEvent& key_event) OVERRIDE; 156 const NativeWebKeyboardEvent& key_event) OVERRIDE;
157 virtual const gfx::Vector2d& GetLastScrollOffset() const OVERRIDE; 157 virtual const gfx::Vector2d& GetLastScrollOffset() const OVERRIDE;
158 virtual RenderProcessHost* GetProcess() const OVERRIDE; 158 virtual RenderProcessHost* GetProcess() const OVERRIDE;
159 virtual int GetRoutingID() const OVERRIDE; 159 virtual int GetRoutingID() const OVERRIDE;
160 virtual RenderWidgetHostView* GetView() const OVERRIDE; 160 virtual RenderWidgetHostView* GetView() const OVERRIDE;
161 virtual bool IsLoading() const OVERRIDE; 161 virtual bool IsLoading() const OVERRIDE;
162 virtual bool IsRenderView() const OVERRIDE; 162 virtual bool IsRenderView() const OVERRIDE;
163 virtual void PaintAtSize(TransportDIB::Handle dib_handle,
164 int tag,
165 const gfx::Size& page_size,
166 const gfx::Size& desired_size) OVERRIDE;
167 virtual void Replace(const base::string16& word) OVERRIDE; 163 virtual void Replace(const base::string16& word) OVERRIDE;
168 virtual void ReplaceMisspelling(const base::string16& word) OVERRIDE; 164 virtual void ReplaceMisspelling(const base::string16& word) OVERRIDE;
169 virtual void ResizeRectChanged(const gfx::Rect& new_rect) OVERRIDE; 165 virtual void ResizeRectChanged(const gfx::Rect& new_rect) OVERRIDE;
170 virtual void RestartHangMonitorTimeout() OVERRIDE; 166 virtual void RestartHangMonitorTimeout() OVERRIDE;
171 virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE; 167 virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE;
172 virtual void Stop() OVERRIDE; 168 virtual void Stop() OVERRIDE;
173 virtual void WasResized() OVERRIDE; 169 virtual void WasResized() OVERRIDE;
174 virtual void AddKeyPressEventCallback( 170 virtual void AddKeyPressEventCallback(
175 const KeyPressEventCallback& callback) OVERRIDE; 171 const KeyPressEventCallback& callback) OVERRIDE;
176 virtual void RemoveKeyPressEventCallback( 172 virtual void RemoveKeyPressEventCallback(
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 void RendererIsResponsive(); 655 void RendererIsResponsive();
660 656
661 // IPC message handlers 657 // IPC message handlers
662 void OnRenderViewReady(); 658 void OnRenderViewReady();
663 void OnRenderProcessGone(int status, int error_code); 659 void OnRenderProcessGone(int status, int error_code);
664 void OnClose(); 660 void OnClose();
665 void OnUpdateScreenRectsAck(); 661 void OnUpdateScreenRectsAck();
666 void OnRequestMove(const gfx::Rect& pos); 662 void OnRequestMove(const gfx::Rect& pos);
667 void OnSetTooltipText(const base::string16& tooltip_text, 663 void OnSetTooltipText(const base::string16& tooltip_text,
668 blink::WebTextDirection text_direction_hint); 664 blink::WebTextDirection text_direction_hint);
669 void OnPaintAtSizeAck(int tag, const gfx::Size& size);
670 #if defined(OS_MACOSX) 665 #if defined(OS_MACOSX)
671 void OnCompositorSurfaceBuffersSwapped( 666 void OnCompositorSurfaceBuffersSwapped(
672 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params); 667 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params);
673 #endif 668 #endif
674 bool OnSwapCompositorFrame(const IPC::Message& message); 669 bool OnSwapCompositorFrame(const IPC::Message& message);
675 void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, 670 void OnOverscrolled(gfx::Vector2dF accumulated_overscroll,
676 gfx::Vector2dF current_fling_velocity); 671 gfx::Vector2dF current_fling_velocity);
677 void OnFlingingStopped(); 672 void OnFlingingStopped();
678 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 673 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
679 void OnUpdateIsDelayed(); 674 void OnUpdateIsDelayed();
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; 932 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_;
938 933
939 int64 last_input_number_; 934 int64 last_input_number_;
940 935
941 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 936 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
942 }; 937 };
943 938
944 } // namespace content 939 } // namespace content
945 940
946 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 941 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/test/base/ui_test_utils.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