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

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

Issue 5701008: Fixes bug in instant that resulted in flickery fade. The problem would (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: Adds content to 403.html as bots seem to have problem with empty file Created 10 years 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/cocoa/browser_window_cocoa.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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 virtual void OpenTabpose() = 0; 316 virtual void OpenTabpose() = 0;
317 #endif 317 #endif
318 318
319 // See InstantDelegate for details. 319 // See InstantDelegate for details.
320 virtual void PrepareForInstant() = 0; 320 virtual void PrepareForInstant() = 0;
321 321
322 // Invoked when instant's tab contents should be shown. 322 // Invoked when instant's tab contents should be shown.
323 virtual void ShowInstant(TabContents* preview_contents) = 0; 323 virtual void ShowInstant(TabContents* preview_contents) = 0;
324 324
325 // Invoked when the instant's tab contents should be hidden. 325 // Invoked when the instant's tab contents should be hidden.
326 virtual void HideInstant() = 0; 326 // |instant_is_active| indicates if instant is still active.
327 virtual void HideInstant(bool instant_is_active) = 0;
327 328
328 // Returns the desired bounds for instant in screen coordinates. Note that if 329 // Returns the desired bounds for instant in screen coordinates. Note that if
329 // instant isn't currently visible this returns the bounds instant would be 330 // instant isn't currently visible this returns the bounds instant would be
330 // placed at. 331 // placed at.
331 virtual gfx::Rect GetInstantBounds() = 0; 332 virtual gfx::Rect GetInstantBounds() = 0;
332 333
333 #if defined(OS_CHROMEOS) 334 #if defined(OS_CHROMEOS)
334 // Shows the keyboard overlay dialog box. 335 // Shows the keyboard overlay dialog box.
335 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) = 0; 336 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) = 0;
336 #endif 337 #endif
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 378
378 // Returns the ToolbarView. 379 // Returns the ToolbarView.
379 virtual ToolbarView* GetToolbarView() const = 0; 380 virtual ToolbarView* GetToolbarView() const = 0;
380 #endif 381 #endif
381 382
382 protected: 383 protected:
383 virtual ~BrowserWindowTesting() {} 384 virtual ~BrowserWindowTesting() {}
384 }; 385 };
385 386
386 #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/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698