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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 virtual void ToggleBookmarkBar(); | 118 virtual void ToggleBookmarkBar(); |
119 virtual void ShowAboutChromeDialog(); | 119 virtual void ShowAboutChromeDialog(); |
120 virtual void ShowUpdateChromeDialog(); | 120 virtual void ShowUpdateChromeDialog(); |
121 virtual void ShowTaskManager(); | 121 virtual void ShowTaskManager(); |
122 virtual void ShowBackgroundPages(); | 122 virtual void ShowBackgroundPages(); |
123 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); | 123 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); |
124 virtual bool IsDownloadShelfVisible() const; | 124 virtual bool IsDownloadShelfVisible() const; |
125 virtual DownloadShelf* GetDownloadShelf(); | 125 virtual DownloadShelf* GetDownloadShelf(); |
126 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); | 126 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); |
127 virtual void ShowCollectedCookiesDialog(TabContentsWrapper* tab_contents); | 127 virtual void ShowCollectedCookiesDialog(TabContentsWrapper* tab_contents); |
128 virtual void ShowThemeInstallBubble(); | |
129 virtual void ConfirmBrowserCloseWithPendingDownloads(); | 128 virtual void ConfirmBrowserCloseWithPendingDownloads(); |
130 virtual void UserChangedTheme(); | 129 virtual void UserChangedTheme(); |
131 virtual int GetExtraRenderViewHeight() const; | 130 virtual int GetExtraRenderViewHeight() const; |
132 virtual void TabContentsFocused(TabContents* tab_contents); | 131 virtual void TabContentsFocused(TabContents* tab_contents); |
133 virtual void ShowPageInfo(Profile* profile, | 132 virtual void ShowPageInfo(Profile* profile, |
134 const GURL& url, | 133 const GURL& url, |
135 const NavigationEntry::SSLStatus& ssl, | 134 const NavigationEntry::SSLStatus& ssl, |
136 bool show_history); | 135 bool show_history); |
137 virtual void ShowAppMenu(); | 136 virtual void ShowAppMenu(); |
138 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 137 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 // be called. This should only be enabled in tests where the debounce timeout | 522 // be called. This should only be enabled in tests where the debounce timeout |
524 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the | 523 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the |
525 // autocomplete popup before the results can be read) and the final window | 524 // autocomplete popup before the results can be read) and the final window |
526 // position is unimportant. | 525 // position is unimportant. |
527 bool debounce_timer_disabled_; | 526 bool debounce_timer_disabled_; |
528 | 527 |
529 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 528 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
530 }; | 529 }; |
531 | 530 |
532 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 531 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |