mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 11:57:48 -03:00
Update browser_commands.cc
This commit is contained in:
parent
6a00ba76ac
commit
ebbfbf9dbf
1 changed files with 2 additions and 5 deletions
|
@ -71,7 +71,7 @@
|
||||||
#include "chrome/browser/ui/qrcode_generator/qrcode_generator_bubble_controller.h"
|
#include "chrome/browser/ui/qrcode_generator/qrcode_generator_bubble_controller.h"
|
||||||
#include "chrome/browser/ui/read_later/reading_list_model_factory.h"
|
#include "chrome/browser/ui/read_later/reading_list_model_factory.h"
|
||||||
#include "chrome/browser/ui/scoped_tabbed_browser_displayer.h"
|
#include "chrome/browser/ui/scoped_tabbed_browser_displayer.h"
|
||||||
#include "chrome/browser/ui/send_tab_to_self/send_tab_to_self_bubble_controller.h"
|
#include "chrome/browser/ui/send_tab_to_self/send_tab_to_self_bubble.h"
|
||||||
#include "chrome/browser/ui/sharing_hub/screenshot/screenshot_captured_bubble_controller.h"
|
#include "chrome/browser/ui/sharing_hub/screenshot/screenshot_captured_bubble_controller.h"
|
||||||
#include "chrome/browser/ui/sharing_hub/sharing_hub_bubble_controller.h"
|
#include "chrome/browser/ui/sharing_hub/sharing_hub_bubble_controller.h"
|
||||||
#include "chrome/browser/ui/startup/startup_tab.h"
|
#include "chrome/browser/ui/startup/startup_tab.h"
|
||||||
|
@ -1286,10 +1286,7 @@ void ManagePasswordsForPage(Browser* browser) {
|
||||||
void SendTabToSelfFromPageAction(Browser* browser) {
|
void SendTabToSelfFromPageAction(Browser* browser) {
|
||||||
WebContents* web_contents =
|
WebContents* web_contents =
|
||||||
browser->tab_strip_model()->GetActiveWebContents();
|
browser->tab_strip_model()->GetActiveWebContents();
|
||||||
send_tab_to_self::SendTabToSelfBubbleController* controller =
|
send_tab_to_self::ShowBubble(web_contents);
|
||||||
send_tab_to_self::SendTabToSelfBubbleController::
|
|
||||||
CreateOrGetFromWebContents(web_contents);
|
|
||||||
controller->ShowBubble();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GenerateQRCodeFromPageAction(Browser* browser) {
|
void GenerateQRCodeFromPageAction(Browser* browser) {
|
||||||
|
|
Loading…
Reference in a new issue