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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 virtual bool IsTabStripEditable() const OVERRIDE; | 131 virtual bool IsTabStripEditable() const OVERRIDE; |
132 virtual bool IsToolbarVisible() const OVERRIDE; | 132 virtual bool IsToolbarVisible() const OVERRIDE; |
133 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 133 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
134 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, | 134 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, |
135 Profile* profile) OVERRIDE; | 135 Profile* profile) OVERRIDE; |
136 virtual void ShowUpdateChromeDialog() OVERRIDE; | 136 virtual void ShowUpdateChromeDialog() OVERRIDE; |
137 virtual void ShowBookmarkBubble(const GURL& url, | 137 virtual void ShowBookmarkBubble(const GURL& url, |
138 bool already_bookmarked) OVERRIDE; | 138 bool already_bookmarked) OVERRIDE; |
139 virtual void ShowTranslateBubble( | 139 virtual void ShowTranslateBubble( |
140 content::WebContents* contents, | 140 content::WebContents* contents, |
141 TranslateBubbleModel::ViewState view_state) OVERRIDE; | 141 TranslateBubbleModel::ViewState view_state, |
| 142 TranslateErrors::Type error_type) OVERRIDE; |
142 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 143 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
143 virtual void ShowOneClickSigninBubble( | 144 virtual void ShowOneClickSigninBubble( |
144 OneClickSigninBubbleType type, | 145 OneClickSigninBubbleType type, |
145 const string16& email, | 146 const string16& email, |
146 const string16& error_message, | 147 const string16& error_message, |
147 const StartSyncCallback& start_sync_callback) OVERRIDE; | 148 const StartSyncCallback& start_sync_callback) OVERRIDE; |
148 #endif | 149 #endif |
149 virtual bool IsDownloadShelfVisible() const OVERRIDE; | 150 virtual bool IsDownloadShelfVisible() const OVERRIDE; |
150 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; | 151 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; |
151 virtual void ConfirmBrowserCloseWithPendingDownloads( | 152 virtual void ConfirmBrowserCloseWithPendingDownloads( |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 bool is_fullscreen_; | 582 bool is_fullscreen_; |
582 | 583 |
583 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; | 584 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; |
584 | 585 |
585 content::NotificationRegistrar registrar_; | 586 content::NotificationRegistrar registrar_; |
586 | 587 |
587 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 588 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
588 }; | 589 }; |
589 | 590 |
590 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 591 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |