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

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

Issue 2175833002: AdjustBoundsToEnsureMinimumWindowVisibility may cause unwanted shift if window dimension is small (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 // TODO(port): port these, and re-merge the two function declaration lists. 390 // TODO(port): port these, and re-merge the two function declaration lists.
391 // Page-related commands. 391 // Page-related commands.
392 void ToggleEncodingAutoDetect(); 392 void ToggleEncodingAutoDetect();
393 void OverrideEncoding(int encoding_id); 393 void OverrideEncoding(int encoding_id);
394 394
395 // Show various bits of UI 395 // Show various bits of UI
396 void OpenFile(); 396 void OpenFile();
397 397
398 void UpdateDownloadShelfVisibility(bool visible); 398 void UpdateDownloadShelfVisibility(bool visible);
399 399
400 void UpdateStatusBubblePosition();
401
400 ///////////////////////////////////////////////////////////////////////////// 402 /////////////////////////////////////////////////////////////////////////////
401 403
402 // Called by chrome::Navigate() when a navigation has occurred in a tab in 404 // Called by chrome::Navigate() when a navigation has occurred in a tab in
403 // this Browser. Updates the UI for the start of this navigation. 405 // this Browser. Updates the UI for the start of this navigation.
404 void UpdateUIForNavigationInTab(content::WebContents* contents, 406 void UpdateUIForNavigationInTab(content::WebContents* contents,
405 ui::PageTransition transition, 407 ui::PageTransition transition,
406 bool user_initiated); 408 bool user_initiated);
407 409
408 // Shows the signin flow for |mode| in a tab-modal dialog. 410 // Shows the signin flow for |mode| in a tab-modal dialog.
409 // |access_point| indicates the access point used to open the Gaia sign in 411 // |access_point| indicates the access point used to open the Gaia sign in
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 // The following factory is used for chrome update coalescing. 1011 // The following factory is used for chrome update coalescing.
1010 base::WeakPtrFactory<Browser> chrome_updater_factory_; 1012 base::WeakPtrFactory<Browser> chrome_updater_factory_;
1011 1013
1012 // The following factory is used to close the frame at a later time. 1014 // The following factory is used to close the frame at a later time.
1013 base::WeakPtrFactory<Browser> weak_factory_; 1015 base::WeakPtrFactory<Browser> weak_factory_;
1014 1016
1015 DISALLOW_COPY_AND_ASSIGN(Browser); 1017 DISALLOW_COPY_AND_ASSIGN(Browser);
1016 }; 1018 };
1017 1019
1018 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1020 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698