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

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

Issue 1601323002: Use GetLastCommittedOrigin instead of GetLastCommittedURL in bluetooth chooser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed bluetooth test at: requestDevice.html 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/ui/android/bluetooth_chooser_android.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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 blink::WebDragOperationsMask operations_allowed) override; 465 blink::WebDragOperationsMask operations_allowed) override;
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 url::Origin& origin) override;
476 bool RequestAppBanner(content::WebContents* web_contents) override; 476 bool RequestAppBanner(content::WebContents* web_contents) override;
477 477
478 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } 478 bool is_type_tabbed() const { return type_ == TYPE_TABBED; }
479 bool is_type_popup() const { return type_ == TYPE_POPUP; } 479 bool is_type_popup() const { return type_ == TYPE_POPUP; }
480 480
481 bool is_app() const; 481 bool is_app() const;
482 bool is_devtools() const; 482 bool is_devtools() const;
483 483
484 // True when the mouse cursor is locked. 484 // True when the mouse cursor is locked.
485 bool IsMouseLocked() const; 485 bool IsMouseLocked() const;
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
995 // The following factory is used for chrome update coalescing. 995 // The following factory is used for chrome update coalescing.
996 base::WeakPtrFactory<Browser> chrome_updater_factory_; 996 base::WeakPtrFactory<Browser> chrome_updater_factory_;
997 997
998 // 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.
999 base::WeakPtrFactory<Browser> weak_factory_; 999 base::WeakPtrFactory<Browser> weak_factory_;
1000 1000
1001 DISALLOW_COPY_AND_ASSIGN(Browser); 1001 DISALLOW_COPY_AND_ASSIGN(Browser);
1002 }; 1002 };
1003 1003
1004 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1004 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/android/bluetooth_chooser_android.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698