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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.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
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_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 class EncodingMenuModel; 49 class EncodingMenuModel;
50 class FullscreenExitBubble; 50 class FullscreenExitBubble;
51 class HtmlDialogUIDelegate; 51 class HtmlDialogUIDelegate;
52 class InfoBarContainer; 52 class InfoBarContainer;
53 class LocationBarView; 53 class LocationBarView;
54 class SideTabStrip; 54 class SideTabStrip;
55 class StatusBubbleViews; 55 class StatusBubbleViews;
56 class TabStripModel; 56 class TabStripModel;
57 class ToolbarView; 57 class ToolbarView;
58 class ZoomMenuModel; 58 class ZoomMenuModel;
59 class Extension;
59 60
60 #if defined(OS_WIN) 61 #if defined(OS_WIN)
61 class AeroPeekManager; 62 class AeroPeekManager;
62 class JumpList; 63 class JumpList;
63 #endif 64 #endif
64 65
65 namespace views { 66 namespace views {
66 class ExternalFocusTracker; 67 class ExternalFocusTracker;
67 class Menu; 68 class Menu;
68 class SingleSplitView; 69 class SingleSplitView;
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 virtual int GetExtraRenderViewHeight() const; 309 virtual int GetExtraRenderViewHeight() const;
309 virtual void TabContentsFocused(TabContents* source); 310 virtual void TabContentsFocused(TabContents* source);
310 virtual void ShowPageInfo(Profile* profile, 311 virtual void ShowPageInfo(Profile* profile,
311 const GURL& url, 312 const GURL& url,
312 const NavigationEntry::SSLStatus& ssl, 313 const NavigationEntry::SSLStatus& ssl,
313 bool show_history); 314 bool show_history);
314 virtual void ShowAppMenu(); 315 virtual void ShowAppMenu();
315 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 316 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
316 bool* is_keyboard_shortcut); 317 bool* is_keyboard_shortcut);
317 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 318 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
318 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents); 319 virtual void ShowCreateWebAppShortcutsDialog(TabContents* tab_contents);
320 virtual void ShowCreateChromeAppShortcutsDialog(Profile*,
321 const Extension* app);
319 virtual void Cut(); 322 virtual void Cut();
320 virtual void Copy(); 323 virtual void Copy();
321 virtual void Paste(); 324 virtual void Paste();
322 virtual void ToggleTabStripMode(); 325 virtual void ToggleTabStripMode();
323 virtual void PrepareForInstant(); 326 virtual void PrepareForInstant();
324 virtual void ShowInstant(TabContents* preview_contents); 327 virtual void ShowInstant(TabContents* preview_contents);
325 virtual void HideInstant(); 328 virtual void HideInstant();
326 virtual gfx::Rect GetInstantBounds(); 329 virtual gfx::Rect GetInstantBounds();
327 330
328 // Overridden from BrowserWindowTesting: 331 // Overridden from BrowserWindowTesting:
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; 654 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_;
652 655
653 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; 656 scoped_ptr<AccessibleViewHelper> accessible_view_helper_;
654 657
655 NotificationRegistrar registrar_; 658 NotificationRegistrar registrar_;
656 659
657 DISALLOW_COPY_AND_ASSIGN(BrowserView); 660 DISALLOW_COPY_AND_ASSIGN(BrowserView);
658 }; 661 };
659 662
660 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 663 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/create_application_shortcut_view.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698