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

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

Issue 228083002: Make ReflectorImpl use mailboxes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | Annotate | Revision Log
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 <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 470
471 // Add on compositing commit callback. 471 // Add on compositing commit callback.
472 void AddOnCommitCallbackAndDisableLocks(const base::Closure& callback); 472 void AddOnCommitCallbackAndDisableLocks(const base::Closure& callback);
473 473
474 // Called after |window_| is parented to a WindowEventDispatcher. 474 // Called after |window_| is parented to a WindowEventDispatcher.
475 void AddedToRootWindow(); 475 void AddedToRootWindow();
476 476
477 // Called prior to removing |window_| from a WindowEventDispatcher. 477 // Called prior to removing |window_| from a WindowEventDispatcher.
478 void RemovingFromRootWindow(); 478 void RemovingFromRootWindow();
479 479
480 // Called after commit for the last reference to the texture going away
481 // after it was released as the frontbuffer.
482 void SetSurfaceNotInUseByCompositor(scoped_refptr<ui::Texture>);
483
484 // Called after async thumbnailer task completes. Scales and crops the result 480 // Called after async thumbnailer task completes. Scales and crops the result
485 // of the copy. 481 // of the copy.
486 static void CopyFromCompositingSurfaceHasResult( 482 static void CopyFromCompositingSurfaceHasResult(
487 const gfx::Size& dst_size_in_pixel, 483 const gfx::Size& dst_size_in_pixel,
488 const SkBitmap::Config config, 484 const SkBitmap::Config config,
489 const base::Callback<void(bool, const SkBitmap&)>& callback, 485 const base::Callback<void(bool, const SkBitmap&)>& callback,
490 scoped_ptr<cc::CopyOutputResult> result); 486 scoped_ptr<cc::CopyOutputResult> result);
491 static void PrepareTextureCopyOutputResult( 487 static void PrepareTextureCopyOutputResult(
492 const gfx::Size& dst_size_in_pixel, 488 const gfx::Size& dst_size_in_pixel,
493 const SkBitmap::Config config, 489 const SkBitmap::Config config,
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 // etc. 740 // etc.
745 scoped_ptr<content::LegacyRenderWidgetHostHWND> 741 scoped_ptr<content::LegacyRenderWidgetHostHWND>
746 legacy_render_widget_host_HWND_; 742 legacy_render_widget_host_HWND_;
747 #endif 743 #endif
748 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 744 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
749 }; 745 };
750 746
751 } // namespace content 747 } // namespace content
752 748
753 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 749 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « content/browser/compositor/reflector_impl.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