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

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

Issue 789763004: Fix disappearing page actions bug. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from wittman. Created 6 years 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/browser/ui/views/location_bar/location_bar_view.cc ('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 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 5 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 void ShowFirstRunBubble() override {} 160 void ShowFirstRunBubble() override {}
161 GURL GetDestinationURL() const override; 161 GURL GetDestinationURL() const override;
162 WindowOpenDisposition GetWindowOpenDisposition() const override; 162 WindowOpenDisposition GetWindowOpenDisposition() const override;
163 ui::PageTransition GetPageTransition() const override; 163 ui::PageTransition GetPageTransition() const override;
164 void AcceptInput() override {} 164 void AcceptInput() override {}
165 void FocusLocation(bool select_all) override {} 165 void FocusLocation(bool select_all) override {}
166 void FocusSearch() override {} 166 void FocusSearch() override {}
167 void UpdateContentSettingsIcons() override {} 167 void UpdateContentSettingsIcons() override {}
168 void UpdateManagePasswordsIconAndBubble() override {} 168 void UpdateManagePasswordsIconAndBubble() override {}
169 void UpdatePageActions() override {} 169 void UpdatePageActions() override {}
170 void InvalidatePageActions() override {}
171 void UpdateBookmarkStarVisibility() override {} 170 void UpdateBookmarkStarVisibility() override {}
172 bool ShowPageActionPopup(const extensions::Extension* extension, 171 bool ShowPageActionPopup(const extensions::Extension* extension,
173 bool grant_active_tab) override; 172 bool grant_active_tab) override;
174 void UpdateOpenPDFInReaderPrompt() override {} 173 void UpdateOpenPDFInReaderPrompt() override {}
175 void UpdateGeneratedCreditCardView() override {} 174 void UpdateGeneratedCreditCardView() override {}
176 void SaveStateToContents(content::WebContents* contents) override {} 175 void SaveStateToContents(content::WebContents* contents) override {}
177 void Revert() override {} 176 void Revert() override {}
178 const OmniboxView* GetOmniboxView() const override; 177 const OmniboxView* GetOmniboxView() const override;
179 OmniboxView* GetOmniboxView() override; 178 OmniboxView* GetOmniboxView() override;
180 LocationBarTesting* GetLocationBarForTesting() override; 179 LocationBarTesting* GetLocationBarForTesting() override;
181 180
182 private: 181 private:
183 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); 182 DISALLOW_COPY_AND_ASSIGN(TestLocationBar);
184 }; 183 };
185 184
186 TestDownloadShelf download_shelf_; 185 TestDownloadShelf download_shelf_;
187 TestLocationBar location_bar_; 186 TestLocationBar location_bar_;
188 187
189 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 188 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
190 }; 189 };
191 190
192 namespace chrome { 191 namespace chrome {
193 192
194 // Helper that handle the lifetime of TestBrowserWindow instances. 193 // Helper that handle the lifetime of TestBrowserWindow instances.
195 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); 194 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params);
196 195
197 } // namespace chrome 196 } // namespace chrome
198 197
199 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 198 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698