| Index: chrome/browser/ui/views/apps/native_app_window_views.h
|
| diff --git a/chrome/browser/ui/views/apps/native_app_window_views.h b/chrome/browser/ui/views/apps/native_app_window_views.h
|
| index 833393c08d4de3e0dde7776cec5dbd50dfc044a1..e238bd865f65ac7692490a570cccff1aba3a5946 100644
|
| --- a/chrome/browser/ui/views/apps/native_app_window_views.h
|
| +++ b/chrome/browser/ui/views/apps/native_app_window_views.h
|
| @@ -23,6 +23,10 @@
|
| class ExtensionKeybindingRegistryViews;
|
| class Profile;
|
|
|
| +namespace apps {
|
| +class ShellWindowFrameView;
|
| +}
|
| +
|
| namespace content {
|
| class RenderViewHost;
|
| class WebContents;
|
| @@ -45,9 +49,6 @@ class NativeAppWindowViews : public apps::NativeAppWindow,
|
| const apps::ShellWindow::CreateParams& params);
|
| virtual ~NativeAppWindowViews();
|
|
|
| - bool frameless() const { return frameless_; }
|
| - SkRegion* draggable_region() { return draggable_region_.get(); }
|
| -
|
| private:
|
| void InitializeDefaultWindow(
|
| const apps::ShellWindow::CreateParams& create_params);
|
| @@ -57,6 +58,9 @@ class NativeAppWindowViews : public apps::NativeAppWindow,
|
|
|
| bool ShouldUseChromeStyleFrame() const;
|
|
|
| + // Caller owns the returned object.
|
| + apps::ShellWindowFrameView* CreateShellWindowFrameView();
|
| +
|
| #if defined(OS_WIN)
|
| void OnShortcutInfoLoaded(
|
| const ShellIntegration::ShortcutInfo& shortcut_info);
|
| @@ -141,8 +145,10 @@ class NativeAppWindowViews : public apps::NativeAppWindow,
|
| virtual void UpdateInputRegion(scoped_ptr<SkRegion> region) OVERRIDE;
|
| virtual void UpdateDraggableRegions(
|
| const std::vector<extensions::DraggableRegion>& regions) OVERRIDE;
|
| + virtual SkRegion* GetDraggableRegion() OVERRIDE;
|
| virtual void HandleKeyboardEvent(
|
| const content::NativeWebKeyboardEvent& event) OVERRIDE;
|
| + virtual bool IsFrameless() const OVERRIDE;
|
| virtual gfx::Insets GetFrameInsets() const OVERRIDE;
|
| virtual bool IsVisible() const OVERRIDE;
|
| virtual void HideWithApp() OVERRIDE;
|
|
|