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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_cocoa.h

Issue 10699057: Move application creation and extension install prompt showing off Browser and onto ExtensionTabHel… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('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_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_nsobject.h" 9 #include "base/memory/scoped_nsobject.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 TabContents* tab_contents, 117 TabContents* tab_contents,
118 const GURL& url, 118 const GURL& url,
119 const content::SSLStatus& ssl, 119 const content::SSLStatus& ssl,
120 bool show_history) OVERRIDE; 120 bool show_history) OVERRIDE;
121 virtual void ShowAppMenu() OVERRIDE; 121 virtual void ShowAppMenu() OVERRIDE;
122 virtual bool PreHandleKeyboardEvent( 122 virtual bool PreHandleKeyboardEvent(
123 const content::NativeWebKeyboardEvent& event, 123 const content::NativeWebKeyboardEvent& event,
124 bool* is_keyboard_shortcut) OVERRIDE; 124 bool* is_keyboard_shortcut) OVERRIDE;
125 virtual void HandleKeyboardEvent( 125 virtual void HandleKeyboardEvent(
126 const content::NativeWebKeyboardEvent& event) OVERRIDE; 126 const content::NativeWebKeyboardEvent& event) OVERRIDE;
127 virtual void ShowCreateWebAppShortcutsDialog(
128 TabContents* tab_contents) OVERRIDE;
129 virtual void ShowCreateChromeAppShortcutsDialog( 127 virtual void ShowCreateChromeAppShortcutsDialog(
130 Profile* profile, 128 Profile* profile,
131 const extensions::Extension* app) OVERRIDE; 129 const extensions::Extension* app) OVERRIDE;
132 virtual void Cut() OVERRIDE; 130 virtual void Cut() OVERRIDE;
133 virtual void Copy() OVERRIDE; 131 virtual void Copy() OVERRIDE;
134 virtual void Paste() OVERRIDE; 132 virtual void Paste() OVERRIDE;
135 virtual void OpenTabpose() OVERRIDE; 133 virtual void OpenTabpose() OVERRIDE;
136 virtual void EnterPresentationMode( 134 virtual void EnterPresentationMode(
137 const GURL& url, 135 const GURL& url,
138 FullscreenExitBubbleType bubble_type) OVERRIDE; 136 FullscreenExitBubbleType bubble_type) OVERRIDE;
(...skipping 30 matching lines...) Expand all
169 PrefChangeRegistrar pref_change_registrar_; 167 PrefChangeRegistrar pref_change_registrar_;
170 Browser* browser_; // weak, owned by controller 168 Browser* browser_; // weak, owned by controller
171 BrowserWindowController* controller_; // weak, owns us 169 BrowserWindowController* controller_; // weak, owns us
172 base::WeakPtrFactory<Browser> confirm_close_factory_; 170 base::WeakPtrFactory<Browser> confirm_close_factory_;
173 scoped_nsobject<NSString> pending_window_title_; 171 scoped_nsobject<NSString> pending_window_title_;
174 ui::WindowShowState initial_show_state_; 172 ui::WindowShowState initial_show_state_;
175 NSInteger attention_request_id_; // identifier from requestUserAttention 173 NSInteger attention_request_id_; // identifier from requestUserAttention
176 }; 174 };
177 175
178 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 176 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698