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

Unified Diff: chrome/browser/ui/extensions/native_shell_window.h

Issue 11280173: Rename ShellWindow* classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge fix Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/extensions/native_app_window.h ('k') | chrome/browser/ui/extensions/shell_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/extensions/native_shell_window.h
diff --git a/chrome/browser/ui/extensions/native_shell_window.h b/chrome/browser/ui/extensions/native_shell_window.h
deleted file mode 100644
index 793bf0da7aebd7c1b33889af78e796c222c18926..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/extensions/native_shell_window.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_EXTENSIONS_NATIVE_SHELL_WINDOW_H_
-#define CHROME_BROWSER_UI_EXTENSIONS_NATIVE_SHELL_WINDOW_H_
-
-#include "chrome/browser/ui/extensions/shell_window.h"
-#include "chrome/browser/ui/base_window.h"
-
-// This is an interface to a native implementation of a shell window, used for
-// new-style packaged apps. Shell windows contain a web contents, but no tabs
-// or URL bar.
-class NativeShellWindow : public BaseWindow {
- public:
- // Used by ShellWindow to instantiate the platform-specific ShellWindow code.
- static NativeShellWindow* Create(ShellWindow* window,
- const ShellWindow::CreateParams& params);
-
- // Called when the draggable regions are changed.
- virtual void UpdateDraggableRegions(
- const std::vector<extensions::DraggableRegion>& regions) = 0;
-
- virtual void SetFullscreen(bool fullscreen) = 0;
- virtual bool IsFullscreenOrPending() const = 0;
-
- // Called when the icon of the window changes.
- virtual void UpdateWindowIcon() = 0;
-
- // Called when the title of the window changes.
- virtual void UpdateWindowTitle() = 0;
-
- // Allows the window to handle unhandled keyboard messages coming back from
- // the renderer.
- virtual void HandleKeyboardEvent(
- const content::NativeWebKeyboardEvent& event) = 0;
-
- // TODO(jianli): once http://crbug.com/123007 is fixed, we'll no longer need
- // this.
- virtual void RenderViewHostChanged() = 0;
-
- virtual ~NativeShellWindow() {}
-};
-
-#endif // CHROME_BROWSER_UI_EXTENSIONS_NATIVE_SHELL_WINDOW_H_
« no previous file with comments | « chrome/browser/ui/extensions/native_app_window.h ('k') | chrome/browser/ui/extensions/shell_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698