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

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

Issue 489183005: Make a ShowExtensionActionPopup function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Peter's Created 6 years, 3 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') | 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/rect.h" 9 #include "ui/gfx/rect.h"
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 WindowOpenDisposition 59 WindowOpenDisposition
60 TestBrowserWindow::TestLocationBar::GetWindowOpenDisposition() const { 60 TestBrowserWindow::TestLocationBar::GetWindowOpenDisposition() const {
61 return CURRENT_TAB; 61 return CURRENT_TAB;
62 } 62 }
63 63
64 content::PageTransition 64 content::PageTransition
65 TestBrowserWindow::TestLocationBar::GetPageTransition() const { 65 TestBrowserWindow::TestLocationBar::GetPageTransition() const {
66 return content::PAGE_TRANSITION_LINK; 66 return content::PAGE_TRANSITION_LINK;
67 } 67 }
68 68
69 bool TestBrowserWindow::TestLocationBar::ShowPageActionPopup(
70 const extensions::Extension* extension, bool grant_active_tab) {
71 return false;
72 }
73
69 const OmniboxView* TestBrowserWindow::TestLocationBar::GetOmniboxView() const { 74 const OmniboxView* TestBrowserWindow::TestLocationBar::GetOmniboxView() const {
70 return NULL; 75 return NULL;
71 } 76 }
72 77
73 OmniboxView* TestBrowserWindow::TestLocationBar::GetOmniboxView() { 78 OmniboxView* TestBrowserWindow::TestLocationBar::GetOmniboxView() {
74 return NULL; 79 return NULL;
75 } 80 }
76 81
77 LocationBarTesting* 82 LocationBarTesting*
78 TestBrowserWindow::TestLocationBar::GetLocationBarForTesting() { 83 TestBrowserWindow::TestLocationBar::GetLocationBarForTesting() {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 } 216 }
212 217
213 int 218 int
214 TestBrowserWindow::GetRenderViewHeightInsetWithDetachedBookmarkBar() { 219 TestBrowserWindow::GetRenderViewHeightInsetWithDetachedBookmarkBar() {
215 return 0; 220 return 0;
216 } 221 }
217 222
218 void TestBrowserWindow::ExecuteExtensionCommand( 223 void TestBrowserWindow::ExecuteExtensionCommand(
219 const extensions::Extension* extension, 224 const extensions::Extension* extension,
220 const extensions::Command& command) {} 225 const extensions::Command& command) {}
221
222 void TestBrowserWindow::ShowPageActionPopup(
223 const extensions::Extension* extension) {}
224
225 void TestBrowserWindow::ShowBrowserActionPopup(
226 const extensions::Extension* extension) {}
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