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

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

Issue 5917001: Change the "Disable outdated plug-ins" lab to block them instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename command line switch and viewmsg Created 10 years 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_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 // Notification from the renderer that a plugin instance has crashed. 276 // Notification from the renderer that a plugin instance has crashed.
277 // 277 //
278 // BrowserIntegration isn't necessarily the best place for this, if you 278 // BrowserIntegration isn't necessarily the best place for this, if you
279 // need to implement this function somewhere that doesn't need any other 279 // need to implement this function somewhere that doesn't need any other
280 // BrowserIntegration callbacks, feel free to move it elsewhere. 280 // BrowserIntegration callbacks, feel free to move it elsewhere.
281 virtual void OnCrashedPlugin(const FilePath& plugin_path) = 0; 281 virtual void OnCrashedPlugin(const FilePath& plugin_path) = 0;
282 282
283 // Notification that a worker process has crashed. 283 // Notification that a worker process has crashed.
284 virtual void OnCrashedWorker() = 0; 284 virtual void OnCrashedWorker() = 0;
285 285
286 virtual void OnDisabledOutdatedPlugin(const string16& name, 286 virtual void OnBlockedOutdatedPlugin(const string16& name,
287 const GURL& update_url) = 0; 287 const GURL& update_url) = 0;
288 288
289 // Notification that a user's request to install an application has 289 // Notification that a user's request to install an application has
290 // completed. 290 // completed.
291 virtual void OnDidGetApplicationInfo( 291 virtual void OnDidGetApplicationInfo(
292 int32 page_id, 292 int32 page_id,
293 const WebApplicationInfo& app_info) = 0; 293 const WebApplicationInfo& app_info) = 0;
294 294
295 // Notification when an application programmatically requests installation. 295 // Notification when an application programmatically requests installation.
296 virtual void OnInstallApplication( 296 virtual void OnInstallApplication(
297 const WebApplicationInfo& app_info) = 0; 297 const WebApplicationInfo& app_info) = 0;
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 bool remember) {} 876 bool remember) {}
877 877
878 // Update the content restrictions, i.e. disable print/copy. 878 // Update the content restrictions, i.e. disable print/copy.
879 virtual void UpdateContentRestrictions(int restrictions) {} 879 virtual void UpdateContentRestrictions(int restrictions) {}
880 880
881 protected: 881 protected:
882 virtual ~RenderViewHostDelegate() {} 882 virtual ~RenderViewHostDelegate() {}
883 }; 883 };
884 884
885 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 885 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698