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

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

Issue 5172009: This adds some plumbing for propagating the reason for a renderer's death (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final review changes Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 #import <QuartzCore/CALayer.h> 10 #import <QuartzCore/CALayer.h>
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 virtual bool IsShowing(); 193 virtual bool IsShowing();
194 virtual gfx::Rect GetViewBounds() const; 194 virtual gfx::Rect GetViewBounds() const;
195 virtual void UpdateCursor(const WebCursor& cursor); 195 virtual void UpdateCursor(const WebCursor& cursor);
196 virtual void SetIsLoading(bool is_loading); 196 virtual void SetIsLoading(bool is_loading);
197 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType state, 197 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType state,
198 const gfx::Rect& caret_rect); 198 const gfx::Rect& caret_rect);
199 virtual void ImeCancelComposition(); 199 virtual void ImeCancelComposition();
200 virtual void DidUpdateBackingStore( 200 virtual void DidUpdateBackingStore(
201 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 201 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
202 const std::vector<gfx::Rect>& copy_rects); 202 const std::vector<gfx::Rect>& copy_rects);
203 virtual void RenderViewGone(); 203 virtual void RenderViewGone(base::TerminationStatus status,
204 int error_code);
204 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {}; 205 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {};
205 virtual void Destroy(); 206 virtual void Destroy();
206 virtual void SetTooltipText(const std::wstring& tooltip_text); 207 virtual void SetTooltipText(const std::wstring& tooltip_text);
207 virtual void SelectionChanged(const std::string& text); 208 virtual void SelectionChanged(const std::string& text);
208 virtual BackingStore* AllocBackingStore(const gfx::Size& size); 209 virtual BackingStore* AllocBackingStore(const gfx::Size& size);
209 virtual void SetTakesFocusOnlyOnMouseDown(bool flag); 210 virtual void SetTakesFocusOnlyOnMouseDown(bool flag);
210 virtual gfx::Rect GetWindowRect(); 211 virtual gfx::Rect GetWindowRect();
211 virtual gfx::Rect GetRootWindowRect(); 212 virtual gfx::Rect GetRootWindowRect();
212 virtual void SetActive(bool active); 213 virtual void SetActive(bool active);
213 virtual void SetWindowVisibility(bool visible); 214 virtual void SetWindowVisibility(bool visible);
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 365
365 // When rendering transitions from gpu to software, the gpu widget can't be 366 // When rendering transitions from gpu to software, the gpu widget can't be
366 // hidden until the software backing store has been updated. This variable is 367 // hidden until the software backing store has been updated. This variable is
367 // set when the gpu widget needs to be hidden once a paint is completed. 368 // set when the gpu widget needs to be hidden once a paint is completed.
368 bool needs_gpu_visibility_update_after_repaint_; 369 bool needs_gpu_visibility_update_after_repaint_;
369 370
370 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 371 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
371 }; 372 };
372 373
373 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 374 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698