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

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

Issue 1453803002: Separate RenderViewHost from RenderWidgetHost, part 10: shutdown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: all in destroy, plus mac Created 5 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
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_MAC_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <IOSurface/IOSurface.h> 9 #include <IOSurface/IOSurface.h>
10 #include <list> 10 #include <list>
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 void UpdateCursor(const WebCursor& cursor) override; 295 void UpdateCursor(const WebCursor& cursor) override;
296 void SetIsLoading(bool is_loading) override; 296 void SetIsLoading(bool is_loading) override;
297 void TextInputStateChanged( 297 void TextInputStateChanged(
298 const ViewHostMsg_TextInputState_Params& params) override; 298 const ViewHostMsg_TextInputState_Params& params) override;
299 void ImeCancelComposition() override; 299 void ImeCancelComposition() override;
300 void ImeCompositionRangeChanged( 300 void ImeCompositionRangeChanged(
301 const gfx::Range& range, 301 const gfx::Range& range,
302 const std::vector<gfx::Rect>& character_bounds) override; 302 const std::vector<gfx::Rect>& character_bounds) override;
303 void RenderProcessGone(base::TerminationStatus status, 303 void RenderProcessGone(base::TerminationStatus status,
304 int error_code) override; 304 int error_code) override;
305 void RenderWidgetHostGone() override;
306 void Destroy() override; 305 void Destroy() override;
307 void SetTooltipText(const base::string16& tooltip_text) override; 306 void SetTooltipText(const base::string16& tooltip_text) override;
308 void SelectionChanged(const base::string16& text, 307 void SelectionChanged(const base::string16& text,
309 size_t offset, 308 size_t offset,
310 const gfx::Range& range) override; 309 const gfx::Range& range) override;
311 void SelectionBoundsChanged( 310 void SelectionBoundsChanged(
312 const ViewHostMsg_SelectionBounds_Params& params) override; 311 const ViewHostMsg_SelectionBounds_Params& params) override;
313 void CopyFromCompositingSurface(const gfx::Rect& src_subrect, 312 void CopyFromCompositingSurface(const gfx::Rect& src_subrect,
314 const gfx::Size& dst_size, 313 const gfx::Size& dst_size,
315 const ReadbackRequestCallback& callback, 314 const ReadbackRequestCallback& callback,
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 600
602 // Factory used to safely scope delayed calls to ShutdownHost(). 601 // Factory used to safely scope delayed calls to ShutdownHost().
603 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 602 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
604 603
605 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 604 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
606 }; 605 };
607 606
608 } // namespace content 607 } // namespace content
609 608
610 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 609 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698