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

Side by Side Diff: chrome/browser/ui/panels/panel_browser_window.h

Issue 10822004: Draggable region support for frameless app window on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 8 years, 4 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_PANELS_PANEL_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
7 7
8 #include "chrome/browser/ui/browser_window.h" 8 #include "chrome/browser/ui/browser_window.h"
9 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" 9 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
10 10
(...skipping 27 matching lines...) Expand all
38 virtual gfx::Rect GetBounds() const OVERRIDE; 38 virtual gfx::Rect GetBounds() const OVERRIDE;
39 virtual void Show() OVERRIDE; 39 virtual void Show() OVERRIDE;
40 virtual void ShowInactive() OVERRIDE; 40 virtual void ShowInactive() OVERRIDE;
41 virtual void Close() OVERRIDE; 41 virtual void Close() OVERRIDE;
42 virtual void Activate() OVERRIDE; 42 virtual void Activate() OVERRIDE;
43 virtual void Deactivate() OVERRIDE; 43 virtual void Deactivate() OVERRIDE;
44 virtual void Maximize() OVERRIDE; 44 virtual void Maximize() OVERRIDE;
45 virtual void Minimize() OVERRIDE; 45 virtual void Minimize() OVERRIDE;
46 virtual void Restore() OVERRIDE; 46 virtual void Restore() OVERRIDE;
47 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 47 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
48 virtual void SetDraggableRegion(SkRegion* region) OVERRIDE;
49 virtual void FlashFrame(bool flash) OVERRIDE; 48 virtual void FlashFrame(bool flash) OVERRIDE;
50 virtual bool IsAlwaysOnTop() const OVERRIDE; 49 virtual bool IsAlwaysOnTop() const OVERRIDE;
51 50
52 // BrowserWindow overrides. 51 // BrowserWindow overrides.
53 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; 52 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
54 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; 53 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE;
55 virtual StatusBubble* GetStatusBubble() OVERRIDE; 54 virtual StatusBubble* GetStatusBubble() OVERRIDE;
56 virtual void UpdateTitleBar() OVERRIDE; 55 virtual void UpdateTitleBar() OVERRIDE;
57 virtual void BookmarkBarStateChanged( 56 virtual void BookmarkBarStateChanged(
58 BookmarkBar::AnimateChangeType change_type) OVERRIDE; 57 BookmarkBar::AnimateChangeType change_type) OVERRIDE;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 Panel* panel_; // Weak pointer. Owns us. 167 Panel* panel_; // Weak pointer. Owns us.
169 168
170 // Platform specifc implementation for panels. It'd be one of 169 // Platform specifc implementation for panels. It'd be one of
171 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. 170 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa.
172 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). 171 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel).
173 172
174 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); 173 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow);
175 }; 174 };
176 175
177 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 176 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698