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

Side by Side Diff: chrome/browser/ui/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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "chrome/browser/lifetime/application_lifetime.h" 9 #include "chrome/browser/lifetime/application_lifetime.h"
10 #include "chrome/browser/ui/base_window.h" 10 #include "chrome/browser/ui/base_window.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // events are still fired) until the drag ends, then close. This assumes 79 // events are still fired) until the drag ends, then close. This assumes
80 // that the Browser is not immediately destroyed, but will be eventually 80 // that the Browser is not immediately destroyed, but will be eventually
81 // destroyed by other means (eg, the tab strip going to zero elements). 81 // destroyed by other means (eg, the tab strip going to zero elements).
82 // Bad things happen if the Browser dtor is called directly as a result of 82 // Bad things happen if the Browser dtor is called directly as a result of
83 // invoking this method. 83 // invoking this method.
84 // virtual void Close() = 0; 84 // virtual void Close() = 0;
85 85
86 // Browser::OnWindowDidShow should be called after showing the window. 86 // Browser::OnWindowDidShow should be called after showing the window.
87 // virtual void Show() = 0; 87 // virtual void Show() = 0;
88 88
89 // No BrowserWindow supports this BaseWindow function.
90 virtual void SetDraggableRegion(SkRegion* region) OVERRIDE {}
91
92 ////////////////////////////////////////////////////////////////////////////// 89 //////////////////////////////////////////////////////////////////////////////
93 // Browser specific methods: 90 // Browser specific methods:
94 91
95 // Returns a pointer to the testing interface to the Browser window, or NULL 92 // Returns a pointer to the testing interface to the Browser window, or NULL
96 // if there is none. 93 // if there is none.
97 virtual BrowserWindowTesting* GetBrowserWindowTesting() = 0; 94 virtual BrowserWindowTesting* GetBrowserWindowTesting() = 0;
98 95
99 // Return the status bubble associated with the frame 96 // Return the status bubble associated with the frame
100 virtual StatusBubble* GetStatusBubble() = 0; 97 virtual StatusBubble* GetStatusBubble() = 0;
101 98
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 410
414 // Returns the ToolbarView. 411 // Returns the ToolbarView.
415 virtual ToolbarView* GetToolbarView() const = 0; 412 virtual ToolbarView* GetToolbarView() const = 0;
416 #endif 413 #endif
417 414
418 protected: 415 protected:
419 virtual ~BrowserWindowTesting() {} 416 virtual ~BrowserWindowTesting() {}
420 }; 417 };
421 418
422 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 419 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698