| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 virtual LocationBar* GetLocationBar() const; | 68 virtual LocationBar* GetLocationBar() const; |
| 69 virtual void SetFocusToLocationBar(); | 69 virtual void SetFocusToLocationBar(); |
| 70 virtual void UpdateStopGoState(bool is_loading, bool force); | 70 virtual void UpdateStopGoState(bool is_loading, bool force); |
| 71 virtual void UpdateToolbar(TabContents* contents, | 71 virtual void UpdateToolbar(TabContents* contents, |
| 72 bool should_restore_state); | 72 bool should_restore_state); |
| 73 virtual void FocusToolbar(); | 73 virtual void FocusToolbar(); |
| 74 virtual bool IsBookmarkBarVisible() const; | 74 virtual bool IsBookmarkBarVisible() const; |
| 75 virtual gfx::Rect GetRootWindowResizerRect() const; | 75 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 76 virtual void ToggleBookmarkBar(); | 76 virtual void ToggleBookmarkBar(); |
| 77 virtual void ShowAboutChromeDialog(); | 77 virtual void ShowAboutChromeDialog(); |
| 78 virtual void ShowTaskManager(); |
| 78 virtual void ShowBookmarkManager(); | 79 virtual void ShowBookmarkManager(); |
| 79 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); | 80 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); |
| 80 virtual bool IsDownloadShelfVisible() const; | 81 virtual bool IsDownloadShelfVisible() const; |
| 81 virtual DownloadShelf* GetDownloadShelf(); | 82 virtual DownloadShelf* GetDownloadShelf(); |
| 82 virtual void ShowReportBugDialog(); | 83 virtual void ShowReportBugDialog(); |
| 83 virtual void ShowClearBrowsingDataDialog(); | 84 virtual void ShowClearBrowsingDataDialog(); |
| 84 virtual void ShowImportDialog(); | 85 virtual void ShowImportDialog(); |
| 85 virtual void ShowSearchEnginesDialog(); | 86 virtual void ShowSearchEnginesDialog(); |
| 86 virtual void ShowPasswordManager(); | 87 virtual void ShowPasswordManager(); |
| 87 virtual void ShowSelectProfileDialog(); | 88 virtual void ShowSelectProfileDialog(); |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 // True if a drag is active. See description above setter for details. | 270 // True if a drag is active. See description above setter for details. |
| 270 bool drag_active_; | 271 bool drag_active_; |
| 271 | 272 |
| 272 // A map which translates an X Window ID into its respective GtkWindow. | 273 // A map which translates an X Window ID into its respective GtkWindow. |
| 273 static std::map<XID, GtkWindow*> xid_map_; | 274 static std::map<XID, GtkWindow*> xid_map_; |
| 274 | 275 |
| 275 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 276 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 276 }; | 277 }; |
| 277 | 278 |
| 278 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 279 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |