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

Side by Side Diff: chrome/browser/ui/gtk/browser_window_gtk.h

Issue 174223004: linux_aura: Default to system titlebars under some window managers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 6 years, 10 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_view_prefs.cc ('k') | chrome/browser/ui/gtk/browser_window_gtk.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 465
466 // Shows docked devtools. 466 // Shows docked devtools.
467 void ShowDevToolsContainer(); 467 void ShowDevToolsContainer();
468 468
469 // Hides docked devtools. 469 // Hides docked devtools.
470 void HideDevToolsContainer(); 470 void HideDevToolsContainer();
471 471
472 // Called when the preference changes. 472 // Called when the preference changes.
473 void OnUseCustomChromeFrameChanged(); 473 void OnUseCustomChromeFrameChanged();
474 474
475 // Determine whether we use should default to native decorations or the custom
476 // frame based on the currently-running window manager.
477 static bool GetCustomFramePrefDefault();
478
479 // Handler for |devtools_floating_container_|'s "set-floating-position" 475 // Handler for |devtools_floating_container_|'s "set-floating-position"
480 // signal. 476 // signal.
481 static void OnDevToolsContainerSetFloatingPosition( 477 static void OnDevToolsContainerSetFloatingPosition(
482 GtkFloatingContainer* container, GtkAllocation* allocation, 478 GtkFloatingContainer* container, GtkAllocation* allocation,
483 BrowserWindowGtk* browser_window); 479 BrowserWindowGtk* browser_window);
484 480
485 // The position and size of the current window. 481 // The position and size of the current window.
486 gfx::Rect bounds_; 482 gfx::Rect bounds_;
487 483
488 // The configure bounds of the current window, used to figure out whether to 484 // The configure bounds of the current window, used to figure out whether to
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 bool is_fullscreen_; 581 bool is_fullscreen_;
586 582
587 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 583 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
588 584
589 content::NotificationRegistrar registrar_; 585 content::NotificationRegistrar registrar_;
590 586
591 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 587 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
592 }; 588 };
593 589
594 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 590 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_view_prefs.cc ('k') | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698