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

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

Issue 4694008: Make pink's TabContentsWrapper change compile on Windows.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 #include "base/scoped_nsobject.h" 9 #include "base/scoped_nsobject.h"
10 #include "base/task.h" 10 #include "base/task.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual void UpdateLoadingAnimations(bool should_animate); 49 virtual void UpdateLoadingAnimations(bool should_animate);
50 virtual void SetStarredState(bool is_starred); 50 virtual void SetStarredState(bool is_starred);
51 virtual gfx::Rect GetRestoredBounds() const; 51 virtual gfx::Rect GetRestoredBounds() const;
52 virtual bool IsMaximized() const; 52 virtual bool IsMaximized() const;
53 virtual void SetFullscreen(bool fullscreen); 53 virtual void SetFullscreen(bool fullscreen);
54 virtual bool IsFullscreen() const; 54 virtual bool IsFullscreen() const;
55 virtual bool IsFullscreenBubbleVisible() const; 55 virtual bool IsFullscreenBubbleVisible() const;
56 virtual LocationBar* GetLocationBar() const; 56 virtual LocationBar* GetLocationBar() const;
57 virtual void SetFocusToLocationBar(bool select_all); 57 virtual void SetFocusToLocationBar(bool select_all);
58 virtual void UpdateReloadStopState(bool is_loading, bool force); 58 virtual void UpdateReloadStopState(bool is_loading, bool force);
59 virtual void UpdateToolbar(TabContents* contents, 59 virtual void UpdateToolbar(TabContentsWrapper* contents,
60 bool should_restore_state); 60 bool should_restore_state);
61 virtual void FocusToolbar(); 61 virtual void FocusToolbar();
62 virtual void FocusAppMenu(); 62 virtual void FocusAppMenu();
63 virtual void FocusBookmarksToolbar(); 63 virtual void FocusBookmarksToolbar();
64 virtual void FocusChromeOSStatus(); 64 virtual void FocusChromeOSStatus();
65 virtual void RotatePaneFocus(bool forwards); 65 virtual void RotatePaneFocus(bool forwards);
66 virtual bool IsBookmarkBarVisible() const; 66 virtual bool IsBookmarkBarVisible() const;
67 virtual bool IsBookmarkBarAnimating() const; 67 virtual bool IsBookmarkBarAnimating() const;
68 virtual bool IsToolbarVisible() const; 68 virtual bool IsToolbarVisible() const;
69 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, 69 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 void UpdateSidebarForContents(TabContents* tab_contents); 132 void UpdateSidebarForContents(TabContents* tab_contents);
133 133
134 NotificationRegistrar registrar_; 134 NotificationRegistrar registrar_;
135 Browser* browser_; // weak, owned by controller 135 Browser* browser_; // weak, owned by controller
136 BrowserWindowController* controller_; // weak, owns us 136 BrowserWindowController* controller_; // weak, owns us
137 ScopedRunnableMethodFactory<Browser> confirm_close_factory_; 137 ScopedRunnableMethodFactory<Browser> confirm_close_factory_;
138 scoped_nsobject<NSString> pending_window_title_; 138 scoped_nsobject<NSString> pending_window_title_;
139 }; 139 };
140 140
141 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ 141 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698