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

Unified Diff: chrome/browser/ui/views/extensions/native_app_window_views.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
Index: chrome/browser/ui/views/extensions/native_app_window_views.h
diff --git a/chrome/browser/ui/views/extensions/shell_window_views.h b/chrome/browser/ui/views/extensions/native_app_window_views.h
similarity index 85%
rename from chrome/browser/ui/views/extensions/shell_window_views.h
rename to chrome/browser/ui/views/extensions/native_app_window_views.h
index d58422b68fe579a44261c47a3808e3e39a9d3178..ac6d30c82a0ffe8e14d0e731c2867f68281e5a82 100644
--- a/chrome/browser/ui/views/extensions/shell_window_views.h
+++ b/chrome/browser/ui/views/extensions/native_app_window_views.h
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
-#define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
+#ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_NATIVE_APP_WINDOW_VIEWS_H_
+#define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_NATIVE_APP_WINDOW_VIEWS_H_
#include "chrome/browser/ui/base_window.h"
-#include "chrome/browser/ui/extensions/native_shell_window.h"
+#include "chrome/browser/ui/extensions/native_app_window.h"
#include "chrome/browser/ui/extensions/shell_window.h"
#include "chrome/browser/ui/views/unhandled_keyboard_event_handler.h"
#include "third_party/skia/include/core/SkRegion.h"
@@ -30,12 +30,12 @@ namespace views {
class WebView;
}
-class ShellWindowViews : public NativeShellWindow,
- public views::WidgetDelegateView,
- public views::WidgetObserver {
+class NativeAppWindowViews : public NativeAppWindow,
+ public views::WidgetDelegateView,
+ public views::WidgetObserver {
public:
- ShellWindowViews(ShellWindow* shell_window,
- const ShellWindow::CreateParams& params);
+ NativeAppWindowViews(ShellWindow* shell_window,
+ const ShellWindow::CreateParams& params);
bool frameless() const { return frameless_; }
SkRegion* draggable_region() { return draggable_region_.get(); }
@@ -110,9 +110,9 @@ class ShellWindowViews : public NativeShellWindow,
private:
friend class ShellWindowFrameView;
- virtual ~ShellWindowViews();
+ virtual ~NativeAppWindowViews();
- // NativeShellWindow implementation.
+ // NativeAppWindow implementation.
virtual void SetFullscreen(bool fullscreen) OVERRIDE;
virtual bool IsFullscreenOrPending() const OVERRIDE;
virtual void UpdateWindowIcon() OVERRIDE;
@@ -125,7 +125,7 @@ class ShellWindowViews : public NativeShellWindow,
void OnViewWasResized();
- ShellWindow* shell_window_; // weak - ShellWindow owns NativeShellWindow.
+ ShellWindow* shell_window_; // weak - ShellWindow owns NativeAppWindow.
views::WebView* web_view_;
views::Widget* window_;
@@ -142,7 +142,7 @@ class ShellWindowViews : public NativeShellWindow,
UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_;
- DISALLOW_COPY_AND_ASSIGN(ShellWindowViews);
+ DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews);
};
-#endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
+#endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_NATIVE_APP_WINDOW_VIEWS_H_
« no previous file with comments | « chrome/browser/ui/gtk/extensions/shell_window_gtk.cc ('k') | chrome/browser/ui/views/extensions/native_app_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698