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

Side by Side Diff: chrome/browser/ui/panels/panel_browser_view.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
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_browser_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; 92 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE;
93 virtual void PanelTabContentsFocused(TabContents* tab_contents) OVERRIDE; 93 virtual void PanelTabContentsFocused(TabContents* tab_contents) OVERRIDE;
94 virtual void PanelCut() OVERRIDE; 94 virtual void PanelCut() OVERRIDE;
95 virtual void PanelCopy() OVERRIDE; 95 virtual void PanelCopy() OVERRIDE;
96 virtual void PanelPaste() OVERRIDE; 96 virtual void PanelPaste() OVERRIDE;
97 virtual void DrawAttention() OVERRIDE; 97 virtual void DrawAttention() OVERRIDE;
98 virtual bool IsDrawingAttention() const OVERRIDE; 98 virtual bool IsDrawingAttention() const OVERRIDE;
99 virtual bool PreHandlePanelKeyboardEvent( 99 virtual bool PreHandlePanelKeyboardEvent(
100 const NativeWebKeyboardEvent& event, 100 const NativeWebKeyboardEvent& event,
101 bool* is_keyboard_shortcut) OVERRIDE; 101 bool* is_keyboard_shortcut) OVERRIDE;
102 virtual void FullScreenModeChanged(bool is_full_screen) OVERRIDE;
102 virtual void HandlePanelKeyboardEvent( 103 virtual void HandlePanelKeyboardEvent(
103 const NativeWebKeyboardEvent& event) OVERRIDE; 104 const NativeWebKeyboardEvent& event) OVERRIDE;
104 virtual gfx::Size WindowSizeFromContentSize( 105 virtual gfx::Size WindowSizeFromContentSize(
105 const gfx::Size& content_size) const OVERRIDE; 106 const gfx::Size& content_size) const OVERRIDE;
106 virtual gfx::Size ContentSizeFromWindowSize( 107 virtual gfx::Size ContentSizeFromWindowSize(
107 const gfx::Size& window_size) const OVERRIDE; 108 const gfx::Size& window_size) const OVERRIDE;
108 virtual int TitleOnlyHeight() const OVERRIDE; 109 virtual int TitleOnlyHeight() const OVERRIDE;
109 virtual Browser* GetPanelBrowser() const OVERRIDE; 110 virtual Browser* GetPanelBrowser() const OVERRIDE;
110 virtual void DestroyPanelBrowser() OVERRIDE; 111 virtual void DestroyPanelBrowser() OVERRIDE;
111 virtual gfx::Size IconOnlySize() const OVERRIDE; 112 virtual gfx::Size IconOnlySize() const OVERRIDE;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 base::TimeTicks attention_cleared_time_; 157 base::TimeTicks attention_cleared_time_;
157 158
158 // The last view that had focus in the panel. This is saved so that focus can 159 // The last view that had focus in the panel. This is saved so that focus can
159 // be restored properly when a drag ends. 160 // be restored properly when a drag ends.
160 views::View* old_focused_view_; 161 views::View* old_focused_view_;
161 162
162 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); 163 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView);
163 }; 164 };
164 165
165 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ 166 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698