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

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

Issue 1989453003: cc: Add ScopedReadLockGpuMemoryBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix aura typo 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_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 // moved to center. 425 // moved to center.
426 bool ShouldMoveToCenter(); 426 bool ShouldMoveToCenter();
427 427
428 // Called after |window_| is parented to a WindowEventDispatcher. 428 // Called after |window_| is parented to a WindowEventDispatcher.
429 void AddedToRootWindow(); 429 void AddedToRootWindow();
430 430
431 // Called prior to removing |window_| from a WindowEventDispatcher. 431 // Called prior to removing |window_| from a WindowEventDispatcher.
432 void RemovingFromRootWindow(); 432 void RemovingFromRootWindow();
433 433
434 // DelegatedFrameHostClient implementation. 434 // DelegatedFrameHostClient implementation.
435 int DelegatedFrameHostGetGpuMemoryBufferClientId() const override;
435 ui::Layer* DelegatedFrameHostGetLayer() const override; 436 ui::Layer* DelegatedFrameHostGetLayer() const override;
436 bool DelegatedFrameHostIsVisible() const override; 437 bool DelegatedFrameHostIsVisible() const override;
437 SkColor DelegatedFrameHostGetGutterColor(SkColor color) const override; 438 SkColor DelegatedFrameHostGetGutterColor(SkColor color) const override;
438 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override; 439 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override;
439 bool DelegatedFrameCanCreateResizeLock() const override; 440 bool DelegatedFrameCanCreateResizeLock() const override;
440 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock( 441 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock(
441 bool defer_compositor_lock) override; 442 bool defer_compositor_lock) override;
442 void DelegatedFrameHostResizeLockWasReleased() override; 443 void DelegatedFrameHostResizeLockWasReleased() override;
443 void DelegatedFrameHostSendCompositorSwapAck( 444 void DelegatedFrameHostSendCompositorSwapAck(
444 int output_surface_id, 445 int output_surface_id,
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 bool disable_input_event_router_for_testing_; 674 bool disable_input_event_router_for_testing_;
674 675
675 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 676 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
676 677
677 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 678 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
678 }; 679 };
679 680
680 } // namespace content 681 } // namespace content
681 682
682 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 683 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/delegated_frame_host.cc ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698