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

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

Issue 1980163002: Use black for resize gutter in tab fullscreen mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 7 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/IOSurface.h> 9 #include <IOSurface/IOSurface.h>
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 void UpdateBackingStoreProperties(); 480 void UpdateBackingStoreProperties();
481 481
482 // Ensure that the display link is associated with the correct display. 482 // Ensure that the display link is associated with the correct display.
483 void UpdateDisplayLink(); 483 void UpdateDisplayLink();
484 484
485 void PauseForPendingResizeOrRepaintsAndDraw(); 485 void PauseForPendingResizeOrRepaintsAndDraw();
486 486
487 // DelegatedFrameHostClient implementation. 487 // DelegatedFrameHostClient implementation.
488 ui::Layer* DelegatedFrameHostGetLayer() const override; 488 ui::Layer* DelegatedFrameHostGetLayer() const override;
489 bool DelegatedFrameHostIsVisible() const override; 489 bool DelegatedFrameHostIsVisible() const override;
490 SkColor DelegatedFrameHostGetGutterColor(SkColor color) const override;
490 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override; 491 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override;
491 bool DelegatedFrameCanCreateResizeLock() const override; 492 bool DelegatedFrameCanCreateResizeLock() const override;
492 scoped_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock( 493 scoped_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock(
493 bool defer_compositor_lock) override; 494 bool defer_compositor_lock) override;
494 void DelegatedFrameHostResizeLockWasReleased() override; 495 void DelegatedFrameHostResizeLockWasReleased() override;
495 void DelegatedFrameHostSendCompositorSwapAck( 496 void DelegatedFrameHostSendCompositorSwapAck(
496 int output_surface_id, 497 int output_surface_id,
497 const cc::CompositorFrameAck& ack) override; 498 const cc::CompositorFrameAck& ack) override;
498 void DelegatedFrameHostSendReclaimCompositorResources( 499 void DelegatedFrameHostSendReclaimCompositorResources(
499 int output_surface_id, 500 int output_surface_id,
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 602
602 // Factory used to safely scope delayed calls to ShutdownHost(). 603 // Factory used to safely scope delayed calls to ShutdownHost().
603 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 604 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
604 605
605 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 606 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
606 }; 607 };
607 608
608 } // namespace content 609 } // namespace content
609 610
610 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 611 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698