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

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

Issue 12036075: alternate ntp: fix website page jankiness when suggestions show and top bars are hidden (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: changed mechanism to receive PreviewStateChanged Created 7 years, 10 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
« no previous file with comments | « chrome/browser/infobars/infobar_container.cc ('k') | chrome/browser/ui/browser.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 bool IsMouseLocked() const; 456 bool IsMouseLocked() const;
457 457
458 // Called each time the browser window is shown. 458 // Called each time the browser window is shown.
459 void OnWindowDidShow(); 459 void OnWindowDidShow();
460 460
461 // Show the first run search engine bubble on the location bar. 461 // Show the first run search engine bubble on the location bar.
462 void ShowFirstRunBubble(); 462 void ShowFirstRunBubble();
463 463
464 // If necessary, update the bookmark bar state according to the instant 464 // If necessary, update the bookmark bar state according to the instant
465 // preview state: when instant preview shows suggestions and bookmark bar is 465 // preview state: when instant preview shows suggestions and bookmark bar is
466 // still showing attached, start the animation to hide it. 466 // still showing attached, hide it.
467 void MaybeUpdateBookmarkBarStateForInstantPreview( 467 void MaybeUpdateBookmarkBarStateForInstantPreview(
468 const chrome::search::Mode& mode); 468 const chrome::search::Mode& mode);
469 469
470 FullscreenController* fullscreen_controller() const { 470 FullscreenController* fullscreen_controller() const {
471 return fullscreen_controller_.get(); 471 return fullscreen_controller_.get();
472 } 472 }
473 473
474 extensions::WindowController* extension_window_controller() const { 474 extensions::WindowController* extension_window_controller() const {
475 return extension_window_controller_.get(); 475 return extension_window_controller_.get();
476 } 476 }
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 bool window_has_shown_; 933 bool window_has_shown_;
934 934
935 // Currently open color chooser. Non-NULL after OpenColorChooser is called and 935 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
936 // before DidEndColorChooser is called. 936 // before DidEndColorChooser is called.
937 scoped_ptr<content::ColorChooser> color_chooser_; 937 scoped_ptr<content::ColorChooser> color_chooser_;
938 938
939 DISALLOW_COPY_AND_ASSIGN(Browser); 939 DISALLOW_COPY_AND_ASSIGN(Browser);
940 }; 940 };
941 941
942 #endif // CHROME_BROWSER_UI_BROWSER_H_ 942 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/infobars/infobar_container.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698