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 EnterFullscreen(const GURL& url, bool ask_permission); |
| 95 virtual void ExitFullscreen(); |
95 virtual bool IsFullscreen() const; | 96 virtual bool IsFullscreen() const; |
96 virtual bool IsFullscreenBubbleVisible() const; | 97 virtual bool IsFullscreenBubbleVisible() const; |
97 virtual LocationBar* GetLocationBar() const; | 98 virtual LocationBar* GetLocationBar() const; |
98 virtual void SetFocusToLocationBar(bool select_all); | 99 virtual void SetFocusToLocationBar(bool select_all); |
99 virtual void UpdateReloadStopState(bool is_loading, bool force); | 100 virtual void UpdateReloadStopState(bool is_loading, bool force); |
100 virtual void UpdateToolbar(TabContentsWrapper* contents, | 101 virtual void UpdateToolbar(TabContentsWrapper* contents, |
101 bool should_restore_state); | 102 bool should_restore_state); |
102 virtual void FocusToolbar(); | 103 virtual void FocusToolbar(); |
103 virtual void FocusAppMenu(); | 104 virtual void FocusAppMenu(); |
104 virtual void FocusBookmarksToolbar(); | 105 virtual void FocusBookmarksToolbar(); |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 // be called. This should only be enabled in tests where the debounce timeout | 515 // be called. This should only be enabled in tests where the debounce timeout |
515 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the | 516 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the |
516 // autocomplete popup before the results can be read) and the final window | 517 // autocomplete popup before the results can be read) and the final window |
517 // position is unimportant. | 518 // position is unimportant. |
518 bool debounce_timer_disabled_; | 519 bool debounce_timer_disabled_; |
519 | 520 |
520 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 521 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
521 }; | 522 }; |
522 | 523 |
523 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 524 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |