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

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

Issue 10544113: Revert 141690 - Modify old Panel test files and include them in .gyp. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/panels/panel.h ('k') | chrome/browser/ui/panels/panel_mouse_watcher.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PANEL_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" 10 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // TabStripModelObserver overrides. 153 // TabStripModelObserver overrides.
154 virtual void TabInsertedAt(TabContentsWrapper* contents, 154 virtual void TabInsertedAt(TabContentsWrapper* contents,
155 int index, 155 int index,
156 bool foreground) OVERRIDE; 156 bool foreground) OVERRIDE;
157 157
158 protected: 158 protected:
159 virtual void DestroyBrowser() OVERRIDE; 159 virtual void DestroyBrowser() OVERRIDE;
160 160
161 private: 161 private:
162 friend class BasePanelBrowserTest; 162 friend class BasePanelBrowserTest;
163 friend class OldBasePanelBrowserTest;
164 friend class PanelBrowserWindowCocoaTest; 163 friend class PanelBrowserWindowCocoaTest;
165 Panel* panel() const { return panel_; } // only for tests 164 Panel* panel() const { return panel_; } // only for tests
166 165
167 Browser* browser_; // Weak, owned by native panel. 166 Browser* browser_; // Weak, owned by native panel.
168 167
169 Panel* panel_; // Weak pointer. Owns us. 168 Panel* panel_; // Weak pointer. Owns us.
170 169
171 // Platform specifc implementation for panels. It'd be one of 170 // Platform specifc implementation for panels. It'd be one of
172 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. 171 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa.
173 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). 172 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel).
174 173
175 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); 174 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow);
176 }; 175 };
177 176
178 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 177 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.h ('k') | chrome/browser/ui/panels/panel_mouse_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698