diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-20 02:34:45 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-20 02:34:45 +0000 |
commit | a7fe9110edf7ad578f19655e6d86030cc01e53e2 (patch) | |
tree | 6810038b3bb6f2d04904406c4a40c2f3e62c15e4 /chrome/browser/ui/panels/test_panel_active_state_observer.h | |
parent | d5b2197037aac358c1ac7c747e2761e1562a584b (diff) | |
download | chromium_src-a7fe9110edf7ad578f19655e6d86030cc01e53e2.zip chromium_src-a7fe9110edf7ad578f19655e6d86030cc01e53e2.tar.gz chromium_src-a7fe9110edf7ad578f19655e6d86030cc01e53e2.tar.bz2 |
Create content\public\test\test_utils.h to hold common test classes that are used by unit and browser tests. unit tests shouldn't be including ui_test_utils.h.
BUG=90448
Review URL: https://chromiumcodereview.appspot.com/10807047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147602 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/panels/test_panel_active_state_observer.h')
-rw-r--r-- | chrome/browser/ui/panels/test_panel_active_state_observer.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/chrome/browser/ui/panels/test_panel_active_state_observer.h b/chrome/browser/ui/panels/test_panel_active_state_observer.h index b1e8744..066d87f 100644 --- a/chrome/browser/ui/panels/test_panel_active_state_observer.h +++ b/chrome/browser/ui/panels/test_panel_active_state_observer.h @@ -5,10 +5,16 @@ #ifndef CHROME_BROWSER_UI_PANELS_TEST_PANEL_ACTIVE_STATE_OBSERVER_H_ #define CHROME_BROWSER_UI_PANELS_TEST_PANEL_ACTIVE_STATE_OBSERVER_H_ -#include "chrome/test/base/ui_test_utils.h" +#include "base/memory/ref_counted.h" +#include "content/public/browser/notification_observer.h" +#include "content/public/browser/notification_registrar.h" class Panel; +namespace content { +class MessageLoopRunner; +} + // Custom notification observer for waiting on panel active state. // Modeled after ui_test_utils notification observers. class PanelActiveStateObserver : public content::NotificationObserver { @@ -34,7 +40,7 @@ class PanelActiveStateObserver : public content::NotificationObserver { bool seen_; // true after transition to expected state has been seen bool running_; // indicates whether message loop is running content::NotificationRegistrar registrar_; - scoped_refptr<ui_test_utils::MessageLoopRunner> message_loop_runner_; + scoped_refptr<content::MessageLoopRunner> message_loop_runner_; DISALLOW_COPY_AND_ASSIGN(PanelActiveStateObserver); }; |