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

Side by Side Diff: chrome/browser/chrome_browser_application_mac.mm

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 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 | Annotate | Revision Log
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 #import "chrome/browser/chrome_browser_application_mac.h" 5 #import "chrome/browser/chrome_browser_application_mac.h"
6 6
7 #import "base/auto_reset.h" 7 #import "base/auto_reset.h"
8 #include "base/debug/crash_logging.h" 8 #include "base/debug/crash_logging.h"
9 #include "base/debug/stack_trace.h" 9 #include "base/debug/stack_trace.h"
10 #import "base/logging.h" 10 #import "base/logging.h"
11 #import "base/mac/scoped_nsexception_enabler.h" 11 #import "base/mac/scoped_nsexception_enabler.h"
12 #import "base/memory/scoped_nsobject.h" 12 #import "base/mac/scoped_nsobject.h"
13 #import "base/metrics/histogram.h" 13 #import "base/metrics/histogram.h"
14 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #import "base/strings/sys_string_conversions.h" 15 #import "base/strings/sys_string_conversions.h"
16 #import "chrome/browser/app_controller_mac.h" 16 #import "chrome/browser/app_controller_mac.h"
17 #include "chrome/browser/ui/tab_contents/tab_contents_iterator.h" 17 #include "chrome/browser/ui/tab_contents/tab_contents_iterator.h"
18 #include "chrome/common/crash_keys.h" 18 #include "chrome/common/crash_keys.h"
19 #import "chrome/common/mac/objc_method_swizzle.h" 19 #import "chrome/common/mac/objc_method_swizzle.h"
20 #import "chrome/common/mac/objc_zombie.h" 20 #import "chrome/common/mac/objc_zombie.h"
21 #include "content/public/browser/browser_accessibility_state.h" 21 #include "content/public/browser/browser_accessibility_state.h"
22 #include "content/public/browser/render_view_host.h" 22 #include "content/public/browser/render_view_host.h"
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 std::vector<NSWindow*>::iterator window_iterator = 571 std::vector<NSWindow*>::iterator window_iterator =
572 std::find(previousKeyWindows_.begin(), 572 std::find(previousKeyWindows_.begin(),
573 previousKeyWindows_.end(), 573 previousKeyWindows_.end(),
574 window); 574 window);
575 if (window_iterator != previousKeyWindows_.end()) { 575 if (window_iterator != previousKeyWindows_.end()) {
576 previousKeyWindows_.erase(window_iterator); 576 previousKeyWindows_.erase(window_iterator);
577 } 577 }
578 } 578 }
579 579
580 @end 580 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698