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

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

Issue 5273004: Add "create Application Shortcut" to the app menu on NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for commit. Created 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/switch_utils.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_TEST_BROWSER_WINDOW_H_ 5 #ifndef CHROME_TEST_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/browser_window.h" 9 #include "chrome/browser/browser_window.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual void FocusAppMenu() {} 51 virtual void FocusAppMenu() {}
52 virtual void FocusBookmarksToolbar() {} 52 virtual void FocusBookmarksToolbar() {}
53 virtual void FocusChromeOSStatus() {} 53 virtual void FocusChromeOSStatus() {}
54 virtual void RotatePaneFocus(bool forwards) {} 54 virtual void RotatePaneFocus(bool forwards) {}
55 virtual void ShowAppMenu() {} 55 virtual void ShowAppMenu() {}
56 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 56 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
57 bool* is_keyboard_shortcut) { 57 bool* is_keyboard_shortcut) {
58 return false; 58 return false;
59 } 59 }
60 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} 60 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {}
61 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents) {} 61 virtual void ShowCreateWebAppShortcutsDialog(TabContents* tab_contents) {}
62 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile,
63 const Extension* app) {}
62 #if defined(TOOLKIT_VIEWS) 64 #if defined(TOOLKIT_VIEWS)
63 virtual void ToggleCompactNavigationBar() {} 65 virtual void ToggleCompactNavigationBar() {}
64 #endif // defined(TOOLKIT_VIEWS) 66 #endif // defined(TOOLKIT_VIEWS)
65 67
66 virtual bool IsBookmarkBarVisible() const { return false; } 68 virtual bool IsBookmarkBarVisible() const { return false; }
67 virtual bool IsBookmarkBarAnimating() const { return false; } 69 virtual bool IsBookmarkBarAnimating() const { return false; }
68 virtual bool IsToolbarVisible() const { return false; } 70 virtual bool IsToolbarVisible() const { return false; }
69 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, 71 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
70 Profile* profile) {} 72 Profile* profile) {}
71 virtual void ToggleBookmarkBar() {} 73 virtual void ToggleBookmarkBar() {}
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 protected: 112 protected:
111 virtual void DestroyBrowser() {} 113 virtual void DestroyBrowser() {}
112 114
113 private: 115 private:
114 TestLocationBar location_bar_; 116 TestLocationBar location_bar_;
115 117
116 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 118 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
117 }; 119 };
118 120
119 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ 121 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/common/switch_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698