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

Side by Side Diff: chrome/browser/ui/panels/panel_browser_window_gtk.h

Issue 8686012: Make panels not show on top when there is an app running in full screen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge/Resolve. Created 9 years 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_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/browser/ui/gtk/browser_window_gtk.h" 10 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual void PanelCut() OVERRIDE; 85 virtual void PanelCut() OVERRIDE;
86 virtual void PanelCopy() OVERRIDE; 86 virtual void PanelCopy() OVERRIDE;
87 virtual void PanelPaste() OVERRIDE; 87 virtual void PanelPaste() OVERRIDE;
88 virtual void DrawAttention() OVERRIDE; 88 virtual void DrawAttention() OVERRIDE;
89 virtual bool IsDrawingAttention() const OVERRIDE; 89 virtual bool IsDrawingAttention() const OVERRIDE;
90 virtual bool PreHandlePanelKeyboardEvent( 90 virtual bool PreHandlePanelKeyboardEvent(
91 const NativeWebKeyboardEvent& event, 91 const NativeWebKeyboardEvent& event,
92 bool* is_keyboard_shortcut) OVERRIDE; 92 bool* is_keyboard_shortcut) OVERRIDE;
93 virtual void HandlePanelKeyboardEvent( 93 virtual void HandlePanelKeyboardEvent(
94 const NativeWebKeyboardEvent& event) OVERRIDE; 94 const NativeWebKeyboardEvent& event) OVERRIDE;
95 virtual void FullScreenModeChanged(bool is_full_screen) OVERRIDE;
95 virtual Browser* GetPanelBrowser() const OVERRIDE; 96 virtual Browser* GetPanelBrowser() const OVERRIDE;
96 virtual void DestroyPanelBrowser() OVERRIDE; 97 virtual void DestroyPanelBrowser() OVERRIDE;
97 virtual gfx::Size WindowSizeFromContentSize( 98 virtual gfx::Size WindowSizeFromContentSize(
98 const gfx::Size& content_size) const OVERRIDE; 99 const gfx::Size& content_size) const OVERRIDE;
99 virtual gfx::Size ContentSizeFromWindowSize( 100 virtual gfx::Size ContentSizeFromWindowSize(
100 const gfx::Size& window_size) const OVERRIDE; 101 const gfx::Size& window_size) const OVERRIDE;
101 virtual int TitleOnlyHeight() const OVERRIDE; 102 virtual int TitleOnlyHeight() const OVERRIDE;
102 virtual gfx::Size IconOnlySize() const OVERRIDE; 103 virtual gfx::Size IconOnlySize() const OVERRIDE;
103 virtual void EnsurePanelFullyVisible() OVERRIDE; 104 virtual void EnsurePanelFullyVisible() OVERRIDE;
104 105
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 base::Time disableMinimizeUntilTime_; 188 base::Time disableMinimizeUntilTime_;
188 189
189 // Used to animate the bounds change. 190 // Used to animate the bounds change.
190 scoped_ptr<ui::SlideAnimation> bounds_animator_; 191 scoped_ptr<ui::SlideAnimation> bounds_animator_;
191 gfx::Rect animation_start_bounds_; 192 gfx::Rect animation_start_bounds_;
192 193
193 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk); 194 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk);
194 }; 195 };
195 196
196 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ 197 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_window_cocoa.mm ('k') | chrome/browser/ui/panels/panel_browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698