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

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

Issue 1363093004: Add BrowserSelectFileDialogTest.OpenCloseFileDialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enable the test and skip libglib-2.0 from LSan report Created 5 years, 2 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 <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 // Returns true if the Browser can support the specified feature. See comment 390 // Returns true if the Browser can support the specified feature. See comment
391 // in |SupportsWindowFeature| for details on this. 391 // in |SupportsWindowFeature| for details on this.
392 bool CanSupportWindowFeature(WindowFeature feature) const; 392 bool CanSupportWindowFeature(WindowFeature feature) const;
393 393
394 // TODO(port): port these, and re-merge the two function declaration lists. 394 // TODO(port): port these, and re-merge the two function declaration lists.
395 // Page-related commands. 395 // Page-related commands.
396 void ToggleEncodingAutoDetect(); 396 void ToggleEncodingAutoDetect();
397 void OverrideEncoding(int encoding_id); 397 void OverrideEncoding(int encoding_id);
398 398
399 // Show various bits of UI 399 // Show various bits of UI
400 void OpenFile(); 400 ui::SelectFileDialog* OpenFile();
401 401
402 void UpdateDownloadShelfVisibility(bool visible); 402 void UpdateDownloadShelfVisibility(bool visible);
403 403
404 ///////////////////////////////////////////////////////////////////////////// 404 /////////////////////////////////////////////////////////////////////////////
405 405
406 // Called by chrome::Navigate() when a navigation has occurred in a tab in 406 // Called by chrome::Navigate() when a navigation has occurred in a tab in
407 // this Browser. Updates the UI for the start of this navigation. 407 // this Browser. Updates the UI for the start of this navigation.
408 void UpdateUIForNavigationInTab(content::WebContents* contents, 408 void UpdateUIForNavigationInTab(content::WebContents* contents,
409 ui::PageTransition transition, 409 ui::PageTransition transition,
410 bool user_initiated); 410 bool user_initiated);
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 // The following factory is used for chrome update coalescing. 985 // The following factory is used for chrome update coalescing.
986 base::WeakPtrFactory<Browser> chrome_updater_factory_; 986 base::WeakPtrFactory<Browser> chrome_updater_factory_;
987 987
988 // The following factory is used to close the frame at a later time. 988 // The following factory is used to close the frame at a later time.
989 base::WeakPtrFactory<Browser> weak_factory_; 989 base::WeakPtrFactory<Browser> weak_factory_;
990 990
991 DISALLOW_COPY_AND_ASSIGN(Browser); 991 DISALLOW_COPY_AND_ASSIGN(Browser);
992 }; 992 };
993 993
994 #endif // CHROME_BROWSER_UI_BROWSER_H_ 994 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698