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

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

Issue 8872044: Add test cases for panel overflow handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final patch to land Created 9 years 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 b45ff14751bb08c408f2fbd5d1b655531c9ee4e8..641660eb44549de21dbf9d29c5be73095aacf5f8 100644
--- a/chrome/browser/ui/panels/base_panel_browser_test.h
+++ b/chrome/browser/ui/panels/base_panel_browser_test.h
@@ -42,13 +42,15 @@ class BasePanelBrowserTest : public InProcessBrowserTest {
gfx::Rect bounds;
ActiveState show_flag;
GURL url;
+ bool wait_for_fully_created;
CreatePanelParams(const std::string& name,
const gfx::Rect& bounds,
ActiveState show_flag)
: name(name),
bounds(bounds),
- show_flag(show_flag) {
+ show_flag(show_flag),
+ wait_for_fully_created(true) {
}
};
@@ -71,6 +73,10 @@ class BasePanelBrowserTest : public InProcessBrowserTest {
Extension::Location location,
const DictionaryValue& extra_value);
+ static void MoveMouse(const gfx::Point& position);
+ static void CloseWindowAndWait(Browser* browser);
+ static std::string MakePanelName(int index);
+
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;
« no previous file with comments | « chrome/browser/notifications/balloon_collection_impl.cc ('k') | chrome/browser/ui/panels/base_panel_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698