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

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: move the comment into the body of the function. 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
« no previous file with comments | « no previous file | 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 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();
sky 2015/10/30 15:31:17 Document ownership. That said, AFAICT all you want
joone 2015/10/30 15:59:59 Because this CL was separated from https://coderev
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 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
984 // The following factory is used for chrome update coalescing. 984 // The following factory is used for chrome update coalescing.
985 base::WeakPtrFactory<Browser> chrome_updater_factory_; 985 base::WeakPtrFactory<Browser> chrome_updater_factory_;
986 986
987 // The following factory is used to close the frame at a later time. 987 // The following factory is used to close the frame at a later time.
988 base::WeakPtrFactory<Browser> weak_factory_; 988 base::WeakPtrFactory<Browser> weak_factory_;
989 989
990 DISALLOW_COPY_AND_ASSIGN(Browser); 990 DISALLOW_COPY_AND_ASSIGN(Browser);
991 }; 991 };
992 992
993 #endif // CHROME_BROWSER_UI_BROWSER_H_ 993 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698