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

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

Issue 1836943002: DevTools: request app banner from DevTools without #enable-add-to-shelf flag while emulating. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 blink::WebDragOperationsMask operations_allowed) override; 473 blink::WebDragOperationsMask operations_allowed) override;
474 content::SecurityStyle GetSecurityStyle( 474 content::SecurityStyle GetSecurityStyle(
475 content::WebContents* web_contents, 475 content::WebContents* web_contents,
476 content::SecurityStyleExplanations* security_style_explanations) override; 476 content::SecurityStyleExplanations* security_style_explanations) override;
477 void ShowCertificateViewerInDevTools( 477 void ShowCertificateViewerInDevTools(
478 content::WebContents* web_contents, 478 content::WebContents* web_contents,
479 int cert_id) override; 479 int cert_id) override;
480 scoped_ptr<content::BluetoothChooser> RunBluetoothChooser( 480 scoped_ptr<content::BluetoothChooser> RunBluetoothChooser(
481 content::RenderFrameHost* frame, 481 content::RenderFrameHost* frame,
482 const content::BluetoothChooser::EventHandler& event_handler) override; 482 const content::BluetoothChooser::EventHandler& event_handler) override;
483 bool RequestAppBanner(content::WebContents* web_contents) override; 483 void RequestAppBannerFromDevTools(
484 content::WebContents* web_contents) override;
485
486 bool RequestAppBanner(content::WebContents* web_contents);
484 487
485 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } 488 bool is_type_tabbed() const { return type_ == TYPE_TABBED; }
486 bool is_type_popup() const { return type_ == TYPE_POPUP; } 489 bool is_type_popup() const { return type_ == TYPE_POPUP; }
487 490
488 bool is_app() const; 491 bool is_app() const;
489 bool is_devtools() const; 492 bool is_devtools() const;
490 493
491 // True when the mouse cursor is locked. 494 // True when the mouse cursor is locked.
492 bool IsMouseLocked() const; 495 bool IsMouseLocked() const;
493 496
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
1004 // The following factory is used for chrome update coalescing. 1007 // The following factory is used for chrome update coalescing.
1005 base::WeakPtrFactory<Browser> chrome_updater_factory_; 1008 base::WeakPtrFactory<Browser> chrome_updater_factory_;
1006 1009
1007 // The following factory is used to close the frame at a later time. 1010 // The following factory is used to close the frame at a later time.
1008 base::WeakPtrFactory<Browser> weak_factory_; 1011 base::WeakPtrFactory<Browser> weak_factory_;
1009 1012
1010 DISALLOW_COPY_AND_ASSIGN(Browser); 1013 DISALLOW_COPY_AND_ASSIGN(Browser);
1011 }; 1014 };
1012 1015
1013 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1016 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/tab_web_contents_delegate_android.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698