Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_mac.h

Issue 853883007: Add occlusion support to WebContentsImpl and RenderWidgetHostView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove mac comment Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <IOSurface/IOSurfaceAPI.h> 9 #include <IOSurface/IOSurfaceAPI.h>
10 #include <list> 10 #include <list>
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 void SetBounds(const gfx::Rect& rect) override; 238 void SetBounds(const gfx::Rect& rect) override;
239 gfx::Vector2dF GetLastScrollOffset() const override; 239 gfx::Vector2dF GetLastScrollOffset() const override;
240 gfx::NativeView GetNativeView() const override; 240 gfx::NativeView GetNativeView() const override;
241 gfx::NativeViewId GetNativeViewId() const override; 241 gfx::NativeViewId GetNativeViewId() const override;
242 gfx::NativeViewAccessible GetNativeViewAccessible() override; 242 gfx::NativeViewAccessible GetNativeViewAccessible() override;
243 bool HasFocus() const override; 243 bool HasFocus() const override;
244 bool IsSurfaceAvailableForCopy() const override; 244 bool IsSurfaceAvailableForCopy() const override;
245 void Show() override; 245 void Show() override;
246 void Hide() override; 246 void Hide() override;
247 bool IsShowing() override; 247 bool IsShowing() override;
248 void WasUnOccluded() override;
249 void WasOccluded() override;
248 gfx::Rect GetViewBounds() const override; 250 gfx::Rect GetViewBounds() const override;
249 void SetShowingContextMenu(bool showing) override; 251 void SetShowingContextMenu(bool showing) override;
250 void SetActive(bool active) override; 252 void SetActive(bool active) override;
251 void SetWindowVisibility(bool visible) override; 253 void SetWindowVisibility(bool visible) override;
252 void WindowFrameChanged() override; 254 void WindowFrameChanged() override;
253 void ShowDefinitionForSelection() override; 255 void ShowDefinitionForSelection() override;
254 bool SupportsSpeech() const override; 256 bool SupportsSpeech() const override;
255 void SpeakSelection() override; 257 void SpeakSelection() override;
256 bool IsSpeaking() const override; 258 bool IsSpeaking() const override;
257 void StopSpeaking() override; 259 void StopSpeaking() override;
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 552
551 // Factory used to safely scope delayed calls to ShutdownHost(). 553 // Factory used to safely scope delayed calls to ShutdownHost().
552 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 554 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
553 555
554 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 556 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
555 }; 557 };
556 558
557 } // namespace content 559 } // namespace content
558 560
559 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 561 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698