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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_web_contents_observer.h

Issue 10106022: TabContents -> WebContentsImpl, part 19. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 8 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 | « no previous file | content/browser/child_process_security_policy_browsertest.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) 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 CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_WEB_CONTENTS_OBSERVER_H__ 5 #ifndef CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_WEB_CONTENTS_OBSERVER_H__
6 #define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_WEB_CONTENTS_OBSERVER_H__ 6 #define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_WEB_CONTENTS_OBSERVER_H__
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 int64 frame_id, 47 int64 frame_id,
48 bool is_main_frame, 48 bool is_main_frame,
49 const GURL& url, 49 const GURL& url,
50 PageTransition transition_type) OVERRIDE; 50 PageTransition transition_type) OVERRIDE;
51 51
52 virtual void RenderViewDeleted( 52 virtual void RenderViewDeleted(
53 RenderViewHost* render_view_host) OVERRIDE; 53 RenderViewHost* render_view_host) OVERRIDE;
54 54
55 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; 55 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;
56 56
57 virtual void WebContentsDestroyed(WebContents* tab) OVERRIDE; 57 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE;
58 58
59 private: 59 private:
60 typedef std::map<WebContentsImpl*, int64> GuestMap; 60 typedef std::map<WebContentsImpl*, int64> GuestMap;
61 61
62 void OnOpenChannelToBrowserPlugin(int32 instance_id, 62 void OnOpenChannelToBrowserPlugin(int32 instance_id,
63 long long frame_id, 63 long long frame_id,
64 const std::string& src, 64 const std::string& src,
65 const gfx::Size& size); 65 const gfx::Size& size);
66 66
67 void OnGuestReady(); 67 void OnGuestReady();
(...skipping 17 matching lines...) Expand all
85 // An identifier that uniquely identifies a browser plugin container 85 // An identifier that uniquely identifies a browser plugin container
86 // within a host. 86 // within a host.
87 int instance_id_; 87 int instance_id_;
88 88
89 GuestMap guests_; 89 GuestMap guests_;
90 }; 90 };
91 91
92 } // namespace content 92 } // namespace content
93 93
94 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_WEB_CONTENTS_OBSERVER_H _ 94 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_WEB_CONTENTS_OBSERVER_H _
OLDNEW
« no previous file with comments | « no previous file | content/browser/child_process_security_policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698