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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 public InfoBarContainer::Delegate { | 49 public InfoBarContainer::Delegate { |
50 public: | 50 public: |
51 explicit BrowserWindowGtk(Browser* browser); | 51 explicit BrowserWindowGtk(Browser* browser); |
52 virtual ~BrowserWindowGtk(); | 52 virtual ~BrowserWindowGtk(); |
53 | 53 |
54 // Separating initialization from constructor allows invocation of virtual | 54 // Separating initialization from constructor allows invocation of virtual |
55 // functions during initialization. | 55 // functions during initialization. |
56 virtual void Init(); | 56 virtual void Init(); |
57 | 57 |
58 // Overridden from BrowserWindow | 58 // Overridden from BrowserWindow |
59 virtual void Show(); | 59 virtual void Show(BrowserWindow::ShowContext show_context); |
60 virtual void ShowInactive(); | 60 virtual void ShowInactive(); |
61 virtual void SetBounds(const gfx::Rect& bounds); | 61 virtual void SetBounds(const gfx::Rect& bounds); |
62 virtual void Close(); | 62 virtual void Close(); |
63 virtual void Activate(); | 63 virtual void Activate(); |
64 virtual void Deactivate(); | 64 virtual void Deactivate(); |
65 virtual bool IsActive() const; | 65 virtual bool IsActive() const; |
66 virtual void FlashFrame(); | 66 virtual void FlashFrame(); |
67 virtual gfx::NativeWindow GetNativeHandle(); | 67 virtual gfx::NativeWindow GetNativeHandle(); |
68 virtual BrowserWindowTesting* GetBrowserWindowTesting(); | 68 virtual BrowserWindowTesting* GetBrowserWindowTesting(); |
69 virtual StatusBubble* GetStatusBubble(); | 69 virtual StatusBubble* GetStatusBubble(); |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 // be called. This should only be enabled in tests where the debounce timeout | 511 // be called. This should only be enabled in tests where the debounce timeout |
512 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the | 512 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the |
513 // autocomplete popup before the results can be read) and the final window | 513 // autocomplete popup before the results can be read) and the final window |
514 // position is unimportant. | 514 // position is unimportant. |
515 bool debounce_timer_disabled_; | 515 bool debounce_timer_disabled_; |
516 | 516 |
517 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 517 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
518 }; | 518 }; |
519 | 519 |
520 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 520 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |