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

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, 8 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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 void UpdateBackingStoreProperties(); 483 void UpdateBackingStoreProperties();
484 484
485 // Ensure that the display link is associated with the correct display. 485 // Ensure that the display link is associated with the correct display.
486 void UpdateDisplayLink(); 486 void UpdateDisplayLink();
487 487
488 void PauseForPendingResizeOrRepaintsAndDraw(); 488 void PauseForPendingResizeOrRepaintsAndDraw();
489 489
490 // DelegatedFrameHostClient implementation. 490 // DelegatedFrameHostClient implementation.
491 ui::Layer* DelegatedFrameHostGetLayer() const override; 491 ui::Layer* DelegatedFrameHostGetLayer() const override;
492 bool DelegatedFrameHostIsVisible() const override; 492 bool DelegatedFrameHostIsVisible() const override;
493 void DelegatedFrameHostOverrideGutterColor(SkColor* color) const override;
493 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override; 494 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override;
494 bool DelegatedFrameCanCreateResizeLock() const override; 495 bool DelegatedFrameCanCreateResizeLock() const override;
495 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock( 496 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock(
496 bool defer_compositor_lock) override; 497 bool defer_compositor_lock) override;
497 void DelegatedFrameHostResizeLockWasReleased() override; 498 void DelegatedFrameHostResizeLockWasReleased() override;
498 void DelegatedFrameHostSendCompositorSwapAck( 499 void DelegatedFrameHostSendCompositorSwapAck(
499 int output_surface_id, 500 int output_surface_id,
500 const cc::CompositorFrameAck& ack) override; 501 const cc::CompositorFrameAck& ack) override;
501 void DelegatedFrameHostSendReclaimCompositorResources( 502 void DelegatedFrameHostSendReclaimCompositorResources(
502 int output_surface_id, 503 int output_surface_id,
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 605
605 // Factory used to safely scope delayed calls to ShutdownHost(). 606 // Factory used to safely scope delayed calls to ShutdownHost().
606 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 607 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
607 608
608 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 609 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
609 }; 610 };
610 611
611 } // namespace content 612 } // namespace content
612 613
613 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 614 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698