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

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

Issue 2041293002: Add heuristics to limit showing of new backspace UI bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 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
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/test/base/test_browser_window.cc » ('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 #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/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 gfx::Rect GetBounds() const override; 60 gfx::Rect GetBounds() const override;
61 gfx::Size GetContentsSize() const override; 61 gfx::Size GetContentsSize() const override;
62 bool IsMaximized() const override; 62 bool IsMaximized() const override;
63 bool IsMinimized() const override; 63 bool IsMinimized() const override;
64 void Maximize() override {} 64 void Maximize() override {}
65 void Minimize() override {} 65 void Minimize() override {}
66 void Restore() override {} 66 void Restore() override {}
67 bool ShouldHideUIForFullscreen() const override; 67 bool ShouldHideUIForFullscreen() const override;
68 bool IsFullscreen() const override; 68 bool IsFullscreen() const override;
69 bool IsFullscreenBubbleVisible() const override; 69 bool IsFullscreenBubbleVisible() const override;
70 void ShowNewBackShortcutBubble(bool forward) override; 70 void MaybeShowNewBackShortcutBubble(bool forward) override {}
71 void HideNewBackShortcutBubble() override {}
71 LocationBar* GetLocationBar() const override; 72 LocationBar* GetLocationBar() const override;
72 void SetFocusToLocationBar(bool select_all) override {} 73 void SetFocusToLocationBar(bool select_all) override {}
73 void UpdateReloadStopState(bool is_loading, bool force) override {} 74 void UpdateReloadStopState(bool is_loading, bool force) override {}
74 void UpdateToolbar(content::WebContents* contents) override {} 75 void UpdateToolbar(content::WebContents* contents) override {}
75 void ResetToolbarTabState(content::WebContents* contents) override {} 76 void ResetToolbarTabState(content::WebContents* contents) override {}
76 void FocusToolbar() override {} 77 void FocusToolbar() override {}
77 ToolbarActionsBar* GetToolbarActionsBar() override; 78 ToolbarActionsBar* GetToolbarActionsBar() override;
78 void ToolbarSizeChanged(bool is_animating) override {} 79 void ToolbarSizeChanged(bool is_animating) override {}
79 void FocusAppMenu() override {} 80 void FocusAppMenu() override {}
80 void FocusBookmarksToolbar() override {} 81 void FocusBookmarksToolbar() override {}
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 203
203 namespace chrome { 204 namespace chrome {
204 205
205 // Helper that handle the lifetime of TestBrowserWindow instances. 206 // Helper that handle the lifetime of TestBrowserWindow instances.
206 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( 207 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams(
207 Browser::CreateParams* params); 208 Browser::CreateParams* params);
208 209
209 } // namespace chrome 210 } // namespace chrome
210 211
211 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 212 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/test/base/test_browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698