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

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

Issue 2781633003: Allow keyboard shortcuts can be captured by webpage when toolbar is not visible (Closed)
Patch Set: Resolve review comments Created 3 years, 8 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/browser/ui/views/frame/browser_view.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/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/download/test_download_shelf.h" 9 #include "chrome/browser/download/test_download_shelf.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void RotatePaneFocus(bool forwards) override {} 81 void RotatePaneFocus(bool forwards) override {}
82 void ShowAppMenu() override {} 82 void ShowAppMenu() override {}
83 content::KeyboardEventProcessingResult PreHandleKeyboardEvent( 83 content::KeyboardEventProcessingResult PreHandleKeyboardEvent(
84 const content::NativeWebKeyboardEvent& event) override; 84 const content::NativeWebKeyboardEvent& event) override;
85 void HandleKeyboardEvent( 85 void HandleKeyboardEvent(
86 const content::NativeWebKeyboardEvent& event) override {} 86 const content::NativeWebKeyboardEvent& event) override {}
87 bool IsBookmarkBarVisible() const override; 87 bool IsBookmarkBarVisible() const override;
88 bool IsBookmarkBarAnimating() const override; 88 bool IsBookmarkBarAnimating() const override;
89 bool IsTabStripEditable() const override; 89 bool IsTabStripEditable() const override;
90 bool IsToolbarVisible() const override; 90 bool IsToolbarVisible() const override;
91 bool IsToolbarShowing() const override;
91 void ShowUpdateChromeDialog() override {} 92 void ShowUpdateChromeDialog() override {}
92 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} 93 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {}
93 void ShowBookmarkAppBubble( 94 void ShowBookmarkAppBubble(
94 const WebApplicationInfo& web_app_info, 95 const WebApplicationInfo& web_app_info,
95 const ShowBookmarkAppBubbleCallback& callback) override {} 96 const ShowBookmarkAppBubbleCallback& callback) override {}
96 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( 97 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble(
97 content::WebContents* contents, 98 content::WebContents* contents,
98 autofill::SaveCardBubbleController* controller, 99 autofill::SaveCardBubbleController* controller,
99 bool user_gesture) override; 100 bool user_gesture) override;
100 ShowTranslateBubbleResult ShowTranslateBubble( 101 ShowTranslateBubbleResult ShowTranslateBubble(
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 198
198 namespace chrome { 199 namespace chrome {
199 200
200 // Helper that handle the lifetime of TestBrowserWindow instances. 201 // Helper that handle the lifetime of TestBrowserWindow instances.
201 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( 202 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams(
202 Browser::CreateParams* params); 203 Browser::CreateParams* params);
203 204
204 } // namespace chrome 205 } // namespace chrome
205 206
206 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 207 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/test/base/test_browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698