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

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 pfeldman'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
« no previous file with comments | « chrome/browser/banners/app_banner_manager_desktop.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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 content::SecurityStyle GetSecurityStyle( 466 content::SecurityStyle GetSecurityStyle(
467 content::WebContents* web_contents, 467 content::WebContents* web_contents,
468 content::SecurityStyleExplanations* security_style_explanations) override; 468 content::SecurityStyleExplanations* security_style_explanations) override;
469 void ShowCertificateViewerInDevTools( 469 void ShowCertificateViewerInDevTools(
470 content::WebContents* web_contents, 470 content::WebContents* web_contents,
471 int cert_id) override; 471 int cert_id) override;
472 scoped_ptr<content::BluetoothChooser> RunBluetoothChooser( 472 scoped_ptr<content::BluetoothChooser> RunBluetoothChooser(
473 content::WebContents* web_contents, 473 content::WebContents* web_contents,
474 const content::BluetoothChooser::EventHandler& event_handler, 474 const content::BluetoothChooser::EventHandler& event_handler,
475 const GURL& origin) override; 475 const GURL& origin) override;
476 bool RequestAppBanner(content::WebContents* web_contents) override;
476 477
477 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } 478 bool is_type_tabbed() const { return type_ == TYPE_TABBED; }
478 bool is_type_popup() const { return type_ == TYPE_POPUP; } 479 bool is_type_popup() const { return type_ == TYPE_POPUP; }
479 480
480 bool is_app() const; 481 bool is_app() const;
481 bool is_devtools() const; 482 bool is_devtools() const;
482 483
483 // True when the mouse cursor is locked. 484 // True when the mouse cursor is locked.
484 bool IsMouseLocked() const; 485 bool IsMouseLocked() const;
485 486
(...skipping 508 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
« no previous file with comments | « chrome/browser/banners/app_banner_manager_desktop.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698