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

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

Issue 9593001: Revert 124790 - Minimized panels should not open on Windows when activated by the OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
« 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) 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_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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // Overridden from NativePanel: 86 // Overridden from NativePanel:
87 virtual void ShowPanel() OVERRIDE; 87 virtual void ShowPanel() OVERRIDE;
88 virtual void ShowPanelInactive() OVERRIDE; 88 virtual void ShowPanelInactive() OVERRIDE;
89 virtual gfx::Rect GetPanelBounds() const OVERRIDE; 89 virtual gfx::Rect GetPanelBounds() const OVERRIDE;
90 virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE; 90 virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE;
91 virtual void SetPanelBoundsInstantly(const gfx::Rect& bounds) OVERRIDE; 91 virtual void SetPanelBoundsInstantly(const gfx::Rect& bounds) OVERRIDE;
92 virtual void ClosePanel() OVERRIDE; 92 virtual void ClosePanel() OVERRIDE;
93 virtual void ActivatePanel() OVERRIDE; 93 virtual void ActivatePanel() OVERRIDE;
94 virtual void DeactivatePanel() OVERRIDE; 94 virtual void DeactivatePanel() OVERRIDE;
95 virtual bool IsPanelActive() const OVERRIDE; 95 virtual bool IsPanelActive() const OVERRIDE;
96 virtual void PreventActivationByOS(bool prevent_activation) OVERRIDE;
97 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE; 96 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE;
98 virtual void UpdatePanelTitleBar() OVERRIDE; 97 virtual void UpdatePanelTitleBar() OVERRIDE;
99 virtual void UpdatePanelLoadingAnimations(bool should_animate) OVERRIDE; 98 virtual void UpdatePanelLoadingAnimations(bool should_animate) OVERRIDE;
100 virtual void ShowTaskManagerForPanel() OVERRIDE; 99 virtual void ShowTaskManagerForPanel() OVERRIDE;
101 virtual FindBar* CreatePanelFindBar() OVERRIDE; 100 virtual FindBar* CreatePanelFindBar() OVERRIDE;
102 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; 101 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE;
103 virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE; 102 virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE;
104 virtual void PanelCut() OVERRIDE; 103 virtual void PanelCut() OVERRIDE;
105 virtual void PanelCopy() OVERRIDE; 104 virtual void PanelCopy() OVERRIDE;
106 virtual void PanelPaste() OVERRIDE; 105 virtual void PanelPaste() OVERRIDE;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // The last view that had focus in the panel. This is saved so that focus can 169 // The last view that had focus in the panel. This is saved so that focus can
171 // be restored properly when a drag ends. 170 // be restored properly when a drag ends.
172 views::View* old_focused_view_; 171 views::View* old_focused_view_;
173 172
174 content::NotificationRegistrar registrar_; 173 content::NotificationRegistrar registrar_;
175 174
176 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); 175 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView);
177 }; 176 };
178 177
179 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ 178 #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