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

Unified Diff: chrome/browser/ui/panels/base_panel_browser_test.h

Issue 8503037: Fix the problem that notifications and panels overlap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 9 years, 1 month 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: chrome/browser/ui/panels/base_panel_browser_test.h
diff --git a/chrome/browser/ui/panels/base_panel_browser_test.h b/chrome/browser/ui/panels/base_panel_browser_test.h
index 42cf7e0cf42141ee97c4057a1ab5a34a82dafa71..a833706d2dac80a0afd91df9cc9a935418417feb 100644
--- a/chrome/browser/ui/panels/base_panel_browser_test.h
+++ b/chrome/browser/ui/panels/base_panel_browser_test.h
@@ -58,6 +58,8 @@ class BasePanelBrowserTest : public InProcessBrowserTest {
const gfx::Rect& bounds);
Panel* CreatePanel(const std::string& panel_name);
+ void WaitForPanelAdded(Panel* panel);
+ void WaitForPanelRemoved(Panel* panel);
void WaitForPanelActiveState(Panel* panel, ActiveState state);
void WaitForWindowSizeAvailable(Panel* panel);
void WaitForBoundsAnimationFinished(Panel* panel);
@@ -69,6 +71,9 @@ class BasePanelBrowserTest : public InProcessBrowserTest {
const DictionaryValue& extra_value);
gfx::Rect testing_work_area() const { return testing_work_area_; }
+ void set_testing_work_area(const gfx::Rect& work_area) {
+ testing_work_area_ = work_area;
+ }
MockAutoHidingDesktopBar* mock_auto_hiding_desktop_bar() const {
return mock_auto_hiding_desktop_bar_.get();

Powered by Google App Engine
This is Rietveld 408576698