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

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

Issue 1569893003: Add "Request app banner" context menu in DevTools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated dfalcantara's comment Created 4 years, 11 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 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 content::WebContents* web_contents) const override; 666 content::WebContents* web_contents) const override;
667 667
668 // Overridden from CoreTabHelperDelegate: 668 // Overridden from CoreTabHelperDelegate:
669 // Note that the caller is responsible for deleting |old_contents|. 669 // Note that the caller is responsible for deleting |old_contents|.
670 void SwapTabContents(content::WebContents* old_contents, 670 void SwapTabContents(content::WebContents* old_contents,
671 content::WebContents* new_contents, 671 content::WebContents* new_contents,
672 bool did_start_load, 672 bool did_start_load,
673 bool did_finish_load) override; 673 bool did_finish_load) override;
674 bool CanReloadContents(content::WebContents* web_contents) const override; 674 bool CanReloadContents(content::WebContents* web_contents) const override;
675 bool CanSaveContents(content::WebContents* web_contents) const override; 675 bool CanSaveContents(content::WebContents* web_contents) const override;
676 bool RequestAppBanner(content::WebContents* web_contents) override;
pfeldman 2016/01/20 04:30:17 Since content is already appbanner-aware, you can
horo 2016/01/20 11:01:41 Done.
676 677
677 // Overridden from SearchEngineTabHelperDelegate: 678 // Overridden from SearchEngineTabHelperDelegate:
678 void ConfirmAddSearchProvider(TemplateURL* template_url, 679 void ConfirmAddSearchProvider(TemplateURL* template_url,
679 Profile* profile) override; 680 Profile* profile) override;
680 681
681 // Overridden from SearchTabHelperDelegate: 682 // Overridden from SearchTabHelperDelegate:
682 void NavigateOnThumbnailClick(const GURL& url, 683 void NavigateOnThumbnailClick(const GURL& url,
683 WindowOpenDisposition disposition, 684 WindowOpenDisposition disposition,
684 content::WebContents* source_contents) override; 685 content::WebContents* source_contents) override;
685 void OnWebContentsInstantSupportDisabled( 686 void OnWebContentsInstantSupportDisabled(
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 // The following factory is used for chrome update coalescing. 995 // The following factory is used for chrome update coalescing.
995 base::WeakPtrFactory<Browser> chrome_updater_factory_; 996 base::WeakPtrFactory<Browser> chrome_updater_factory_;
996 997
997 // The following factory is used to close the frame at a later time. 998 // The following factory is used to close the frame at a later time.
998 base::WeakPtrFactory<Browser> weak_factory_; 999 base::WeakPtrFactory<Browser> weak_factory_;
999 1000
1000 DISALLOW_COPY_AND_ASSIGN(Browser); 1001 DISALLOW_COPY_AND_ASSIGN(Browser);
1001 }; 1002 };
1002 1003
1003 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1004 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698