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

Side by Side Diff: chrome/browser/ui/panels/base_panel_browser_test.h

Issue 8505047: Fix panels being removed from PanelManager prematurely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change test from using notification to timeout. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/panels/base_panel_browser_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_
6 #define CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_ 6 #define CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/task.h" 9 #include "base/task.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 gfx::Rect testing_work_area() const { return testing_work_area_; } 73 gfx::Rect testing_work_area() const { return testing_work_area_; }
74 void set_testing_work_area(const gfx::Rect& work_area) { 74 void set_testing_work_area(const gfx::Rect& work_area) {
75 testing_work_area_ = work_area; 75 testing_work_area_ = work_area;
76 } 76 }
77 77
78 MockAutoHidingDesktopBar* mock_auto_hiding_desktop_bar() const { 78 MockAutoHidingDesktopBar* mock_auto_hiding_desktop_bar() const {
79 return mock_auto_hiding_desktop_bar_.get(); 79 return mock_auto_hiding_desktop_bar_.get();
80 } 80 }
81 81
82 FilePath test_data_dir_;
83
82 private: 84 private:
83 gfx::Rect testing_work_area_; 85 gfx::Rect testing_work_area_;
84 scoped_refptr<MockAutoHidingDesktopBar> mock_auto_hiding_desktop_bar_; 86 scoped_refptr<MockAutoHidingDesktopBar> mock_auto_hiding_desktop_bar_;
85 }; 87 };
86 88
87 #endif // CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_ 89 #endif // CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/panels/base_panel_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698