| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 // Implementation of RenderWidgetHostView: | 177 // Implementation of RenderWidgetHostView: |
| 178 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 178 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 179 const gfx::Rect& pos); | 179 const gfx::Rect& pos); |
| 180 virtual void InitAsFullscreen(RenderWidgetHostView* parent_host_view); | 180 virtual void InitAsFullscreen(RenderWidgetHostView* parent_host_view); |
| 181 virtual RenderWidgetHost* GetRenderWidgetHost() const; | 181 virtual RenderWidgetHost* GetRenderWidgetHost() const; |
| 182 virtual void DidBecomeSelected(); | 182 virtual void DidBecomeSelected(); |
| 183 virtual void WasHidden(); | 183 virtual void WasHidden(); |
| 184 virtual void SetSize(const gfx::Size& size); | 184 virtual void SetSize(const gfx::Size& size); |
| 185 virtual gfx::NativeView GetNativeView(); | 185 virtual gfx::NativeView GetNativeView(); |
| 186 virtual void MovePluginWindows( | 186 virtual void MovePluginWindows( |
| 187 const std::vector<webkit_glue::WebPluginGeometry>& moves); | 187 const std::vector<webkit::npapi::WebPluginGeometry>& moves); |
| 188 virtual void Focus(); | 188 virtual void Focus(); |
| 189 virtual void Blur(); | 189 virtual void Blur(); |
| 190 virtual bool HasFocus(); | 190 virtual bool HasFocus(); |
| 191 virtual void Show(); | 191 virtual void Show(); |
| 192 virtual void Hide(); | 192 virtual void Hide(); |
| 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, |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 | 365 |
| 366 // 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 |
| 367 // 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 |
| 368 // 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. |
| 369 bool needs_gpu_visibility_update_after_repaint_; | 369 bool needs_gpu_visibility_update_after_repaint_; |
| 370 | 370 |
| 371 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 371 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 372 }; | 372 }; |
| 373 | 373 |
| 374 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 374 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |