| OLD | NEW |
| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 virtual bool IsShowing(); | 190 virtual bool IsShowing(); |
| 191 virtual gfx::Rect GetViewBounds() const; | 191 virtual gfx::Rect GetViewBounds() const; |
| 192 virtual void UpdateCursor(const WebCursor& cursor); | 192 virtual void UpdateCursor(const WebCursor& cursor); |
| 193 virtual void SetIsLoading(bool is_loading); | 193 virtual void SetIsLoading(bool is_loading); |
| 194 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType state, | 194 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType state, |
| 195 const gfx::Rect& caret_rect); | 195 const gfx::Rect& caret_rect); |
| 196 virtual void ImeCancelComposition(); | 196 virtual void ImeCancelComposition(); |
| 197 virtual void DidUpdateBackingStore( | 197 virtual void DidUpdateBackingStore( |
| 198 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 198 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
| 199 const std::vector<gfx::Rect>& copy_rects); | 199 const std::vector<gfx::Rect>& copy_rects); |
| 200 virtual void RenderViewGone(); | 200 virtual void RenderViewGone(base::TerminationStatus status, |
| 201 int error_code); |
| 201 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {}; | 202 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {}; |
| 202 virtual void Destroy(); | 203 virtual void Destroy(); |
| 203 virtual void SetTooltipText(const std::wstring& tooltip_text); | 204 virtual void SetTooltipText(const std::wstring& tooltip_text); |
| 204 virtual void SelectionChanged(const std::string& text); | 205 virtual void SelectionChanged(const std::string& text); |
| 205 virtual BackingStore* AllocBackingStore(const gfx::Size& size); | 206 virtual BackingStore* AllocBackingStore(const gfx::Size& size); |
| 206 virtual VideoLayer* AllocVideoLayer(const gfx::Size& size); | 207 virtual VideoLayer* AllocVideoLayer(const gfx::Size& size); |
| 207 virtual void ShowPopupWithItems(gfx::Rect bounds, | 208 virtual void ShowPopupWithItems(gfx::Rect bounds, |
| 208 int item_height, | 209 int item_height, |
| 209 double item_font_size, | 210 double item_font_size, |
| 210 int selected_item, | 211 int selected_item, |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 // Whether or not web accessibility is enabled. | 340 // Whether or not web accessibility is enabled. |
| 340 bool renderer_accessible_; | 341 bool renderer_accessible_; |
| 341 | 342 |
| 342 // selected text on the renderer. | 343 // selected text on the renderer. |
| 343 std::string selected_text_; | 344 std::string selected_text_; |
| 344 | 345 |
| 345 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 346 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 346 }; | 347 }; |
| 347 | 348 |
| 348 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 349 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |