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

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

Issue 1402363013: Update location bar bubble/icon behavior. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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') | no next file » | 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 "chrome/browser/ui/browser_list.h" 7 #include "chrome/browser/ui/browser_list.h"
8 #include "chrome/browser/ui/browser_list_observer.h" 8 #include "chrome/browser/ui/browser_list_observer.h"
9 #include "ui/gfx/geometry/rect.h" 9 #include "ui/gfx/geometry/rect.h"
10 10
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 bool TestBrowserWindow::IsToolbarVisible() const { 159 bool TestBrowserWindow::IsToolbarVisible() const {
160 return false; 160 return false;
161 } 161 }
162 162
163 gfx::Rect TestBrowserWindow::GetRootWindowResizerRect() const { 163 gfx::Rect TestBrowserWindow::GetRootWindowResizerRect() const {
164 return gfx::Rect(); 164 return gfx::Rect();
165 } 165 }
166 166
167 autofill::SaveCardBubbleView* TestBrowserWindow::ShowSaveCreditCardBubble( 167 autofill::SaveCardBubbleView* TestBrowserWindow::ShowSaveCreditCardBubble(
168 content::WebContents* contents, 168 content::WebContents* contents,
169 autofill::SaveCardBubbleController* controller) { 169 autofill::SaveCardBubbleController* controller,
170 bool user_gesture) {
170 return nullptr; 171 return nullptr;
171 } 172 }
172 173
173 bool TestBrowserWindow::IsProfileResetBubbleSupported() const { 174 bool TestBrowserWindow::IsProfileResetBubbleSupported() const {
174 return false; 175 return false;
175 } 176 }
176 177
177 GlobalErrorBubbleViewBase* TestBrowserWindow::ShowProfileResetBubble( 178 GlobalErrorBubbleViewBase* TestBrowserWindow::ShowProfileResetBubble(
178 const base::WeakPtr<ProfileResetGlobalError>& global_error) { 179 const base::WeakPtr<ProfileResetGlobalError>& global_error) {
179 return nullptr; 180 return nullptr;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 } 222 }
222 223
223 TestBrowserWindowOwner::~TestBrowserWindowOwner() { 224 TestBrowserWindowOwner::~TestBrowserWindowOwner() {
224 BrowserList::RemoveObserver(this); 225 BrowserList::RemoveObserver(this);
225 } 226 }
226 227
227 void TestBrowserWindowOwner::OnBrowserRemoved(Browser* browser) { 228 void TestBrowserWindowOwner::OnBrowserRemoved(Browser* browser) {
228 if (browser->window() == window_.get()) 229 if (browser->window() == window_.get())
229 delete this; 230 delete this;
230 } 231 }
OLDNEW
« no previous file with comments | « chrome/test/base/test_browser_window.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698