| OLD | NEW |
| 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; | 178 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; |
| 179 | 179 |
| 180 // Overridden from InfoBarContainer::Delegate: | 180 // Overridden from InfoBarContainer::Delegate: |
| 181 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE; | 181 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE; |
| 182 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; | 182 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; |
| 183 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; | 183 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; |
| 184 | 184 |
| 185 // Accessor for the tab strip. | 185 // Accessor for the tab strip. |
| 186 TabStripGtk* tabstrip() const { return tabstrip_.get(); } | 186 TabStripGtk* tabstrip() const { return tabstrip_.get(); } |
| 187 | 187 |
| 188 void UpdateDevToolsForContents(TabContents* contents); | 188 void UpdateDevToolsForContents(content::WebContents* contents); |
| 189 | 189 |
| 190 // Shows docked devtools. | 190 // Shows docked devtools. |
| 191 void ShowDevToolsContainer(); | 191 void ShowDevToolsContainer(); |
| 192 | 192 |
| 193 // Hides docked devtools. | 193 // Hides docked devtools. |
| 194 void HideDevToolsContainer(); | 194 void HideDevToolsContainer(); |
| 195 | 195 |
| 196 void OnDebouncedBoundsChanged(); | 196 void OnDebouncedBoundsChanged(); |
| 197 | 197 |
| 198 // Request the underlying window to unmaximize. Also tries to work around | 198 // Request the underlying window to unmaximize. Also tries to work around |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 // be called. This should only be enabled in tests where the debounce timeout | 542 // be called. This should only be enabled in tests where the debounce timeout |
| 543 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the | 543 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the |
| 544 // autocomplete popup before the results can be read) and the final window | 544 // autocomplete popup before the results can be read) and the final window |
| 545 // position is unimportant. | 545 // position is unimportant. |
| 546 bool debounce_timer_disabled_; | 546 bool debounce_timer_disabled_; |
| 547 | 547 |
| 548 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 548 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 549 }; | 549 }; |
| 550 | 550 |
| 551 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 551 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |