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

Side by Side Diff: chrome/browser/render_view_host_delegate.h

Issue 5005: Reorganize the declarations to have some grouping and logical ordering in tab... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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
« no previous file with comments | « chrome/browser/navigation_controller.cc ('k') | chrome/browser/tab_contents.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_RENDER_VIEW_HOST_DELEGATE_H__ 5 #ifndef CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__
6 #define CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__ 6 #define CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // Navigate to the history entry for the given offset from the current 228 // Navigate to the history entry for the given offset from the current
229 // position within the NavigationController. Makes no change if offset is 229 // position within the NavigationController. Makes no change if offset is
230 // not valid. 230 // not valid.
231 virtual void GoToEntryAtOffset(int offset) { } 231 virtual void GoToEntryAtOffset(int offset) { }
232 232
233 // The page requests the size of the back and forward lists 233 // The page requests the size of the back and forward lists
234 // within the NavigationController. 234 // within the NavigationController.
235 virtual void GetHistoryListCount(int* back_list_count, 235 virtual void GetHistoryListCount(int* back_list_count,
236 int* forward_list_count) { } 236 int* forward_list_count) { }
237 237
238 // The page wants to open a plugin to display the given URL, of a certain
239 // content type. |reply_msg| contains the name of the plugin.
240 virtual void OpenChannelToPlugin(const GURL& url,
241 const std::string& mime_type,
242 IPC::Message* reply_msg) { }
243
244 // A file chooser should be shown. 238 // A file chooser should be shown.
245 virtual void RunFileChooser(const std::wstring& default_file) { } 239 virtual void RunFileChooser(const std::wstring& default_file) { }
246 240
247 // A javascript message, confirmation or prompt should be shown. 241 // A javascript message, confirmation or prompt should be shown.
248 virtual void RunJavaScriptMessage(const std::wstring& message, 242 virtual void RunJavaScriptMessage(const std::wstring& message,
249 const std::wstring& default_prompt, 243 const std::wstring& default_prompt,
250 const int flags, 244 const int flags,
251 IPC::Message* reply_msg) { } 245 IPC::Message* reply_msg) { }
252 246
253 virtual void RunBeforeUnloadConfirm(const std::wstring& message, 247 virtual void RunBeforeUnloadConfirm(const std::wstring& message,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state) { } 339 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state) { }
346 340
347 // Notification that a request for install info has completed. 341 // Notification that a request for install info has completed.
348 virtual void OnDidGetApplicationInfo( 342 virtual void OnDidGetApplicationInfo(
349 int32 page_id, 343 int32 page_id,
350 const webkit_glue::WebApplicationInfo& app_info) { } 344 const webkit_glue::WebApplicationInfo& app_info) { }
351 }; 345 };
352 346
353 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__ 347 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__
354 348
OLDNEW
« no previous file with comments | « chrome/browser/navigation_controller.cc ('k') | chrome/browser/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698