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

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

Issue 13139004: Deprecate Browser::TYPE_PANEL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 8 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_COCOA_BROWSER_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
7 7
8 #include "base/memory/scoped_nsobject.h" 8 #include "base/memory/scoped_nsobject.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/bookmarks/bookmark_model.h" 10 #include "chrome/browser/bookmarks/bookmark_model.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 bool should_restore_state) OVERRIDE; 82 bool should_restore_state) OVERRIDE;
83 virtual void FocusToolbar() OVERRIDE; 83 virtual void FocusToolbar() OVERRIDE;
84 virtual void FocusAppMenu() OVERRIDE; 84 virtual void FocusAppMenu() OVERRIDE;
85 virtual void FocusBookmarksToolbar() OVERRIDE; 85 virtual void FocusBookmarksToolbar() OVERRIDE;
86 virtual void RotatePaneFocus(bool forwards) OVERRIDE; 86 virtual void RotatePaneFocus(bool forwards) OVERRIDE;
87 virtual bool IsBookmarkBarVisible() const OVERRIDE; 87 virtual bool IsBookmarkBarVisible() const OVERRIDE;
88 virtual bool IsBookmarkBarAnimating() const OVERRIDE; 88 virtual bool IsBookmarkBarAnimating() const OVERRIDE;
89 virtual bool IsTabStripEditable() const OVERRIDE; 89 virtual bool IsTabStripEditable() const OVERRIDE;
90 virtual bool IsToolbarVisible() const OVERRIDE; 90 virtual bool IsToolbarVisible() const OVERRIDE;
91 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; 91 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
92 virtual bool IsPanel() const OVERRIDE;
93 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, 92 virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
94 Profile* profile) OVERRIDE; 93 Profile* profile) OVERRIDE;
95 virtual void ToggleBookmarkBar() OVERRIDE; 94 virtual void ToggleBookmarkBar() OVERRIDE;
96 virtual void ShowUpdateChromeDialog() OVERRIDE; 95 virtual void ShowUpdateChromeDialog() OVERRIDE;
97 virtual void ShowBookmarkBubble(const GURL& url, 96 virtual void ShowBookmarkBubble(const GURL& url,
98 bool already_bookmarked) OVERRIDE; 97 bool already_bookmarked) OVERRIDE;
99 virtual void ShowChromeToMobileBubble() OVERRIDE; 98 virtual void ShowChromeToMobileBubble() OVERRIDE;
100 #if defined(ENABLE_ONE_CLICK_SIGNIN) 99 #if defined(ENABLE_ONE_CLICK_SIGNIN)
101 virtual void ShowOneClickSigninBubble( 100 virtual void ShowOneClickSigninBubble(
102 OneClickSigninBubbleType type, 101 OneClickSigninBubbleType type,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 163
165 Browser* browser_; // weak, owned by controller 164 Browser* browser_; // weak, owned by controller
166 BrowserWindowController* controller_; // weak, owns us 165 BrowserWindowController* controller_; // weak, owns us
167 base::WeakPtrFactory<Browser> confirm_close_factory_; 166 base::WeakPtrFactory<Browser> confirm_close_factory_;
168 scoped_nsobject<NSString> pending_window_title_; 167 scoped_nsobject<NSString> pending_window_title_;
169 ui::WindowShowState initial_show_state_; 168 ui::WindowShowState initial_show_state_;
170 NSInteger attention_request_id_; // identifier from requestUserAttention 169 NSInteger attention_request_id_; // identifier from requestUserAttention
171 }; 170 };
172 171
173 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 172 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698