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

Side by Side Diff: chrome/browser/gtk/browser_window_gtk.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/browser/extensions/extension_prefs.cc ('k') | chrome/browser/gtk/browser_window_gtk.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) 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_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 virtual int GetExtraRenderViewHeight() const; 112 virtual int GetExtraRenderViewHeight() const;
113 virtual void TabContentsFocused(TabContents* tab_contents); 113 virtual void TabContentsFocused(TabContents* tab_contents);
114 virtual void ShowPageInfo(Profile* profile, 114 virtual void ShowPageInfo(Profile* profile,
115 const GURL& url, 115 const GURL& url,
116 const NavigationEntry::SSLStatus& ssl, 116 const NavigationEntry::SSLStatus& ssl,
117 bool show_history); 117 bool show_history);
118 virtual void ShowAppMenu(); 118 virtual void ShowAppMenu();
119 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 119 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
120 bool* is_keyboard_shortcut); 120 bool* is_keyboard_shortcut);
121 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 121 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
122 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents); 122 virtual void ShowCreateWebAppShortcutsDialog(TabContents* tab_contents);
123 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile,
124 const Extension* app);
123 virtual void Cut(); 125 virtual void Cut();
124 virtual void Copy(); 126 virtual void Copy();
125 virtual void Paste(); 127 virtual void Paste();
126 virtual void ToggleTabStripMode() {} 128 virtual void ToggleTabStripMode() {}
127 virtual void PrepareForInstant(); 129 virtual void PrepareForInstant();
128 virtual void ShowInstant(TabContents* preview_contents); 130 virtual void ShowInstant(TabContents* preview_contents);
129 virtual void HideInstant(); 131 virtual void HideInstant();
130 virtual gfx::Rect GetInstantBounds(); 132 virtual gfx::Rect GetInstantBounds();
131 133
132 // Overridden from NotificationObserver: 134 // Overridden from NotificationObserver:
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 484 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
483 485
484 // The model that tracks the paint state of the arrow for the infobar 486 // The model that tracks the paint state of the arrow for the infobar
485 // directly below the toolbar. 487 // directly below the toolbar.
486 InfoBarArrowModel infobar_arrow_model_; 488 InfoBarArrowModel infobar_arrow_model_;
487 489
488 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 490 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
489 }; 491 };
490 492
491 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 493 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_prefs.cc ('k') | chrome/browser/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698