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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_cocoa.mm

Issue 1995813002: Use the virtual URL of the page in the Page Info Bubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mac build Created 4 years, 6 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 #include "chrome/browser/ui/cocoa/browser_window_cocoa.h" 5 #include "chrome/browser/ui/cocoa/browser_window_cocoa.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #import "base/mac/sdk_forward_declarations.h" 10 #import "base/mac/sdk_forward_declarations.h"
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 [controller_ userChangedTheme]; 670 [controller_ userChangedTheme];
671 LocationBarViewMac* locationBar = [controller_ locationBarBridge]; 671 LocationBarViewMac* locationBar = [controller_ locationBarBridge];
672 if (locationBar) { 672 if (locationBar) {
673 locationBar->OnThemeChanged(); 673 locationBar->OnThemeChanged();
674 } 674 }
675 } 675 }
676 676
677 void BrowserWindowCocoa::ShowWebsiteSettings( 677 void BrowserWindowCocoa::ShowWebsiteSettings(
678 Profile* profile, 678 Profile* profile,
679 content::WebContents* web_contents, 679 content::WebContents* web_contents,
680 const GURL& url, 680 const GURL& virtual_url,
681 const security_state::SecurityStateModel::SecurityInfo& security_info) { 681 const security_state::SecurityStateModel::SecurityInfo& security_info) {
682 WebsiteSettingsUIBridge::Show(window(), profile, web_contents, url, 682 WebsiteSettingsUIBridge::Show(window(), profile, web_contents, virtual_url,
683 security_info); 683 security_info);
684 } 684 }
685 685
686 void BrowserWindowCocoa::ShowAppMenu() { 686 void BrowserWindowCocoa::ShowAppMenu() {
687 // No-op. Mac doesn't support showing the menus via alt keys. 687 // No-op. Mac doesn't support showing the menus via alt keys.
688 } 688 }
689 689
690 bool BrowserWindowCocoa::PreHandleKeyboardEvent( 690 bool BrowserWindowCocoa::PreHandleKeyboardEvent(
691 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) { 691 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) {
692 // Handle ESC to dismiss permission bubbles, but still forward it 692 // Handle ESC to dismiss permission bubbles, but still forward it
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 ExclusiveAccessContext* BrowserWindowCocoa::GetExclusiveAccessContext() { 834 ExclusiveAccessContext* BrowserWindowCocoa::GetExclusiveAccessContext() {
835 return [controller_ exclusiveAccessController]; 835 return [controller_ exclusiveAccessController];
836 } 836 }
837 837
838 void BrowserWindowCocoa::ShowImeWarningBubble( 838 void BrowserWindowCocoa::ShowImeWarningBubble(
839 const extensions::Extension* extension, 839 const extensions::Extension* extension,
840 const base::Callback<void(ImeWarningBubblePermissionStatus status)>& 840 const base::Callback<void(ImeWarningBubblePermissionStatus status)>&
841 callback) { 841 callback) {
842 NOTREACHED() << "The IME warning bubble is unsupported on this platform."; 842 NOTREACHED() << "The IME warning bubble is unsupported on this platform.";
843 } 843 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.h ('k') | chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698