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

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

Issue 7537030: Make panel adjust bounds per preferred size change notification on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | 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 24 matching lines...) Expand all
35 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; 35 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE;
36 virtual void SetUpOnMainThread() OVERRIDE; 36 virtual void SetUpOnMainThread() OVERRIDE;
37 37
38 protected: 38 protected:
39 enum ShowFlag { SHOW_AS_ACTIVE, SHOW_AS_INACTIVE }; 39 enum ShowFlag { SHOW_AS_ACTIVE, SHOW_AS_INACTIVE };
40 40
41 struct CreatePanelParams { 41 struct CreatePanelParams {
42 std::string name; 42 std::string name;
43 gfx::Rect bounds; 43 gfx::Rect bounds;
44 ShowFlag show_flag; 44 ShowFlag show_flag;
45 GURL url;
45 46
46 CreatePanelParams(const std::string& name, 47 CreatePanelParams(const std::string& name,
47 const gfx::Rect& bounds, 48 const gfx::Rect& bounds,
48 ShowFlag show_flag) 49 ShowFlag show_flag)
49 : name(name), 50 : name(name),
50 bounds(bounds), 51 bounds(bounds),
51 show_flag(show_flag) { 52 show_flag(show_flag) {
52 } 53 }
53 }; 54 };
54 55
(...skipping 12 matching lines...) Expand all
67 return mock_auto_hiding_desktop_bar_.get(); 68 return mock_auto_hiding_desktop_bar_.get();
68 } 69 }
69 70
70 private: 71 private:
71 72
72 gfx::Rect testing_work_area_; 73 gfx::Rect testing_work_area_;
73 scoped_refptr<MockAutoHidingDesktopBar> mock_auto_hiding_desktop_bar_; 74 scoped_refptr<MockAutoHidingDesktopBar> mock_auto_hiding_desktop_bar_;
74 }; 75 };
75 76
76 #endif // CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_ 77 #endif // CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window.h ('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