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

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

Issue 1884043002: Use black for resize gutter in tab fullscreen mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 void UpdateBackingStoreProperties(); 486 void UpdateBackingStoreProperties();
487 487
488 // Ensure that the display link is associated with the correct display. 488 // Ensure that the display link is associated with the correct display.
489 void UpdateDisplayLink(); 489 void UpdateDisplayLink();
490 490
491 void PauseForPendingResizeOrRepaintsAndDraw(); 491 void PauseForPendingResizeOrRepaintsAndDraw();
492 492
493 // DelegatedFrameHostClient implementation. 493 // DelegatedFrameHostClient implementation.
494 ui::Layer* DelegatedFrameHostGetLayer() const override; 494 ui::Layer* DelegatedFrameHostGetLayer() const override;
495 bool DelegatedFrameHostIsVisible() const override; 495 bool DelegatedFrameHostIsVisible() const override;
496 SkColor DelegatedFrameHostGetGutterColor(SkColor color) const override;
496 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override; 497 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override;
497 bool DelegatedFrameCanCreateResizeLock() const override; 498 bool DelegatedFrameCanCreateResizeLock() const override;
498 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock( 499 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock(
499 bool defer_compositor_lock) override; 500 bool defer_compositor_lock) override;
500 void DelegatedFrameHostResizeLockWasReleased() override; 501 void DelegatedFrameHostResizeLockWasReleased() override;
501 void DelegatedFrameHostSendCompositorSwapAck( 502 void DelegatedFrameHostSendCompositorSwapAck(
502 int output_surface_id, 503 int output_surface_id,
503 const cc::CompositorFrameAck& ack) override; 504 const cc::CompositorFrameAck& ack) override;
504 void DelegatedFrameHostSendReclaimCompositorResources( 505 void DelegatedFrameHostSendReclaimCompositorResources(
505 int output_surface_id, 506 int output_surface_id,
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 619
619 // Factory used to safely scope delayed calls to ShutdownHost(). 620 // Factory used to safely scope delayed calls to ShutdownHost().
620 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 621 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
621 622
622 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 623 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
623 }; 624 };
624 625
625 } // namespace content 626 } // namespace content
626 627
627 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 628 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698