| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 bool should_restore_state) OVERRIDE; | 111 bool should_restore_state) OVERRIDE; |
| 112 virtual void FocusToolbar() OVERRIDE; | 112 virtual void FocusToolbar() OVERRIDE; |
| 113 virtual void FocusAppMenu() OVERRIDE; | 113 virtual void FocusAppMenu() OVERRIDE; |
| 114 virtual void FocusBookmarksToolbar() OVERRIDE; | 114 virtual void FocusBookmarksToolbar() OVERRIDE; |
| 115 virtual void FocusChromeOSStatus() OVERRIDE; | 115 virtual void FocusChromeOSStatus() OVERRIDE; |
| 116 virtual void RotatePaneFocus(bool forwards) OVERRIDE; | 116 virtual void RotatePaneFocus(bool forwards) OVERRIDE; |
| 117 virtual bool IsBookmarkBarVisible() const OVERRIDE; | 117 virtual bool IsBookmarkBarVisible() const OVERRIDE; |
| 118 virtual bool IsBookmarkBarAnimating() const OVERRIDE; | 118 virtual bool IsBookmarkBarAnimating() const OVERRIDE; |
| 119 virtual bool IsTabStripEditable() const OVERRIDE; | 119 virtual bool IsTabStripEditable() const OVERRIDE; |
| 120 virtual bool IsToolbarVisible() const OVERRIDE; | 120 virtual bool IsToolbarVisible() const OVERRIDE; |
| 121 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
| 121 virtual bool IsPanel() const OVERRIDE; | 122 virtual bool IsPanel() const OVERRIDE; |
| 122 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, | 123 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, |
| 123 Profile* profile) OVERRIDE; | 124 Profile* profile) OVERRIDE; |
| 124 virtual void ToggleBookmarkBar() OVERRIDE; | 125 virtual void ToggleBookmarkBar() OVERRIDE; |
| 125 virtual void ShowAboutChromeDialog() OVERRIDE; | 126 virtual void ShowAboutChromeDialog() OVERRIDE; |
| 126 virtual void ShowUpdateChromeDialog() OVERRIDE; | 127 virtual void ShowUpdateChromeDialog() OVERRIDE; |
| 127 virtual void ShowTaskManager() OVERRIDE; | 128 virtual void ShowTaskManager() OVERRIDE; |
| 128 virtual void ShowBackgroundPages() OVERRIDE; | 129 virtual void ShowBackgroundPages() OVERRIDE; |
| 129 virtual void ShowBookmarkBubble(const GURL& url, | 130 virtual void ShowBookmarkBubble(const GURL& url, |
| 130 bool already_bookmarked) OVERRIDE; | 131 bool already_bookmarked) OVERRIDE; |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 // be called. This should only be enabled in tests where the debounce timeout | 546 // be called. This should only be enabled in tests where the debounce timeout |
| 546 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the | 547 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the |
| 547 // autocomplete popup before the results can be read) and the final window | 548 // autocomplete popup before the results can be read) and the final window |
| 548 // position is unimportant. | 549 // position is unimportant. |
| 549 bool debounce_timer_disabled_; | 550 bool debounce_timer_disabled_; |
| 550 | 551 |
| 551 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 552 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 552 }; | 553 }; |
| 553 | 554 |
| 554 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 555 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |