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

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

Issue 2658473002: Refactor BluetoothAllowedDevicesMap (Closed)
Patch Set: set --similarity=20 when did git cl upload Created 3 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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 blink::WebDragOperationsMask operations_allowed) override; 487 blink::WebDragOperationsMask operations_allowed) override;
488 blink::WebSecurityStyle GetSecurityStyle( 488 blink::WebSecurityStyle GetSecurityStyle(
489 content::WebContents* web_contents, 489 content::WebContents* web_contents,
490 content::SecurityStyleExplanations* security_style_explanations) override; 490 content::SecurityStyleExplanations* security_style_explanations) override;
491 void ShowCertificateViewerInDevTools( 491 void ShowCertificateViewerInDevTools(
492 content::WebContents* web_contents, 492 content::WebContents* web_contents,
493 scoped_refptr<net::X509Certificate> certificate) override; 493 scoped_refptr<net::X509Certificate> certificate) override;
494 std::unique_ptr<content::BluetoothChooser> RunBluetoothChooser( 494 std::unique_ptr<content::BluetoothChooser> RunBluetoothChooser(
495 content::RenderFrameHost* frame, 495 content::RenderFrameHost* frame,
496 const content::BluetoothChooser::EventHandler& event_handler) override; 496 const content::BluetoothChooser::EventHandler& event_handler) override;
497 content::BluetoothAllowedDevicesMapBase* GetBluetoothDevicesMap(
498 content::RenderFrameHost* frame) override;
497 void RequestAppBannerFromDevTools( 499 void RequestAppBannerFromDevTools(
498 content::WebContents* web_contents) override; 500 content::WebContents* web_contents) override;
499 501
500 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } 502 bool is_type_tabbed() const { return type_ == TYPE_TABBED; }
501 bool is_type_popup() const { return type_ == TYPE_POPUP; } 503 bool is_type_popup() const { return type_ == TYPE_POPUP; }
502 504
503 bool is_app() const; 505 bool is_app() const;
504 bool is_devtools() const; 506 bool is_devtools() const;
505 507
506 // True when the mouse cursor is locked. 508 // True when the mouse cursor is locked.
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
1017 // The following factory is used for chrome update coalescing. 1019 // The following factory is used for chrome update coalescing.
1018 base::WeakPtrFactory<Browser> chrome_updater_factory_; 1020 base::WeakPtrFactory<Browser> chrome_updater_factory_;
1019 1021
1020 // The following factory is used to close the frame at a later time. 1022 // The following factory is used to close the frame at a later time.
1021 base::WeakPtrFactory<Browser> weak_factory_; 1023 base::WeakPtrFactory<Browser> weak_factory_;
1022 1024
1023 DISALLOW_COPY_AND_ASSIGN(Browser); 1025 DISALLOW_COPY_AND_ASSIGN(Browser);
1024 }; 1026 };
1025 1027
1026 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1028 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698