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

Unified Diff: apps/ui/views/app_window_frame_view.h

Issue 166573005: Rename apps::ShellWindow to apps::AppWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, nits (rename) Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « apps/ui/native_app_window.h ('k') | apps/ui/views/app_window_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/ui/views/app_window_frame_view.h
diff --git a/apps/ui/views/shell_window_frame_view.h b/apps/ui/views/app_window_frame_view.h
similarity index 83%
rename from apps/ui/views/shell_window_frame_view.h
rename to apps/ui/views/app_window_frame_view.h
index 31b78579d661f4a50c9085e4489c966a77898e48..13fa4026c8fb988bc622583b2517a3c3b28c0932 100644
--- a/apps/ui/views/shell_window_frame_view.h
+++ b/apps/ui/views/app_window_frame_view.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef APPS_UI_VIEWS_SHELL_WINDOW_FRAME_VIEW_H_
-#define APPS_UI_VIEWS_SHELL_WINDOW_FRAME_VIEW_H_
+#ifndef APPS_UI_VIEWS_APP_WINDOW_FRAME_VIEW_H_
+#define APPS_UI_VIEWS_APP_WINDOW_FRAME_VIEW_H_
#include <string>
@@ -32,13 +32,13 @@ namespace apps {
class NativeAppWindow;
// A frameless or non-Ash, non-panel NonClientFrameView for app windows.
-class ShellWindowFrameView : public views::NonClientFrameView,
- public views::ButtonListener {
+class AppWindowFrameView : public views::NonClientFrameView,
+ public views::ButtonListener {
public:
static const char kViewClassName[];
- explicit ShellWindowFrameView(NativeAppWindow* window);
- virtual ~ShellWindowFrameView();
+ explicit AppWindowFrameView(NativeAppWindow* window);
+ virtual ~AppWindowFrameView();
// Initializes this for the window |frame|. Sets the number of pixels for
// which a click is interpreted as a resize for the inner and outer border of
@@ -70,8 +70,8 @@ class ShellWindowFrameView : public views::NonClientFrameView,
virtual gfx::Size GetMaximumSize() OVERRIDE;
// views::ButtonListener implementation.
- virtual void ButtonPressed(views::Button* sender, const ui::Event& event)
- OVERRIDE;
+ virtual void ButtonPressed(views::Button* sender,
+ const ui::Event& event) OVERRIDE;
NativeAppWindow* window_;
views::Widget* frame_;
@@ -89,9 +89,9 @@ class ShellWindowFrameView : public views::NonClientFrameView,
// Size in pixels of the lower-right corner resize handle.
int resize_area_corner_size_;
- DISALLOW_COPY_AND_ASSIGN(ShellWindowFrameView);
+ DISALLOW_COPY_AND_ASSIGN(AppWindowFrameView);
};
} // namespace apps
-#endif // APPS_UI_VIEWS_SHELL_WINDOW_FRAME_VIEW_H_
+#endif // APPS_UI_VIEWS_APP_WINDOW_FRAME_VIEW_H_
« no previous file with comments | « apps/ui/native_app_window.h ('k') | apps/ui/views/app_window_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698