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

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

Issue 137483007: [DevTools] Use special resizing strategy instead of insets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 523
524 // The Extension Keybinding Registry responsible for registering listeners for 524 // The Extension Keybinding Registry responsible for registering listeners for
525 // accelerators that are sent to the window, that are destined to be turned 525 // accelerators that are sent to the window, that are destined to be turned
526 // into events and sent to the extension. 526 // into events and sent to the extension.
527 scoped_ptr<ExtensionKeybindingRegistryGtk> extension_keybinding_registry_; 527 scoped_ptr<ExtensionKeybindingRegistryGtk> extension_keybinding_registry_;
528 528
529 // Docked devtools window instance. NULL when current tab is not inspected 529 // Docked devtools window instance. NULL when current tab is not inspected
530 // or is inspected with undocked version of DevToolsWindow. 530 // or is inspected with undocked version of DevToolsWindow.
531 DevToolsWindow* devtools_window_; 531 DevToolsWindow* devtools_window_;
532 532
533 // Insets from the sides of devtools_floating_container_ to the sides of 533 // Resizing strategy of contents_container_ inside
534 // contents_container_. Non-zero only if docked devtools is visible. 534 // devtools_floating_container_. Non-empty only if docked devtools is visible.
535 gfx::Insets contents_insets_; 535 DevToolsContentsResizingStrategy contents_resizing_strategy_;
536 536
537 // Floating container for devtools_container_ and contents_container_. 537 // Floating container for devtools_container_ and contents_container_.
538 // Owned by render_area_vbox_. 538 // Owned by render_area_vbox_.
539 GtkWidget* devtools_floating_container_; 539 GtkWidget* devtools_floating_container_;
540 540
541 // The tab strip. Always non-NULL. 541 // The tab strip. Always non-NULL.
542 scoped_ptr<TabStripGtk> tabstrip_; 542 scoped_ptr<TabStripGtk> tabstrip_;
543 543
544 // The container for info bars. Always non-NULL. 544 // The container for info bars. Always non-NULL.
545 scoped_ptr<InfoBarContainerGtk> infobar_container_; 545 scoped_ptr<InfoBarContainerGtk> infobar_container_;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 bool is_fullscreen_; 583 bool is_fullscreen_;
584 584
585 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 585 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
586 586
587 content::NotificationRegistrar registrar_; 587 content::NotificationRegistrar registrar_;
588 588
589 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 589 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
590 }; 590 };
591 591
592 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 592 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698