OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 10 |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 virtual void ImeCancelComposition() OVERRIDE; | 199 virtual void ImeCancelComposition() OVERRIDE; |
200 virtual void ImeCompositionRangeChanged(const ui::Range& range) OVERRIDE; | 200 virtual void ImeCompositionRangeChanged(const ui::Range& range) OVERRIDE; |
201 virtual void DidUpdateBackingStore( | 201 virtual void DidUpdateBackingStore( |
202 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 202 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
203 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; | 203 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; |
204 virtual void RenderViewGone(base::TerminationStatus status, | 204 virtual void RenderViewGone(base::TerminationStatus status, |
205 int error_code) OVERRIDE; | 205 int error_code) OVERRIDE; |
206 virtual void Destroy() OVERRIDE; | 206 virtual void Destroy() OVERRIDE; |
207 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE; | 207 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE; |
208 virtual void SelectionChanged(const std::string& text, | 208 virtual void SelectionChanged(const std::string& text, |
209 const ui::Range& range, | 209 const ui::Range& range) OVERRIDE; |
210 const gfx::Point& start, | |
211 const gfx::Point& end) OVERRIDE; | |
212 virtual void ShowingContextMenu(bool showing) OVERRIDE; | 210 virtual void ShowingContextMenu(bool showing) OVERRIDE; |
213 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 211 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
214 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; | 212 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; |
215 // See comment in RenderWidgetHostView! | 213 // See comment in RenderWidgetHostView! |
216 virtual gfx::Rect GetViewCocoaBounds() const OVERRIDE; | 214 virtual gfx::Rect GetViewCocoaBounds() const OVERRIDE; |
217 virtual gfx::Rect GetRootWindowRect() OVERRIDE; | 215 virtual gfx::Rect GetRootWindowRect() OVERRIDE; |
218 virtual void SetActive(bool active) OVERRIDE; | 216 virtual void SetActive(bool active) OVERRIDE; |
219 virtual void SetWindowVisibility(bool visible) OVERRIDE; | 217 virtual void SetWindowVisibility(bool visible) OVERRIDE; |
220 virtual void WindowFrameChanged() OVERRIDE; | 218 virtual void WindowFrameChanged() OVERRIDE; |
221 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 219 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 // hidden until the software backing store has been updated. This variable is | 388 // hidden until the software backing store has been updated. This variable is |
391 // set when the gpu widget needs to be hidden once a paint is completed. | 389 // set when the gpu widget needs to be hidden once a paint is completed. |
392 bool needs_gpu_visibility_update_after_repaint_; | 390 bool needs_gpu_visibility_update_after_repaint_; |
393 | 391 |
394 gfx::PluginWindowHandle compositing_surface_; | 392 gfx::PluginWindowHandle compositing_surface_; |
395 | 393 |
396 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 394 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
397 }; | 395 }; |
398 | 396 |
399 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 397 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |