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

Unified Diff: ui/views/controls/native/native_view_host_wrapper.h

Issue 24299004: Implement features in NativeViewHostAura for scroll end effect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Responded to sky's comments and added some testing Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/controls/native/native_view_host_wrapper.h
diff --git a/ui/views/controls/native/native_view_host_wrapper.h b/ui/views/controls/native/native_view_host_wrapper.h
index 3b3cb37fbdc0b5382b8819ca7223a0b4f88b28fd..de6aa5d512d8021a3dc6d38c0b36c9003697ee83 100644
--- a/ui/views/controls/native/native_view_host_wrapper.h
+++ b/ui/views/controls/native/native_view_host_wrapper.h
@@ -24,6 +24,11 @@ class VIEWS_EXPORT NativeViewHostWrapper {
// initialization.
virtual void NativeViewWillAttach() = 0;
+ // Called at the end of attaching a gfx::NativeView to the associated
+ // NativeViewHost, allowing the wrapper to perform platform-specific
+ // operations that need to occur after the gfx::NativeView is attached.
+ virtual void NativeViewAttached() = 0;
+
// Called before the attached gfx::NativeView is detached from the
// NativeViewHost, allowing the wrapper to perform platform-specific
// cleanup. |destroyed| is true if the native view is detached

Powered by Google App Engine
This is Rietveld 408576698