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

Side by Side Diff: chrome/browser/ui/browser_window.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_UI_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/tab_contents/navigation_entry.h" 9 #include "chrome/browser/tab_contents/navigation_entry.h"
10 #include "chrome/common/content_settings_types.h" 10 #include "chrome/common/content_settings_types.h"
11 #include "gfx/native_widget_types.h" 11 #include "gfx/native_widget_types.h"
12 12
13 class Browser; 13 class Browser;
14 class BrowserWindowTesting; 14 class BrowserWindowTesting;
15 class DownloadShelf; 15 class DownloadShelf;
16 class FindBar; 16 class FindBar;
17 class GURL; 17 class GURL;
18 class HtmlDialogUIDelegate; 18 class HtmlDialogUIDelegate;
19 class LocationBar; 19 class LocationBar;
20 class Profile; 20 class Profile;
21 class StatusBubble; 21 class StatusBubble;
22 class TabContents; 22 class TabContents;
23 class TabContentsWrapper;
23 class TemplateURL; 24 class TemplateURL;
24 class TemplateURLModel; 25 class TemplateURLModel;
25 #if !defined(OS_MACOSX) 26 #if !defined(OS_MACOSX)
26 class ToolbarView; 27 class ToolbarView;
27 #endif 28 #endif
28 struct NativeWebKeyboardEvent; 29 struct NativeWebKeyboardEvent;
29 30
30 namespace gfx { 31 namespace gfx {
31 class Rect; 32 class Rect;
32 } 33 }
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 133
133 // Tries to focus the location bar. Clears the window focus (to avoid 134 // Tries to focus the location bar. Clears the window focus (to avoid
134 // inconsistent state) if this fails. 135 // inconsistent state) if this fails.
135 virtual void SetFocusToLocationBar(bool select_all) = 0; 136 virtual void SetFocusToLocationBar(bool select_all) = 0;
136 137
137 // Informs the view whether or not a load is in progress for the current tab. 138 // Informs the view whether or not a load is in progress for the current tab.
138 // The view can use this notification to update the reload/stop button. 139 // The view can use this notification to update the reload/stop button.
139 virtual void UpdateReloadStopState(bool is_loading, bool force) = 0; 140 virtual void UpdateReloadStopState(bool is_loading, bool force) = 0;
140 141
141 // Updates the toolbar with the state for the specified |contents|. 142 // Updates the toolbar with the state for the specified |contents|.
142 virtual void UpdateToolbar(TabContents* contents, 143 virtual void UpdateToolbar(TabContentsWrapper* contents,
143 bool should_restore_state) = 0; 144 bool should_restore_state) = 0;
144 145
145 // Focuses the toolbar (for accessibility). 146 // Focuses the toolbar (for accessibility).
146 virtual void FocusToolbar() = 0; 147 virtual void FocusToolbar() = 0;
147 148
148 // Focuses the app menu like it was a menu bar. 149 // Focuses the app menu like it was a menu bar.
149 // 150 //
150 // Not used on the Mac, which has a "normal" menu bar. 151 // Not used on the Mac, which has a "normal" menu bar.
151 virtual void FocusAppMenu() = 0; 152 virtual void FocusAppMenu() = 0;
152 153
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 373
373 // Returns the ToolbarView. 374 // Returns the ToolbarView.
374 virtual ToolbarView* GetToolbarView() const = 0; 375 virtual ToolbarView* GetToolbarView() const = 0;
375 #endif 376 #endif
376 377
377 protected: 378 protected:
378 virtual ~BrowserWindowTesting() {} 379 virtual ~BrowserWindowTesting() {}
379 }; 380 };
380 381
381 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 382 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698