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

Side by Side Diff: chrome/test/base/test_browser_window.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/test/base/test_browser_window.h ('k') | chrome/test/base/test_browser_window_aura.h » ('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 #include "chrome/test/base/test_browser_window.h" 5 #include "chrome/test/base/test_browser_window.h"
6 6
7 #include "build/build_config.h"
7 #include "chrome/browser/ui/browser_list.h" 8 #include "chrome/browser/ui/browser_list.h"
8 #include "chrome/browser/ui/browser_list_observer.h" 9 #include "chrome/browser/ui/browser_list_observer.h"
9 #include "ui/gfx/geometry/rect.h" 10 #include "ui/gfx/geometry/rect.h"
10 11
11 12
12 // Helpers -------------------------------------------------------------------- 13 // Helpers --------------------------------------------------------------------
13 14
14 namespace chrome { 15 namespace chrome {
15 16
16 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( 17 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams(
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 } 220 }
220 221
221 TestBrowserWindowOwner::~TestBrowserWindowOwner() { 222 TestBrowserWindowOwner::~TestBrowserWindowOwner() {
222 BrowserList::RemoveObserver(this); 223 BrowserList::RemoveObserver(this);
223 } 224 }
224 225
225 void TestBrowserWindowOwner::OnBrowserRemoved(Browser* browser) { 226 void TestBrowserWindowOwner::OnBrowserRemoved(Browser* browser) {
226 if (browser->window() == window_.get()) 227 if (browser->window() == window_.get())
227 delete this; 228 delete this;
228 } 229 }
OLDNEW
« no previous file with comments | « chrome/test/base/test_browser_window.h ('k') | chrome/test/base/test_browser_window_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698