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

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

Issue 301733006: Zoom Extension API (chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to r279487. Created 6 years, 6 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/guest_view/web_view/web_view_guest.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 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 748
749 // Called when the window is closing to check if potential in-progress 749 // Called when the window is closing to check if potential in-progress
750 // downloads should prevent it from closing. 750 // downloads should prevent it from closing.
751 // Returns true if the window can close, false otherwise. 751 // Returns true if the window can close, false otherwise.
752 bool CanCloseWithInProgressDownloads(); 752 bool CanCloseWithInProgressDownloads();
753 753
754 // Assorted utility functions /////////////////////////////////////////////// 754 // Assorted utility functions ///////////////////////////////////////////////
755 755
756 // Sets the specified browser as the delegate of the WebContents and all the 756 // Sets the specified browser as the delegate of the WebContents and all the
757 // associated tab helpers that are needed. 757 // associated tab helpers that are needed.
758 void SetAsDelegate(content::WebContents* web_contents, Browser* delegate); 758 void SetAsDelegate(content::WebContents* web_contents, bool set_delegate);
sky 2014/06/25 16:02:40 Document what set_delegate means.
wjmaclean 2014/06/25 17:21:30 Done.
759 759
760 // Shows the Find Bar, optionally selecting the next entry that matches the 760 // Shows the Find Bar, optionally selecting the next entry that matches the
761 // existing search string for that Tab. |forward_direction| controls the 761 // existing search string for that Tab. |forward_direction| controls the
762 // search direction. 762 // search direction.
763 void FindInPage(bool find_next, bool forward_direction); 763 void FindInPage(bool find_next, bool forward_direction);
764 764
765 // Closes the frame. 765 // Closes the frame.
766 // TODO(beng): figure out if we need this now that the frame itself closes 766 // TODO(beng): figure out if we need this now that the frame itself closes
767 // after a return to the message loop. 767 // after a return to the message loop.
768 void CloseFrame(); 768 void CloseFrame();
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 base::WeakPtrFactory<Browser> weak_factory_; 935 base::WeakPtrFactory<Browser> weak_factory_;
936 936
937 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_; 937 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_;
938 938
939 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; 939 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_;
940 940
941 DISALLOW_COPY_AND_ASSIGN(Browser); 941 DISALLOW_COPY_AND_ASSIGN(Browser);
942 }; 942 };
943 943
944 #endif // CHROME_BROWSER_UI_BROWSER_H_ 944 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/guest_view/web_view/web_view_guest.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698