| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 6 #define CONTENT_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 #include <list> | 10 #include <list> |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 // RenderWidgetHostView implementation. | 184 // RenderWidgetHostView implementation. |
| 185 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; | 185 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; |
| 186 virtual content::RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; | 186 virtual content::RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; |
| 187 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 187 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
| 188 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 188 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
| 189 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 189 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 190 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 190 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
| 191 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 191 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
| 192 virtual bool HasFocus() const OVERRIDE; | 192 virtual bool HasFocus() const OVERRIDE; |
| 193 virtual bool HasSurface() const OVERRIDE; |
| 193 virtual void Show() OVERRIDE; | 194 virtual void Show() OVERRIDE; |
| 194 virtual void Hide() OVERRIDE; | 195 virtual void Hide() OVERRIDE; |
| 195 virtual bool IsShowing() OVERRIDE; | 196 virtual bool IsShowing() OVERRIDE; |
| 196 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 197 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
| 197 virtual void SetShowingContextMenu(bool showing) OVERRIDE; | 198 virtual void SetShowingContextMenu(bool showing) OVERRIDE; |
| 198 virtual void SetActive(bool active) OVERRIDE; | 199 virtual void SetActive(bool active) OVERRIDE; |
| 199 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; | 200 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; |
| 200 virtual void SetWindowVisibility(bool visible) OVERRIDE; | 201 virtual void SetWindowVisibility(bool visible) OVERRIDE; |
| 201 virtual void WindowFrameChanged() OVERRIDE; | 202 virtual void WindowFrameChanged() OVERRIDE; |
| 202 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 203 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 std::string selected_text_; | 421 std::string selected_text_; |
| 421 | 422 |
| 422 // The fullscreen window used for pepper flash. | 423 // The fullscreen window used for pepper flash. |
| 423 scoped_nsobject<NSWindow> pepper_fullscreen_window_; | 424 scoped_nsobject<NSWindow> pepper_fullscreen_window_; |
| 424 scoped_nsobject<FullscreenWindowManager> fullscreen_window_manager_; | 425 scoped_nsobject<FullscreenWindowManager> fullscreen_window_manager_; |
| 425 | 426 |
| 426 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 427 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 427 }; | 428 }; |
| 428 | 429 |
| 429 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 430 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |