Chromium Code Reviews| OLD | NEW |
|---|---|
| 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/browser/ui/fullscreen_exit_bubble_type.h" | 10 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 328 virtual gfx::Rect GetInstantBounds() = 0; | 328 virtual gfx::Rect GetInstantBounds() = 0; |
| 329 | 329 |
| 330 // Return the correct disposition for a popup window based on |bounds|. | 330 // Return the correct disposition for a popup window based on |bounds|. |
| 331 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 331 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 332 const gfx::Rect& bounds) = 0; | 332 const gfx::Rect& bounds) = 0; |
| 333 | 333 |
| 334 // Construct a FindBar implementation for the |browser|. | 334 // Construct a FindBar implementation for the |browser|. |
| 335 virtual FindBar* CreateFindBar() = 0; | 335 virtual FindBar* CreateFindBar() = 0; |
| 336 | 336 |
| 337 #if defined(OS_CHROMEOS) | 337 #if defined(OS_CHROMEOS) |
| 338 // Shows the Task manager. | |
|
jennb
2011/10/18 23:20:02
Drive by... is this comment correct? It doesn't se
zel
2011/10/18 23:43:12
Done.
| |
| 339 virtual void ShowMobileSetup() = 0; | |
| 340 | |
| 338 // Shows the keyboard overlay dialog box. | 341 // Shows the keyboard overlay dialog box. |
| 339 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) = 0; | 342 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) = 0; |
| 340 #endif | 343 #endif |
| 341 | 344 |
| 342 // Invoked when the preferred size of the contents in current tab has been | 345 // Invoked when the preferred size of the contents in current tab has been |
| 343 // changed. We might choose to update the window size to accomodate this | 346 // changed. We might choose to update the window size to accomodate this |
| 344 // change. | 347 // change. |
| 345 // Note that this won't be fired if we change tabs. | 348 // Note that this won't be fired if we change tabs. |
| 346 virtual void UpdatePreferredSize(TabContents* tab_contents, | 349 virtual void UpdatePreferredSize(TabContents* tab_contents, |
| 347 const gfx::Size& pref_size) {} | 350 const gfx::Size& pref_size) {} |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 389 | 392 |
| 390 // Returns the ToolbarView. | 393 // Returns the ToolbarView. |
| 391 virtual ToolbarView* GetToolbarView() const = 0; | 394 virtual ToolbarView* GetToolbarView() const = 0; |
| 392 #endif | 395 #endif |
| 393 | 396 |
| 394 protected: | 397 protected: |
| 395 virtual ~BrowserWindowTesting() {} | 398 virtual ~BrowserWindowTesting() {} |
| 396 }; | 399 }; |
| 397 | 400 |
| 398 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 401 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |