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

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

Issue 10828289: Revert 151353 - Panels refactor: Support browserless panels on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/docked_panel_browsertest.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
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_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 void ConfigureAutoResize(content::WebContents* web_contents); 329 void ConfigureAutoResize(content::WebContents* web_contents);
330 330
331 // Prepares a title string for display (removes embedded newlines, etc). 331 // Prepares a title string for display (removes embedded newlines, etc).
332 static void FormatTitleForDisplay(string16* title); 332 static void FormatTitleForDisplay(string16* title);
333 333
334 // The application name that is also the name of the window when the 334 // The application name that is also the name of the window when the
335 // page content does not provide a title. 335 // page content does not provide a title.
336 // This name should be set when the panel is created. 336 // This name should be set when the panel is created.
337 const std::string app_name_; 337 const std::string app_name_;
338 338
339 Profile* profile_;
340
341 // Current collection of panels to which this panel belongs. This determines 339 // Current collection of panels to which this panel belongs. This determines
342 // the panel's screen layout. 340 // the panel's screen layout.
343 PanelStrip* panel_strip_; // Owned by PanelManager. 341 PanelStrip* panel_strip_; // Owned by PanelManager.
344 342
345 bool initialized_; 343 bool initialized_;
346 344
347 // Stores the full size of the panel so we can restore it after it's 345 // Stores the full size of the panel so we can restore it after it's
348 // been minimized or squeezed due to lack of space in the strip. 346 // been minimized or squeezed due to lack of space in the strip.
349 gfx::Size full_size_; 347 gfx::Size full_size_;
350 348
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 380
383 content::NotificationRegistrar registrar_; 381 content::NotificationRegistrar registrar_;
384 const SessionID session_id_; 382 const SessionID session_id_;
385 scoped_ptr<extensions::WindowController> extension_window_controller_; 383 scoped_ptr<extensions::WindowController> extension_window_controller_;
386 scoped_ptr<PanelHost> panel_host_; 384 scoped_ptr<PanelHost> panel_host_;
387 385
388 DISALLOW_COPY_AND_ASSIGN(Panel); 386 DISALLOW_COPY_AND_ASSIGN(Panel);
389 }; 387 };
390 388
391 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 389 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/docked_panel_browsertest.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698