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

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: nick's nits Created 5 years 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 void UpdateCursor(const WebCursor& cursor) override; 296 void UpdateCursor(const WebCursor& cursor) override;
297 void SetIsLoading(bool is_loading) override; 297 void SetIsLoading(bool is_loading) override;
298 void TextInputStateChanged( 298 void TextInputStateChanged(
299 const ViewHostMsg_TextInputState_Params& params) override; 299 const ViewHostMsg_TextInputState_Params& params) override;
300 void ImeCancelComposition() override; 300 void ImeCancelComposition() override;
301 void ImeCompositionRangeChanged( 301 void ImeCompositionRangeChanged(
302 const gfx::Range& range, 302 const gfx::Range& range,
303 const std::vector<gfx::Rect>& character_bounds) override; 303 const std::vector<gfx::Rect>& character_bounds) override;
304 void RenderProcessGone(base::TerminationStatus status, 304 void RenderProcessGone(base::TerminationStatus status,
305 int error_code) override; 305 int error_code) override;
306 void RenderWidgetHostGone() override;
307 void Destroy() override; 306 void Destroy() override;
308 void SetTooltipText(const base::string16& tooltip_text) override; 307 void SetTooltipText(const base::string16& tooltip_text) override;
309 void SelectionChanged(const base::string16& text, 308 void SelectionChanged(const base::string16& text,
310 size_t offset, 309 size_t offset,
311 const gfx::Range& range) override; 310 const gfx::Range& range) override;
312 void SelectionBoundsChanged( 311 void SelectionBoundsChanged(
313 const ViewHostMsg_SelectionBounds_Params& params) override; 312 const ViewHostMsg_SelectionBounds_Params& params) override;
314 void CopyFromCompositingSurface(const gfx::Rect& src_subrect, 313 void CopyFromCompositingSurface(const gfx::Rect& src_subrect,
315 const gfx::Size& dst_size, 314 const gfx::Size& dst_size,
316 const ReadbackRequestCallback& callback, 315 const ReadbackRequestCallback& callback,
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 604
606 // Factory used to safely scope delayed calls to ShutdownHost(). 605 // Factory used to safely scope delayed calls to ShutdownHost().
607 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 606 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
608 607
609 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 608 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
610 }; 609 };
611 610
612 } // namespace content 611 } // namespace content
613 612
614 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 613 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698