| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 | 7 |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 virtual bool IsBookmarkBarVisible() const OVERRIDE; | 128 virtual bool IsBookmarkBarVisible() const OVERRIDE; |
| 129 virtual bool IsBookmarkBarAnimating() const OVERRIDE; | 129 virtual bool IsBookmarkBarAnimating() const OVERRIDE; |
| 130 virtual bool IsTabStripEditable() const OVERRIDE; | 130 virtual bool IsTabStripEditable() const OVERRIDE; |
| 131 virtual bool IsToolbarVisible() const OVERRIDE; | 131 virtual bool IsToolbarVisible() const OVERRIDE; |
| 132 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 132 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
| 133 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, | 133 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, |
| 134 Profile* profile) OVERRIDE; | 134 Profile* profile) OVERRIDE; |
| 135 virtual void ShowUpdateChromeDialog() OVERRIDE; | 135 virtual void ShowUpdateChromeDialog() OVERRIDE; |
| 136 virtual void ShowBookmarkBubble(const GURL& url, | 136 virtual void ShowBookmarkBubble(const GURL& url, |
| 137 bool already_bookmarked) OVERRIDE; | 137 bool already_bookmarked) OVERRIDE; |
| 138 virtual void ShowTranslateBubble( |
| 139 content::WebContents* contents, |
| 140 TranslateBubbleModel::ViewState view_state) OVERRIDE; |
| 138 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 141 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
| 139 virtual void ShowOneClickSigninBubble( | 142 virtual void ShowOneClickSigninBubble( |
| 140 OneClickSigninBubbleType type, | 143 OneClickSigninBubbleType type, |
| 141 const string16& email, | 144 const string16& email, |
| 142 const string16& error_message, | 145 const string16& error_message, |
| 143 const StartSyncCallback& start_sync_callback) OVERRIDE; | 146 const StartSyncCallback& start_sync_callback) OVERRIDE; |
| 144 #endif | 147 #endif |
| 145 virtual bool IsDownloadShelfVisible() const OVERRIDE; | 148 virtual bool IsDownloadShelfVisible() const OVERRIDE; |
| 146 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; | 149 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; |
| 147 virtual void ConfirmBrowserCloseWithPendingDownloads( | 150 virtual void ConfirmBrowserCloseWithPendingDownloads( |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 bool is_fullscreen_; | 580 bool is_fullscreen_; |
| 578 | 581 |
| 579 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; | 582 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; |
| 580 | 583 |
| 581 content::NotificationRegistrar registrar_; | 584 content::NotificationRegistrar registrar_; |
| 582 | 585 |
| 583 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 586 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 584 }; | 587 }; |
| 585 | 588 |
| 586 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 589 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |