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

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: Polish 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_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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 479 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
478 480
479 // The model that tracks the paint state of the arrow for the infobar 481 // The model that tracks the paint state of the arrow for the infobar
480 // directly below the toolbar. 482 // directly below the toolbar.
481 InfoBarArrowModel infobar_arrow_model_; 483 InfoBarArrowModel infobar_arrow_model_;
482 484
483 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 485 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
484 }; 486 };
485 487
486 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 488 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698