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

Unified Diff: ui/gfx/win/window_impl.h

Issue 132473007: aura: Destroy the compositor before destroying the backing window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: destroy-window: windows Created 6 years, 11 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/gfx/win/window_impl.h
diff --git a/ui/gfx/win/window_impl.h b/ui/gfx/win/window_impl.h
index 1825c0b2f00bf5d5aa39875de54a82286e837adf..1bdad21702dce2b59323cd0d3b4e38a95da7f6c1 100644
--- a/ui/gfx/win/window_impl.h
+++ b/ui/gfx/win/window_impl.h
@@ -54,6 +54,9 @@ class GFX_EXPORT WindowImpl : public MessageMapInterface {
// Returns the HWND associated with this Window.
HWND hwnd() const { return hwnd_; }
+ // Destroys the window.
+ void Destroy();
+
// Sets the window styles. This is ONLY used when the window is created.
// In other words, if you invoke this after invoking Init, nothing happens.
void set_window_style(DWORD style) { window_style_ = style; }

Powered by Google App Engine
This is Rietveld 408576698