Chromium Code Reviews

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

Issue 5701008: Fixes bug in instant that resulted in flickery fade. The problem would (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: Adds content to 403.html as bots seem to have problem with empty file Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/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) 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_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 #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 92 matching lines...)
103 virtual void ShowCreateWebAppShortcutsDialog(TabContents* tab_contents); 103 virtual void ShowCreateWebAppShortcutsDialog(TabContents* tab_contents);
104 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, 104 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile,
105 const Extension* app); 105 const Extension* app);
106 virtual void Cut(); 106 virtual void Cut();
107 virtual void Copy(); 107 virtual void Copy();
108 virtual void Paste(); 108 virtual void Paste();
109 virtual void ToggleTabStripMode(); 109 virtual void ToggleTabStripMode();
110 virtual void OpenTabpose(); 110 virtual void OpenTabpose();
111 virtual void PrepareForInstant(); 111 virtual void PrepareForInstant();
112 virtual void ShowInstant(TabContents* preview_contents); 112 virtual void ShowInstant(TabContents* preview_contents);
113 virtual void HideInstant(); 113 virtual void HideInstant(bool instant_is_active);
114 virtual gfx::Rect GetInstantBounds(); 114 virtual gfx::Rect GetInstantBounds();
115 115
116 // Overridden from NotificationObserver 116 // Overridden from NotificationObserver
117 virtual void Observe(NotificationType type, 117 virtual void Observe(NotificationType type,
118 const NotificationSource& source, 118 const NotificationSource& source,
119 const NotificationDetails& details); 119 const NotificationDetails& details);
120 120
121 // Adds the given FindBar cocoa controller to this browser window. 121 // Adds the given FindBar cocoa controller to this browser window.
122 void AddFindBar(FindBarCocoaController* find_bar_cocoa_controller); 122 void AddFindBar(FindBarCocoaController* find_bar_cocoa_controller);
123 123
(...skipping 10 matching lines...)
134 void UpdateSidebarForContents(TabContents* tab_contents); 134 void UpdateSidebarForContents(TabContents* tab_contents);
135 135
136 NotificationRegistrar registrar_; 136 NotificationRegistrar registrar_;
137 Browser* browser_; // weak, owned by controller 137 Browser* browser_; // weak, owned by controller
138 BrowserWindowController* controller_; // weak, owns us 138 BrowserWindowController* controller_; // weak, owns us
139 ScopedRunnableMethodFactory<Browser> confirm_close_factory_; 139 ScopedRunnableMethodFactory<Browser> confirm_close_factory_;
140 scoped_nsobject<NSString> pending_window_title_; 140 scoped_nsobject<NSString> pending_window_title_;
141 }; 141 };
142 142
143 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 143 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine