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

Side by Side Diff: chrome/browser/cocoa/browser_window_cocoa.h

Issue 244003: Kiosk Mode implementation (Closed)
Patch Set: Finally fix MACOSX Created 11 years, 1 month 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
« no previous file with comments | « chrome/browser/browser_window.h ('k') | chrome/browser/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 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 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_COCOA_BROWSER_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_
7 7
8 #include "chrome/browser/browser_window.h" 8 #include "chrome/browser/browser_window.h"
9 #include "chrome/browser/bookmarks/bookmark_model.h" 9 #include "chrome/browser/bookmarks/bookmark_model.h"
10 #include "chrome/common/notification_registrar.h" 10 #include "chrome/common/notification_registrar.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual void UpdateTitleBar(); 42 virtual void UpdateTitleBar();
43 virtual void ShelfVisibilityChanged(); 43 virtual void ShelfVisibilityChanged();
44 virtual void UpdateDevTools(); 44 virtual void UpdateDevTools();
45 virtual void FocusDevTools(); 45 virtual void FocusDevTools();
46 virtual void UpdateLoadingAnimations(bool should_animate); 46 virtual void UpdateLoadingAnimations(bool should_animate);
47 virtual void SetStarredState(bool is_starred); 47 virtual void SetStarredState(bool is_starred);
48 virtual gfx::Rect GetRestoredBounds() const; 48 virtual gfx::Rect GetRestoredBounds() const;
49 virtual bool IsMaximized() const; 49 virtual bool IsMaximized() const;
50 virtual void SetFullscreen(bool fullscreen); 50 virtual void SetFullscreen(bool fullscreen);
51 virtual bool IsFullscreen() const; 51 virtual bool IsFullscreen() const;
52 virtual bool IsFullscreenBubbleVisible() const;
52 virtual LocationBar* GetLocationBar() const; 53 virtual LocationBar* GetLocationBar() const;
53 virtual void SetFocusToLocationBar(); 54 virtual void SetFocusToLocationBar();
54 virtual void UpdateStopGoState(bool is_loading, bool force); 55 virtual void UpdateStopGoState(bool is_loading, bool force);
55 virtual void UpdateToolbar(TabContents* contents, 56 virtual void UpdateToolbar(TabContents* contents,
56 bool should_restore_state); 57 bool should_restore_state);
57 virtual void FocusToolbar(); 58 virtual void FocusToolbar();
58 virtual bool IsBookmarkBarVisible() const; 59 virtual bool IsBookmarkBarVisible() const;
59 virtual bool IsToolbarVisible() const; 60 virtual bool IsToolbarVisible() const;
60 virtual gfx::Rect GetRootWindowResizerRect() const; 61 virtual gfx::Rect GetRootWindowResizerRect() const;
61 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, 62 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 virtual void DestroyBrowser(); 108 virtual void DestroyBrowser();
108 109
109 private: 110 private:
110 NotificationRegistrar registrar_; 111 NotificationRegistrar registrar_;
111 NSWindow* window_; // weak, owned by controller 112 NSWindow* window_; // weak, owned by controller
112 Browser* browser_; // weak, owned by controller 113 Browser* browser_; // weak, owned by controller
113 BrowserWindowController* controller_; // weak, owns us 114 BrowserWindowController* controller_; // weak, owns us
114 }; 115 };
115 116
116 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ 117 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_window.h ('k') | chrome/browser/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698