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

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

Issue 8271025: Moved mobile activation into its own modal dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 virtual void SetPresentationMode(bool presentation_mode) OVERRIDE; 146 virtual void SetPresentationMode(bool presentation_mode) OVERRIDE;
147 virtual bool InPresentationMode() OVERRIDE; 147 virtual bool InPresentationMode() OVERRIDE;
148 #endif 148 #endif
149 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; 149 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE;
150 virtual void HideInstant(bool instant_is_active) OVERRIDE; 150 virtual void HideInstant(bool instant_is_active) OVERRIDE;
151 virtual gfx::Rect GetInstantBounds() OVERRIDE; 151 virtual gfx::Rect GetInstantBounds() OVERRIDE;
152 virtual WindowOpenDisposition GetDispositionForPopupBounds( 152 virtual WindowOpenDisposition GetDispositionForPopupBounds(
153 const gfx::Rect& bounds) OVERRIDE; 153 const gfx::Rect& bounds) OVERRIDE;
154 virtual FindBar* CreateFindBar() OVERRIDE; 154 virtual FindBar* CreateFindBar() OVERRIDE;
155 #if defined(OS_CHROMEOS) 155 #if defined(OS_CHROMEOS)
156 virtual void ShowMobileSetup() OVERRIDE;
156 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; 157 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE;
157 #endif 158 #endif
158 virtual void UpdatePreferredSize(TabContents* tab_contents, 159 virtual void UpdatePreferredSize(TabContents* tab_contents,
159 const gfx::Size& pref_size) OVERRIDE; 160 const gfx::Size& pref_size) OVERRIDE;
160 virtual void ShowAvatarBubble(TabContents* tab_contents, 161 virtual void ShowAvatarBubble(TabContents* tab_contents,
161 const gfx::Rect& rect) OVERRIDE; 162 const gfx::Rect& rect) OVERRIDE;
162 163
163 // NotificationObserver overrides. 164 // NotificationObserver overrides.
164 virtual void Observe(int type, 165 virtual void Observe(int type,
165 const NotificationSource& source, 166 const NotificationSource& source,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 // Stores the full height of the panel so we can restore it after it's 230 // Stores the full height of the panel so we can restore it after it's
230 // been minimized. 231 // been minimized.
231 int restored_height_; 232 int restored_height_;
232 233
233 NotificationRegistrar registrar_; 234 NotificationRegistrar registrar_;
234 235
235 DISALLOW_COPY_AND_ASSIGN(Panel); 236 DISALLOW_COPY_AND_ASSIGN(Panel);
236 }; 237 };
237 238
238 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 239 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698