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

Side by Side Diff: chrome/renderer/plugins/missing_plugin.h

Issue 8851007: WIP / Do not commit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « chrome/renderer/custom_menu_commands.h ('k') | chrome/renderer/plugins/missing_plugin.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_PLUGINS_MISSING_PLUGIN_H_ 5 #ifndef CHROME_RENDERER_PLUGINS_MISSING_PLUGIN_H_
6 #define CHROME_RENDERER_PLUGINS_MISSING_PLUGIN_H_ 6 #define CHROME_RENDERER_PLUGINS_MISSING_PLUGIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "chrome/renderer/plugins/plugin_placeholder.h" 10 #include "chrome/renderer/plugins/plugin_placeholder.h"
(...skipping 26 matching lines...) Expand all
37 // IPC::Channel::Listener methods: 37 // IPC::Channel::Listener methods:
38 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 38 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
39 39
40 // content::RenderViewObserver methods: 40 // content::RenderViewObserver methods:
41 virtual void ContextMenuAction(unsigned id) OVERRIDE; 41 virtual void ContextMenuAction(unsigned id) OVERRIDE;
42 42
43 void HideCallback(const CppArgumentList& args, CppVariant* result); 43 void HideCallback(const CppArgumentList& args, CppVariant* result);
44 44
45 void OnFoundMissingPlugin(const string16& plugin_name); 45 void OnFoundMissingPlugin(const string16& plugin_name);
46 void OnDidNotFindMissingPlugin(); 46 void OnDidNotFindMissingPlugin();
47 void OnStartedDownloadingPlugin();
48 void OnFinishedDownloadingPlugin();
47 49
48 void SetMessage(const string16& message); 50 void SetMessage(const string16& message);
49 void UpdateMessage(); 51 void UpdateMessage();
50 52
51 WebKit::WebString mime_type_; 53 WebKit::WebString mime_type_;
52 54
53 // |routing_id()| is the routing ID of our associated RenderView, but we have 55 // |routing_id()| is the routing ID of our associated RenderView, but we have
54 // a separate routing ID for messages specific to this placeholder. 56 // a separate routing ID for messages specific to this placeholder.
55 int32 placeholder_routing_id_; 57 int32 placeholder_routing_id_;
56 58
57 string16 message_; 59 string16 message_;
58 60
59 DISALLOW_COPY_AND_ASSIGN(MissingPlugin); 61 DISALLOW_COPY_AND_ASSIGN(MissingPlugin);
60 }; 62 };
61 63
62 #endif // CHROME_RENDERER_PLUGINS_MISSING_PLUGIN_H_ 64 #endif // CHROME_RENDERER_PLUGINS_MISSING_PLUGIN_H_
OLDNEW
« no previous file with comments | « chrome/renderer/custom_menu_commands.h ('k') | chrome/renderer/plugins/missing_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698