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

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

Issue 21107: Stub implementation of gtk browser window. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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
« no previous file with comments | « chrome/browser/browser_window_factory_gtk.cc ('k') | chrome/browser/browser_window_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_WINDOW_GTK_H_
7
8 #include "chrome/browser/browser_window.h"
9
10 typedef struct _GtkWindow GtkWindow;
11
12 // An implementation of BrowserWindow for GTK.
13 // Cross-platform code will interact with this object when
14 // it needs to manipulate the window.
15
16 class BrowserWindowGtk : public BrowserWindow {
17 public:
18 BrowserWindowGtk(Browser* browser);
19 virtual ~BrowserWindowGtk();
20
21 // Overridden from BrowserWindow
22 virtual void Init();
23 virtual void Show();
24 virtual void SetBounds(const gfx::Rect& bounds);
25 virtual void Close();
26 virtual void Activate();
27 virtual void FlashFrame();
28 virtual void* GetNativeHandle();
29 virtual BrowserWindowTesting* GetBrowserWindowTesting();
30 virtual StatusBubble* GetStatusBubble();
31 virtual void SelectedTabToolbarSizeChanged(bool is_animating);
32 virtual void UpdateTitleBar();
33 virtual void UpdateLoadingAnimations(bool should_animate);
34 virtual void SetStarredState(bool is_starred);
35 virtual gfx::Rect GetNormalBounds() const;
36 virtual bool IsMaximized();
37 virtual LocationBar* GetLocationBar() const;
38 virtual void UpdateStopGoState(bool is_loading);
39 virtual void UpdateToolbar(TabContents* contents,
40 bool should_restore_state);
41 virtual void FocusToolbar();
42 virtual bool IsBookmarkBarVisible() const;
43 virtual void ToggleBookmarkBar();
44 virtual void ShowAboutChromeDialog();
45 virtual void ShowBookmarkManager();
46 virtual bool IsBookmarkBubbleVisible() const;
47 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked);
48 virtual void ShowReportBugDialog();
49 virtual void ShowClearBrowsingDataDialog();
50 virtual void ShowImportDialog();
51 virtual void ShowSearchEnginesDialog();
52 virtual void ShowPasswordManager();
53 virtual void ShowSelectProfileDialog();
54 virtual void ShowNewProfileDialog();
55 virtual void ShowHTMLDialog(HtmlDialogContentsDelegate* delegate,
56 void* parent_window);
57
58 protected:
59 virtual void DestroyBrowser();
60 GtkWindow* window_;
61 Browser* browser_;
62 };
63
64 #endif // CHROME_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_window_factory_gtk.cc ('k') | chrome/browser/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698