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

Unified Diff: chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h

Issue 229343004: Revert 262516 "Remove title and icon from chrome apps native style title bars." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
Index: chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h
diff --git a/chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h b/chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h
index ed824e5ee7442914768600167b38af3ea99a435a..d665eda24fa3b0e19c8288cdd4854b8b7ac15216 100644
--- a/chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h
+++ b/chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h
@@ -8,18 +8,12 @@
#include "chrome/browser/shell_integration.h"
#include "chrome/browser/ui/views/apps/chrome_native_app_window_views.h"
-class GlassAppWindowFrameViewWin;
-
// Windows-specific parts of the views-backed native shell window implementation
// for packaged apps.
class ChromeNativeAppWindowViewsWin : public ChromeNativeAppWindowViews {
public:
ChromeNativeAppWindowViewsWin();
- GlassAppWindowFrameViewWin* glass_frame_view() {
- return glass_frame_view_;
- };
-
private:
void ActivateParentDesktopIfNecessary();
@@ -33,8 +27,6 @@ class ChromeNativeAppWindowViewsWin : public ChromeNativeAppWindowViews {
views::Widget* widget) OVERRIDE;
virtual void InitializeDefaultWindow(
const apps::AppWindow::CreateParams& create_params) OVERRIDE;
- virtual views::NonClientFrameView* CreateStandardDesktopAppFrame() OVERRIDE;
- virtual apps::AppWindowFrameView* CreateNonStandardAppFrame() OVERRIDE;
// Overridden from ui::BaseWindow:
virtual void Show() OVERRIDE;
@@ -45,12 +37,6 @@ class ChromeNativeAppWindowViewsWin : public ChromeNativeAppWindowViews {
base::WeakPtrFactory<ChromeNativeAppWindowViewsWin> weak_ptr_factory_;
- // Populated if there is a glass frame, which provides special information
- // to the native widget implementation. This will be NULL if there is no
- // glass frame. Note, this can change from NULL to non-NULL and back again
- // throughout the life of a window, e.g. if DWM is enabled and disabled.
- GlassAppWindowFrameViewWin* glass_frame_view_;
-
// The Windows Application User Model ID identifying the app.
base::string16 app_model_id_;

Powered by Google App Engine
This is Rietveld 408576698