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

Side by Side Diff: chrome/browser/ui/browser_window.h

Issue 10920084: don't display platform app resources in normal browser windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: self review Created 8 years, 2 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
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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "chrome/browser/lifetime/application_lifetime.h" 9 #include "chrome/browser/lifetime/application_lifetime.h"
10 #include "chrome/browser/ui/base_window.h" 10 #include "chrome/browser/ui/base_window.h"
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 298
299 // Allows the BrowserWindow object to handle the specified keyboard event, 299 // Allows the BrowserWindow object to handle the specified keyboard event,
300 // if the renderer did not process it. 300 // if the renderer did not process it.
301 virtual void HandleKeyboardEvent( 301 virtual void HandleKeyboardEvent(
302 const content::NativeWebKeyboardEvent& event) = 0; 302 const content::NativeWebKeyboardEvent& event) = 0;
303 303
304 // Shows the create chrome app shortcut dialog box. 304 // Shows the create chrome app shortcut dialog box.
305 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, 305 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile,
306 const extensions::Extension* app) = 0; 306 const extensions::Extension* app) = 0;
307 307
308
309 // Clipboard commands applied to the whole browser window. 308 // Clipboard commands applied to the whole browser window.
310 virtual void Cut() = 0; 309 virtual void Cut() = 0;
311 virtual void Copy() = 0; 310 virtual void Copy() = 0;
312 virtual void Paste() = 0; 311 virtual void Paste() = 0;
313 312
314 #if defined(OS_MACOSX) 313 #if defined(OS_MACOSX)
315 // Opens the tabpose view. 314 // Opens the tabpose view.
316 virtual void OpenTabpose() = 0; 315 virtual void OpenTabpose() = 0;
317 316
318 // Sets the presentation mode for the window. If the window is not already in 317 // Sets the presentation mode for the window. If the window is not already in
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 411
413 // Returns the ToolbarView. 412 // Returns the ToolbarView.
414 virtual ToolbarView* GetToolbarView() const = 0; 413 virtual ToolbarView* GetToolbarView() const = 0;
415 #endif 414 #endif
416 415
417 protected: 416 protected:
418 virtual ~BrowserWindowTesting() {} 417 virtual ~BrowserWindowTesting() {}
419 }; 418 };
420 419
421 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 420 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698