| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/tab_contents/navigation_entry.h" | 9 #include "chrome/browser/tab_contents/navigation_entry.h" |
| 10 #include "chrome/common/content_settings_types.h" | 10 #include "chrome/common/content_settings_types.h" |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 virtual void Paste() = 0; | 315 virtual void Paste() = 0; |
| 316 | 316 |
| 317 // Switches between available tabstrip display modes. | 317 // Switches between available tabstrip display modes. |
| 318 virtual void ToggleTabStripMode() = 0; | 318 virtual void ToggleTabStripMode() = 0; |
| 319 | 319 |
| 320 #if defined(OS_MACOSX) | 320 #if defined(OS_MACOSX) |
| 321 // Opens the tabpose view. | 321 // Opens the tabpose view. |
| 322 virtual void OpenTabpose() = 0; | 322 virtual void OpenTabpose() = 0; |
| 323 #endif | 323 #endif |
| 324 | 324 |
| 325 // See InstantDelegate for details. |
| 326 virtual void PrepareForInstant() = 0; |
| 327 |
| 325 // Invoked when instant's tab contents should be shown. | 328 // Invoked when instant's tab contents should be shown. |
| 326 virtual void ShowInstant(TabContents* preview_contents) = 0; | 329 virtual void ShowInstant(TabContents* preview_contents) = 0; |
| 327 | 330 |
| 328 // Invoked when the instant's tab contents should be hidden. | 331 // Invoked when the instant's tab contents should be hidden. |
| 329 virtual void HideInstant() = 0; | 332 virtual void HideInstant() = 0; |
| 330 | 333 |
| 331 // Returns the desired bounds for instant in screen coordinates. Note that if | 334 // Returns the desired bounds for instant in screen coordinates. Note that if |
| 332 // instant isn't currently visible this returns the bounds instant would be | 335 // instant isn't currently visible this returns the bounds instant would be |
| 333 // placed at. | 336 // placed at. |
| 334 virtual gfx::Rect GetInstantBounds() = 0; | 337 virtual gfx::Rect GetInstantBounds() = 0; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 | 378 |
| 376 // Returns the ToolbarView. | 379 // Returns the ToolbarView. |
| 377 virtual ToolbarView* GetToolbarView() const = 0; | 380 virtual ToolbarView* GetToolbarView() const = 0; |
| 378 #endif | 381 #endif |
| 379 | 382 |
| 380 protected: | 383 protected: |
| 381 virtual ~BrowserWindowTesting() {} | 384 virtual ~BrowserWindowTesting() {} |
| 382 }; | 385 }; |
| 383 | 386 |
| 384 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 387 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |