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

Side by Side Diff: chrome/browser/browser_window.h

Issue 42190: Linux accelerators cleanup (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_BROWSER_WINDOW_H_
7 7
8 #include "base/gfx/native_widget_types.h"
9
8 class Browser; 10 class Browser;
9 class BrowserList; 11 class BrowserList;
10 class BrowserWindowTesting; 12 class BrowserWindowTesting;
11 class GURL; 13 class GURL;
12 class LocationBar; 14 class LocationBar;
13 class HtmlDialogContentsDelegate; 15 class HtmlDialogContentsDelegate;
14 class Profile; 16 class Profile;
15 class StatusBubble; 17 class StatusBubble;
16 class TabContents; 18 class TabContents;
17 19
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // state if necessary. 51 // state if necessary.
50 virtual void Activate() = 0; 52 virtual void Activate() = 0;
51 53
52 // Returns true if the window is currently the active/focused window. 54 // Returns true if the window is currently the active/focused window.
53 virtual bool IsActive() const = 0; 55 virtual bool IsActive() const = 0;
54 56
55 // Flashes the taskbar item associated with this frame. 57 // Flashes the taskbar item associated with this frame.
56 virtual void FlashFrame() = 0; 58 virtual void FlashFrame() = 0;
57 59
58 // Return a platform dependent identifier for this frame. On Windows, this 60 // Return a platform dependent identifier for this frame. On Windows, this
59 // returns an HWND. DO NOT USE IN CROSS PLATFORM CODE. 61 // returns an HWND.
60 virtual void* GetNativeHandle() = 0; 62 virtual gfx::NativeWindow GetNativeHandle() = 0;
61 63
62 // Returns a pointer to the testing interface to the Browser window, or NULL 64 // Returns a pointer to the testing interface to the Browser window, or NULL
63 // if there is none. 65 // if there is none.
64 virtual BrowserWindowTesting* GetBrowserWindowTesting() = 0; 66 virtual BrowserWindowTesting* GetBrowserWindowTesting() = 0;
65 67
66 // Return the status bubble associated with the frame 68 // Return the status bubble associated with the frame
67 virtual StatusBubble* GetStatusBubble() = 0; 69 virtual StatusBubble* GetStatusBubble() = 0;
68 70
69 // Inform the receiving frame that an animation has progressed in the 71 // Inform the receiving frame that an animation has progressed in the
70 // selected tab. 72 // selected tab.
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 // all. Both out arguments are required. 203 // all. Both out arguments are required.
202 // 204 //
203 // This is used for UI tests of the find bar. If the find bar is not currently 205 // This is used for UI tests of the find bar. If the find bar is not currently
204 // shown (return value of false), the out params will be {(0, 0), false}. 206 // shown (return value of false), the out params will be {(0, 0), false}.
205 virtual bool GetFindBarWindowInfo(gfx::Point* position, 207 virtual bool GetFindBarWindowInfo(gfx::Point* position,
206 bool* fully_visible) const = 0; 208 bool* fully_visible) const = 0;
207 #endif 209 #endif
208 }; 210 };
209 211
210 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ 212 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698