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

Side by Side Diff: chrome/browser/ui/browser_dialogs.h

Issue 1924683003: [making a diff] Remove the old task manager view (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: delete disabled tests Created 4 years, 7 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
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_BROWSER_DIALOGS_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/ui/bookmarks/bookmark_editor.h" 10 #include "chrome/browser/ui/bookmarks/bookmark_editor.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 gfx::NativeView parent, 105 gfx::NativeView parent,
106 bookmarks::BookmarkBubbleObserver* observer, 106 bookmarks::BookmarkBubbleObserver* observer,
107 Browser* browser, 107 Browser* browser,
108 const GURL& url, 108 const GURL& url,
109 bool newly_bookmarked); 109 bool newly_bookmarked);
110 110
111 // Bridging methods that show/hide the toolkit-views based Task Manager on Mac. 111 // Bridging methods that show/hide the toolkit-views based Task Manager on Mac.
112 void ShowTaskManagerViews(Browser* browser); 112 void ShowTaskManagerViews(Browser* browser);
113 void HideTaskManagerViews(); 113 void HideTaskManagerViews();
114 114
115 // If the new task manager is enabled, returns false. Otherwise calls
116 // NotifyBytesRead on the old task manager instance and returns true.
117 bool NotifyOldTaskManagerBytesRead(const net::URLRequest& request,
118 int64_t bytes_read);
119
115 #endif // OS_MACOSX 120 #endif // OS_MACOSX
116 121
117 #if defined(TOOLKIT_VIEWS) 122 #if defined(TOOLKIT_VIEWS)
118 123
119 // Creates a toolkit-views based LoginHandler (e.g. HTTP-Auth dialog). 124 // Creates a toolkit-views based LoginHandler (e.g. HTTP-Auth dialog).
120 LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info, 125 LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info,
121 net::URLRequest* request); 126 net::URLRequest* request);
122 127
123 // Shows the toolkit-views based BookmarkEditor. 128 // Shows the toolkit-views based BookmarkEditor.
124 void ShowBookmarkEditorViews(gfx::NativeWindow parent_window, 129 void ShowBookmarkEditorViews(gfx::NativeWindow parent_window,
(...skipping 15 matching lines...) Expand all
140 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleViewsBridge); 145 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleViewsBridge);
141 }; 146 };
142 147
143 #endif // OS_MACOSX 148 #endif // OS_MACOSX
144 149
145 #endif // TOOLKIT_VIEWS 150 #endif // TOOLKIT_VIEWS
146 151
147 } // namespace chrome 152 } // namespace chrome
148 153
149 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 154 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698