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

Side by Side Diff: chrome/browser/ui/browser_window.h

Issue 4932001: Makes the current page dim out when transitioning to instant preview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 10 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698