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

Side by Side Diff: chrome/browser/ui/views/extensions/shell_window_views.h

Issue 9254046: Custom frame UI for platform apps on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 11 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_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/extensions/shell_window.h" 9 #include "chrome/browser/ui/extensions/shell_window.h"
10 #include "chrome/browser/ui/views/extensions/extension_view.h" 10 #include "chrome/browser/ui/views/extensions/extension_view.h"
(...skipping 11 matching lines...) Expand all
22 virtual void Close() OVERRIDE; 22 virtual void Close() OVERRIDE;
23 23
24 // WidgetDelegate implementation. 24 // WidgetDelegate implementation.
25 virtual views::View* GetContentsView() OVERRIDE; 25 virtual views::View* GetContentsView() OVERRIDE;
26 virtual bool CanResize() const OVERRIDE; 26 virtual bool CanResize() const OVERRIDE;
27 virtual views::Widget* GetWidget() OVERRIDE; 27 virtual views::Widget* GetWidget() OVERRIDE;
28 virtual const views::Widget* GetWidget() const OVERRIDE; 28 virtual const views::Widget* GetWidget() const OVERRIDE;
29 virtual string16 GetWindowTitle() const OVERRIDE; 29 virtual string16 GetWindowTitle() const OVERRIDE;
30 virtual void DeleteDelegate() OVERRIDE; 30 virtual void DeleteDelegate() OVERRIDE;
31 31
32 // ExtensionView::Container implementation.
33 virtual void OnViewWasResized() OVERRIDE;
34
32 private: 35 private:
33 virtual ~ShellWindowViews(); 36 virtual ~ShellWindowViews();
34 37
35 views::Widget* window_; 38 views::Widget* window_;
36 39
37 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews); 40 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews);
38 }; 41 };
39 42
40 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ 43 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698