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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 virtual void ShowUpdateChromeDialog(); | 100 virtual void ShowUpdateChromeDialog(); |
101 virtual void ShowTaskManager(); | 101 virtual void ShowTaskManager(); |
102 virtual void ShowBackgroundPages(); | 102 virtual void ShowBackgroundPages(); |
103 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); | 103 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); |
104 virtual bool IsDownloadShelfVisible() const; | 104 virtual bool IsDownloadShelfVisible() const; |
105 virtual DownloadShelf* GetDownloadShelf(); | 105 virtual DownloadShelf* GetDownloadShelf(); |
106 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); | 106 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); |
107 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); | 107 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); |
108 virtual void ShowThemeInstallBubble(); | 108 virtual void ShowThemeInstallBubble(); |
109 virtual void ConfirmBrowserCloseWithPendingDownloads(); | 109 virtual void ConfirmBrowserCloseWithPendingDownloads(); |
110 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, | 110 virtual gfx::NativeWindow ShowHTMLDialog(HtmlDialogUIDelegate* delegate, |
111 gfx::NativeWindow parent_window); | 111 gfx::NativeWindow parent_window); |
112 virtual void UserChangedTheme(); | 112 virtual void UserChangedTheme(); |
113 virtual int GetExtraRenderViewHeight() const; | 113 virtual int GetExtraRenderViewHeight() const; |
114 virtual void TabContentsFocused(TabContents* tab_contents); | 114 virtual void TabContentsFocused(TabContents* tab_contents); |
115 virtual void ShowPageInfo(Profile* profile, | 115 virtual void ShowPageInfo(Profile* profile, |
116 const GURL& url, | 116 const GURL& url, |
117 const NavigationEntry::SSLStatus& ssl, | 117 const NavigationEntry::SSLStatus& ssl, |
118 bool show_history); | 118 bool show_history); |
119 virtual void ShowAppMenu(); | 119 virtual void ShowAppMenu(); |
120 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 120 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
121 bool* is_keyboard_shortcut); | 121 bool* is_keyboard_shortcut); |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 // be called. This should only be enabled in tests where the debounce timeout | 508 // be called. This should only be enabled in tests where the debounce timeout |
509 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the | 509 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the |
510 // autocomplete popup before the results can be read) and the final window | 510 // autocomplete popup before the results can be read) and the final window |
511 // position is unimportant. | 511 // position is unimportant. |
512 bool debounce_timer_disabled_; | 512 bool debounce_timer_disabled_; |
513 | 513 |
514 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 514 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
515 }; | 515 }; |
516 | 516 |
517 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 517 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |