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

Side by Side Diff: chrome/browser/ui/browser_window.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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" 9 #include "chrome/browser/ui/bookmarks/bookmark_bar.h"
10 #include "chrome/common/content_settings_types.h" 10 #include "chrome/common/content_settings_types.h"
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 virtual gfx::Rect GetInstantBounds() = 0; 320 virtual gfx::Rect GetInstantBounds() = 0;
321 321
322 // Return the correct disposition for a popup window based on |bounds|. 322 // Return the correct disposition for a popup window based on |bounds|.
323 virtual WindowOpenDisposition GetDispositionForPopupBounds( 323 virtual WindowOpenDisposition GetDispositionForPopupBounds(
324 const gfx::Rect& bounds) = 0; 324 const gfx::Rect& bounds) = 0;
325 325
326 // Construct a FindBar implementation for the |browser|. 326 // Construct a FindBar implementation for the |browser|.
327 virtual FindBar* CreateFindBar() = 0; 327 virtual FindBar* CreateFindBar() = 0;
328 328
329 #if defined(OS_CHROMEOS) 329 #if defined(OS_CHROMEOS)
330 // Shows the Task manager.
331 virtual void ShowMobileSetup() = 0;
332
330 // Shows the keyboard overlay dialog box. 333 // Shows the keyboard overlay dialog box.
331 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) = 0; 334 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) = 0;
332 #endif 335 #endif
333 336
334 // Invoked when the preferred size of the contents in current tab has been 337 // Invoked when the preferred size of the contents in current tab has been
335 // changed. We might choose to update the window size to accomodate this 338 // changed. We might choose to update the window size to accomodate this
336 // change. 339 // change.
337 // Note that this won't be fired if we change tabs. 340 // Note that this won't be fired if we change tabs.
338 virtual void UpdatePreferredSize(TabContents* tab_contents, 341 virtual void UpdatePreferredSize(TabContents* tab_contents,
339 const gfx::Size& pref_size) {} 342 const gfx::Size& pref_size) {}
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 384
382 // Returns the ToolbarView. 385 // Returns the ToolbarView.
383 virtual ToolbarView* GetToolbarView() const = 0; 386 virtual ToolbarView* GetToolbarView() const = 0;
384 #endif 387 #endif
385 388
386 protected: 389 protected:
387 virtual ~BrowserWindowTesting() {} 390 virtual ~BrowserWindowTesting() {}
388 }; 391 };
389 392
390 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 393 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698