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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 virtual void UpdateTitleBar(); | 84 virtual void UpdateTitleBar(); |
85 virtual void BookmarkBarStateChanged( | 85 virtual void BookmarkBarStateChanged( |
86 BookmarkBar::AnimateChangeType change_type); | 86 BookmarkBar::AnimateChangeType change_type); |
87 virtual void UpdateDevTools(); | 87 virtual void UpdateDevTools(); |
88 virtual void UpdateLoadingAnimations(bool should_animate); | 88 virtual void UpdateLoadingAnimations(bool should_animate); |
89 virtual void SetStarredState(bool is_starred); | 89 virtual void SetStarredState(bool is_starred); |
90 virtual gfx::Rect GetRestoredBounds() const; | 90 virtual gfx::Rect GetRestoredBounds() const; |
91 virtual gfx::Rect GetBounds() const; | 91 virtual gfx::Rect GetBounds() const; |
92 virtual bool IsMaximized() const; | 92 virtual bool IsMaximized() const; |
93 virtual bool IsMinimized() const; | 93 virtual bool IsMinimized() const; |
94 virtual void SetFullscreen(bool fullscreen); | 94 virtual void SetFullscreen(bool fullscreen, const GURL& url, bool show_buttons
); |
95 virtual bool IsFullscreen() const; | 95 virtual bool IsFullscreen() const; |
96 virtual bool IsFullscreenBubbleVisible() const; | 96 virtual bool IsFullscreenBubbleVisible() const; |
97 virtual LocationBar* GetLocationBar() const; | 97 virtual LocationBar* GetLocationBar() const; |
98 virtual void SetFocusToLocationBar(bool select_all); | 98 virtual void SetFocusToLocationBar(bool select_all); |
99 virtual void UpdateReloadStopState(bool is_loading, bool force); | 99 virtual void UpdateReloadStopState(bool is_loading, bool force); |
100 virtual void UpdateToolbar(TabContentsWrapper* contents, | 100 virtual void UpdateToolbar(TabContentsWrapper* contents, |
101 bool should_restore_state); | 101 bool should_restore_state); |
102 virtual void FocusToolbar(); | 102 virtual void FocusToolbar(); |
103 virtual void FocusAppMenu(); | 103 virtual void FocusAppMenu(); |
104 virtual void FocusBookmarksToolbar(); | 104 virtual void FocusBookmarksToolbar(); |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 // be called. This should only be enabled in tests where the debounce timeout | 521 // be called. This should only be enabled in tests where the debounce timeout |
522 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the | 522 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the |
523 // autocomplete popup before the results can be read) and the final window | 523 // autocomplete popup before the results can be read) and the final window |
524 // position is unimportant. | 524 // position is unimportant. |
525 bool debounce_timer_disabled_; | 525 bool debounce_timer_disabled_; |
526 | 526 |
527 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 527 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
528 }; | 528 }; |
529 | 529 |
530 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 530 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |