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

Unified Diff: chrome/browser/chrome_browser_application_mac.h

Issue 1575743003: Mac: Remove a case where panels may become key when an autofill popup closes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove poopie code from chrome_browser_application_mac.mm 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_application_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_application_mac.h
diff --git a/chrome/browser/chrome_browser_application_mac.h b/chrome/browser/chrome_browser_application_mac.h
index 9f9b7314cea4008d635d8c911cb557502cd2e119..86e70bc37b26f068becb23790c0406e403b41e90 100644
--- a/chrome/browser/chrome_browser_application_mac.h
+++ b/chrome/browser/chrome_browser_application_mac.h
@@ -10,25 +10,14 @@
#import <AppKit/AppKit.h>
#include <stddef.h>
-#include <vector>
-
#import "base/mac/scoped_sending_event.h"
#import "base/message_loop/message_pump_mac.h"
-#include "base/synchronization/lock.h"
@interface BrowserCrApplication : NSApplication<CrAppProtocol,
CrAppControlProtocol> {
@private
BOOL handlingSendEvent_;
BOOL cyclingWindows_;
-
- // App's previous key windows. Most recent key window is last.
- // Does not include current key window. Elements of this vector are weak
- // references.
- std::vector<NSWindow*> previousKeyWindows_;
-
- // Guards previousKeyWindows_.
- base::Lock previousKeyWindowsLock_;
}
// Our implementation of |-terminate:| only attempts to terminate the
@@ -36,10 +25,8 @@
// method cancels that process.
- (void)cancelTerminate:(id)sender;
-// Keep track of the previous key windows and whether windows are being
-// cycled for use in determining whether a Panel window can become the
-// key window.
-- (NSWindow*)previousKeyWindow;
+// Keep track of whether windows are being cycled for use in determining whether
+// a Panel window can become the key window.
- (BOOL)isCyclingWindows;
@end
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_application_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698