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

Unified Diff: ui/aura/test/test_activation_client.h

Issue 9689047: Added notion of currently active app / browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mid air collision Created 8 years, 9 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
« no previous file with comments | « content/test/test_renderer_host.h ('k') | ui/aura/test/test_activation_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/test_activation_client.h
diff --git a/ui/aura/test/test_activation_client.h b/ui/aura/test/test_activation_client.h
index 6221d2144ca5f189910cbfe71bc7054e85552300..831cd9c0a8cda5dceec860c5a029a1c8f6bd512c 100644
--- a/ui/aura/test/test_activation_client.h
+++ b/ui/aura/test/test_activation_client.h
@@ -31,11 +31,13 @@ class TestActivationClient : public client::ActivationClient,
virtual void OnWindowDestroyed(Window* window) OVERRIDE;
private:
+ void RemoveActiveWindow(Window* window);
+
// This class explicitly does NOT store the active window in a window property
// to make sure that storing the active window in a property is not treated as
// part of the aura API. Assumptions to that end will cause tests that use
// this client to fail.
- Window* active_window_;
+ std::vector<Window*> active_windows_;
DISALLOW_COPY_AND_ASSIGN(TestActivationClient);
};
« no previous file with comments | « content/test/test_renderer_host.h ('k') | ui/aura/test/test_activation_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698