OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 Profile* profile); | 99 Profile* profile); |
100 virtual void ToggleBookmarkBar(); | 100 virtual void ToggleBookmarkBar(); |
101 virtual void ShowAboutChromeDialog(); | 101 virtual void ShowAboutChromeDialog(); |
102 virtual void ShowUpdateChromeDialog(); | 102 virtual void ShowUpdateChromeDialog(); |
103 virtual void ShowTaskManager(); | 103 virtual void ShowTaskManager(); |
104 virtual void ShowBackgroundPages(); | 104 virtual void ShowBackgroundPages(); |
105 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); | 105 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); |
106 virtual bool IsDownloadShelfVisible() const; | 106 virtual bool IsDownloadShelfVisible() const; |
107 virtual DownloadShelf* GetDownloadShelf(); | 107 virtual DownloadShelf* GetDownloadShelf(); |
108 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); | 108 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); |
109 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); | 109 virtual void ShowCollectedCookiesDialog(TabContentsWrapper* tab_contents); |
110 virtual void ShowThemeInstallBubble(); | 110 virtual void ShowThemeInstallBubble(); |
111 virtual void ConfirmBrowserCloseWithPendingDownloads(); | 111 virtual void ConfirmBrowserCloseWithPendingDownloads(); |
112 virtual gfx::NativeWindow ShowHTMLDialog(HtmlDialogUIDelegate* delegate, | 112 virtual gfx::NativeWindow ShowHTMLDialog(HtmlDialogUIDelegate* delegate, |
113 gfx::NativeWindow parent_window); | 113 gfx::NativeWindow parent_window); |
114 virtual void UserChangedTheme(); | 114 virtual void UserChangedTheme(); |
115 virtual int GetExtraRenderViewHeight() const; | 115 virtual int GetExtraRenderViewHeight() const; |
116 virtual void TabContentsFocused(TabContents* tab_contents); | 116 virtual void TabContentsFocused(TabContents* tab_contents); |
117 virtual void ShowPageInfo(Profile* profile, | 117 virtual void ShowPageInfo(Profile* profile, |
118 const GURL& url, | 118 const GURL& url, |
119 const NavigationEntry::SSLStatus& ssl, | 119 const NavigationEntry::SSLStatus& ssl, |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 // be called. This should only be enabled in tests where the debounce timeout | 504 // be called. This should only be enabled in tests where the debounce timeout |
505 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the | 505 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the |
506 // autocomplete popup before the results can be read) and the final window | 506 // autocomplete popup before the results can be read) and the final window |
507 // position is unimportant. | 507 // position is unimportant. |
508 bool debounce_timer_disabled_; | 508 bool debounce_timer_disabled_; |
509 | 509 |
510 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 510 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
511 }; | 511 }; |
512 | 512 |
513 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 513 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |