OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_GTK_BROWSER_WINDOW_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
7 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 virtual void Close(); | 58 virtual void Close(); |
59 virtual void Activate(); | 59 virtual void Activate(); |
60 virtual bool IsActive() const; | 60 virtual bool IsActive() const; |
61 virtual void FlashFrame(); | 61 virtual void FlashFrame(); |
62 virtual gfx::NativeWindow GetNativeHandle(); | 62 virtual gfx::NativeWindow GetNativeHandle(); |
63 virtual BrowserWindowTesting* GetBrowserWindowTesting(); | 63 virtual BrowserWindowTesting* GetBrowserWindowTesting(); |
64 virtual StatusBubble* GetStatusBubble(); | 64 virtual StatusBubble* GetStatusBubble(); |
65 virtual void SelectedTabToolbarSizeChanged(bool is_animating); | 65 virtual void SelectedTabToolbarSizeChanged(bool is_animating); |
66 virtual void UpdateTitleBar(); | 66 virtual void UpdateTitleBar(); |
67 virtual void UpdateDevTools(); | 67 virtual void UpdateDevTools(); |
| 68 virtual void FocusDevTools(); |
68 virtual void UpdateLoadingAnimations(bool should_animate); | 69 virtual void UpdateLoadingAnimations(bool should_animate); |
69 virtual void SetStarredState(bool is_starred); | 70 virtual void SetStarredState(bool is_starred); |
70 virtual gfx::Rect GetNormalBounds() const; | 71 virtual gfx::Rect GetNormalBounds() const; |
71 virtual bool IsMaximized() const; | 72 virtual bool IsMaximized() const; |
72 virtual void SetFullscreen(bool fullscreen); | 73 virtual void SetFullscreen(bool fullscreen); |
73 virtual bool IsFullscreen() const; | 74 virtual bool IsFullscreen() const; |
74 virtual LocationBar* GetLocationBar() const; | 75 virtual LocationBar* GetLocationBar() const; |
75 virtual void SetFocusToLocationBar(); | 76 virtual void SetFocusToLocationBar(); |
76 virtual void UpdateStopGoState(bool is_loading, bool force); | 77 virtual void UpdateStopGoState(bool is_loading, bool force); |
77 virtual void UpdateToolbar(TabContents* contents, | 78 virtual void UpdateToolbar(TabContents* contents, |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 | 313 |
313 // True if the window manager thinks the window is active. Not all window | 314 // True if the window manager thinks the window is active. Not all window |
314 // managers keep track of this state (_NET_ACTIVE_WINDOW), in which case | 315 // managers keep track of this state (_NET_ACTIVE_WINDOW), in which case |
315 // this will always be true. | 316 // this will always be true. |
316 bool is_active_; | 317 bool is_active_; |
317 | 318 |
318 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 319 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
319 }; | 320 }; |
320 | 321 |
321 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 322 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |