| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 virtual void ShowImportDialog(); | 81 virtual void ShowImportDialog(); |
| 82 virtual void ShowSearchEnginesDialog(); | 82 virtual void ShowSearchEnginesDialog(); |
| 83 virtual void ShowPasswordManager(); | 83 virtual void ShowPasswordManager(); |
| 84 virtual void ShowSelectProfileDialog(); | 84 virtual void ShowSelectProfileDialog(); |
| 85 virtual void ShowNewProfileDialog(); | 85 virtual void ShowNewProfileDialog(); |
| 86 virtual void ConfirmBrowserCloseWithPendingDownloads(); | 86 virtual void ConfirmBrowserCloseWithPendingDownloads(); |
| 87 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, | 87 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, |
| 88 gfx::NativeWindow parent_window); | 88 gfx::NativeWindow parent_window); |
| 89 virtual void UserChangedTheme(); | 89 virtual void UserChangedTheme(); |
| 90 virtual int GetExtraRenderViewHeight() const; | 90 virtual int GetExtraRenderViewHeight() const; |
| 91 virtual void TabContentsFocused(TabContents* tab_contents); |
| 91 | 92 |
| 92 // Overridden from NotificationObserver: | 93 // Overridden from NotificationObserver: |
| 93 virtual void Observe(NotificationType type, | 94 virtual void Observe(NotificationType type, |
| 94 const NotificationSource& source, | 95 const NotificationSource& source, |
| 95 const NotificationDetails& details); | 96 const NotificationDetails& details); |
| 96 | 97 |
| 97 // Overridden from TabStripModelObserver: | 98 // Overridden from TabStripModelObserver: |
| 98 virtual void TabDetachedAt(TabContents* contents, int index); | 99 virtual void TabDetachedAt(TabContents* contents, int index); |
| 99 virtual void TabSelectedAt(TabContents* old_contents, | 100 virtual void TabSelectedAt(TabContents* old_contents, |
| 100 TabContents* new_contents, | 101 TabContents* new_contents, |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 // True if a drag is active. See description above setter for details. | 274 // True if a drag is active. See description above setter for details. |
| 274 bool drag_active_; | 275 bool drag_active_; |
| 275 | 276 |
| 276 // A map which translates an X Window ID into its respective GtkWindow. | 277 // A map which translates an X Window ID into its respective GtkWindow. |
| 277 static std::map<XID, GtkWindow*> xid_map_; | 278 static std::map<XID, GtkWindow*> xid_map_; |
| 278 | 279 |
| 279 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 280 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 280 }; | 281 }; |
| 281 | 282 |
| 282 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 283 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |