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

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

Issue 1955183002: Revert of DevTools: account for the display scale factor while validating manifest under emulation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/chrome_service_worker_browsertest.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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 content::SecurityStyleExplanations* security_style_explanations) override; 483 content::SecurityStyleExplanations* security_style_explanations) override;
484 void ShowCertificateViewerInDevTools( 484 void ShowCertificateViewerInDevTools(
485 content::WebContents* web_contents, 485 content::WebContents* web_contents,
486 int cert_id) override; 486 int cert_id) override;
487 std::unique_ptr<content::BluetoothChooser> RunBluetoothChooser( 487 std::unique_ptr<content::BluetoothChooser> RunBluetoothChooser(
488 content::RenderFrameHost* frame, 488 content::RenderFrameHost* frame,
489 const content::BluetoothChooser::EventHandler& event_handler) override; 489 const content::BluetoothChooser::EventHandler& event_handler) override;
490 void RequestAppBannerFromDevTools( 490 void RequestAppBannerFromDevTools(
491 content::WebContents* web_contents) override; 491 content::WebContents* web_contents) override;
492 492
493 bool RequestAppBanner(content::WebContents* web_contents);
494
493 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } 495 bool is_type_tabbed() const { return type_ == TYPE_TABBED; }
494 bool is_type_popup() const { return type_ == TYPE_POPUP; } 496 bool is_type_popup() const { return type_ == TYPE_POPUP; }
495 497
496 bool is_app() const; 498 bool is_app() const;
497 bool is_devtools() const; 499 bool is_devtools() const;
498 500
499 // True when the mouse cursor is locked. 501 // True when the mouse cursor is locked.
500 bool IsMouseLocked() const; 502 bool IsMouseLocked() const;
501 503
502 // Called each time the browser window is shown. 504 // Called each time the browser window is shown.
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 // The following factory is used for chrome update coalescing. 1016 // The following factory is used for chrome update coalescing.
1015 base::WeakPtrFactory<Browser> chrome_updater_factory_; 1017 base::WeakPtrFactory<Browser> chrome_updater_factory_;
1016 1018
1017 // The following factory is used to close the frame at a later time. 1019 // The following factory is used to close the frame at a later time.
1018 base::WeakPtrFactory<Browser> weak_factory_; 1020 base::WeakPtrFactory<Browser> weak_factory_;
1019 1021
1020 DISALLOW_COPY_AND_ASSIGN(Browser); 1022 DISALLOW_COPY_AND_ASSIGN(Browser);
1021 }; 1023 };
1022 1024
1023 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1025 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_service_worker_browsertest.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698