Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(690)

Side by Side Diff: chrome/browser/ui/gtk/browser_window_gtk.h

Issue 7809013: Remove Animation When "Resuming" Window in Lion (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adds context parameter to BrowserWindow::Show(...) Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698