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

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

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
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('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_COCOA_BROWSER_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
7 7
8 #include "base/mac/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/extensions/extension_keybinding_registry.h" 10 #include "chrome/browser/extensions/extension_keybinding_registry.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 DownloadShelf* GetDownloadShelf() override; 122 DownloadShelf* GetDownloadShelf() override;
123 void ConfirmBrowserCloseWithPendingDownloads( 123 void ConfirmBrowserCloseWithPendingDownloads(
124 int download_count, 124 int download_count,
125 Browser::DownloadClosePreventionType dialog_type, 125 Browser::DownloadClosePreventionType dialog_type,
126 bool app_modal, 126 bool app_modal,
127 const base::Callback<void(bool)>& callback) override; 127 const base::Callback<void(bool)>& callback) override;
128 void UserChangedTheme() override; 128 void UserChangedTheme() override;
129 void ShowWebsiteSettings( 129 void ShowWebsiteSettings(
130 Profile* profile, 130 Profile* profile,
131 content::WebContents* web_contents, 131 content::WebContents* web_contents,
132 const GURL& url, 132 const GURL& virtual_url,
133 const security_state::SecurityStateModel::SecurityInfo& security_info) 133 const security_state::SecurityStateModel::SecurityInfo& security_info)
134 override; 134 override;
135 void ShowAppMenu() override; 135 void ShowAppMenu() override;
136 bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event, 136 bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event,
137 bool* is_keyboard_shortcut) override; 137 bool* is_keyboard_shortcut) override;
138 void HandleKeyboardEvent( 138 void HandleKeyboardEvent(
139 const content::NativeWebKeyboardEvent& event) override; 139 const content::NativeWebKeyboardEvent& event) override;
140 void CutCopyPaste(int command_id) override; 140 void CutCopyPaste(int command_id) override;
141 WindowOpenDisposition GetDispositionForPopupBounds( 141 WindowOpenDisposition GetDispositionForPopupBounds(
142 const gfx::Rect& bounds) override; 142 const gfx::Rect& bounds) override;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 ui::WindowShowState initial_show_state_; 195 ui::WindowShowState initial_show_state_;
196 NSInteger attention_request_id_; // identifier from requestUserAttention 196 NSInteger attention_request_id_; // identifier from requestUserAttention
197 197
198 // Preserves window alert state to show appropriate icon in the window title 198 // Preserves window alert state to show appropriate icon in the window title
199 // which can be audio playing, muting or none (determined by alert state of 199 // which can be audio playing, muting or none (determined by alert state of
200 // tabs. 200 // tabs.
201 TabAlertState alert_state_; 201 TabAlertState alert_state_;
202 }; 202 };
203 203
204 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 204 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698