| 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 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/scoped_nsobject.h" | 10 #include "base/scoped_nsobject.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 const std::vector<webkit_glue::WebPluginGeometry>& moves); | 88 const std::vector<webkit_glue::WebPluginGeometry>& moves); |
| 89 virtual void Focus(); | 89 virtual void Focus(); |
| 90 virtual void Blur(); | 90 virtual void Blur(); |
| 91 virtual bool HasFocus(); | 91 virtual bool HasFocus(); |
| 92 virtual void Show(); | 92 virtual void Show(); |
| 93 virtual void Hide(); | 93 virtual void Hide(); |
| 94 virtual gfx::Rect GetViewBounds() const; | 94 virtual gfx::Rect GetViewBounds() const; |
| 95 virtual void UpdateCursor(const WebCursor& cursor); | 95 virtual void UpdateCursor(const WebCursor& cursor); |
| 96 virtual void SetIsLoading(bool is_loading); | 96 virtual void SetIsLoading(bool is_loading); |
| 97 virtual void IMEUpdateStatus(int control, const gfx::Rect& caret_rect); | 97 virtual void IMEUpdateStatus(int control, const gfx::Rect& caret_rect); |
| 98 virtual void DidPaintBackingStoreRects(const std::vector<gfx::Rect>& rects); | 98 virtual void DidPaintRect(const gfx::Rect& rect); |
| 99 virtual void DidScrollBackingStoreRect(const gfx::Rect& rect, int dx, int dy); | 99 virtual void DidScrollRect(const gfx::Rect& rect, int dx, int dy); |
| 100 virtual void RenderViewGone(); | 100 virtual void RenderViewGone(); |
| 101 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {}; | 101 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {}; |
| 102 virtual void Destroy(); | 102 virtual void Destroy(); |
| 103 virtual void SetTooltipText(const std::wstring& tooltip_text); | 103 virtual void SetTooltipText(const std::wstring& tooltip_text); |
| 104 virtual BackingStore* AllocBackingStore(const gfx::Size& size); | 104 virtual BackingStore* AllocBackingStore(const gfx::Size& size); |
| 105 virtual void ShowPopupWithItems(gfx::Rect bounds, | 105 virtual void ShowPopupWithItems(gfx::Rect bounds, |
| 106 int item_height, | 106 int item_height, |
| 107 int selected_item, | 107 int selected_item, |
| 108 const std::vector<WebMenuItem>& items); | 108 const std::vector<WebMenuItem>& items); |
| 109 virtual gfx::Rect GetWindowRect(); | 109 virtual gfx::Rect GetWindowRect(); |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 // Factory used to safely scope delayed calls to ShutdownHost(). | 216 // Factory used to safely scope delayed calls to ShutdownHost(). |
| 217 ScopedRunnableMethodFactory<RenderWidgetHostViewMac> shutdown_factory_; | 217 ScopedRunnableMethodFactory<RenderWidgetHostViewMac> shutdown_factory_; |
| 218 | 218 |
| 219 // Used for positioning a popup menu. | 219 // Used for positioning a popup menu. |
| 220 BaseView* parent_view_; | 220 BaseView* parent_view_; |
| 221 | 221 |
| 222 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 222 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 223 }; | 223 }; |
| 224 | 224 |
| 225 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 225 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |