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

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

Issue 6881073: Cleanup popup related browser navigation code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and merge with avi's popup block changes. Created 9 years, 7 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_PANELS_PANEL_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 10
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 virtual void Copy(); 116 virtual void Copy();
117 virtual void Paste(); 117 virtual void Paste();
118 virtual void ToggleTabStripMode(); 118 virtual void ToggleTabStripMode();
119 #if defined(OS_MACOSX) 119 #if defined(OS_MACOSX)
120 virtual void OpenTabpose(); 120 virtual void OpenTabpose();
121 #endif 121 #endif
122 virtual void PrepareForInstant(); 122 virtual void PrepareForInstant();
123 virtual void ShowInstant(TabContentsWrapper* preview); 123 virtual void ShowInstant(TabContentsWrapper* preview);
124 virtual void HideInstant(bool instant_is_active); 124 virtual void HideInstant(bool instant_is_active);
125 virtual gfx::Rect GetInstantBounds(); 125 virtual gfx::Rect GetInstantBounds();
126 virtual WindowOpenDisposition GetDispositionForPopupBounds(
127 const gfx::Rect& bounds);
126 #if defined(OS_CHROMEOS) 128 #if defined(OS_CHROMEOS)
127 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window); 129 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window);
128 #endif 130 #endif
129 131
130 // Construct a native panel BrowserWindow implementation for the specified 132 // Construct a native panel BrowserWindow implementation for the specified
131 // |browser|. 133 // |browser|.
132 static BrowserWindow* CreateNativePanel(Browser* browser, Panel* panel); 134 static BrowserWindow* CreateNativePanel(Browser* browser, Panel* panel);
133 135
134 protected: 136 protected:
135 virtual void DestroyBrowser(); 137 virtual void DestroyBrowser();
(...skipping 10 matching lines...) Expand all
146 148
147 gfx::Rect bounds_; 149 gfx::Rect bounds_;
148 150
149 // Is the panel minimized? 151 // Is the panel minimized?
150 bool minimized_; 152 bool minimized_;
151 153
152 DISALLOW_COPY_AND_ASSIGN(Panel); 154 DISALLOW_COPY_AND_ASSIGN(Panel);
153 }; 155 };
154 156
155 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 157 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698