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

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

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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 // A BrowserPluginGuest is the browser side of a browser <--> embedder 5 // A BrowserPluginGuest is the browser side of a browser <--> embedder
6 // renderer channel. A BrowserPlugin (a WebPlugin) is on the embedder 6 // renderer channel. A BrowserPlugin (a WebPlugin) is on the embedder
7 // renderer side of browser <--> embedder renderer communication. 7 // renderer side of browser <--> embedder renderer communication.
8 // 8 //
9 // BrowserPluginGuest lives on the UI thread of the browser process. Any 9 // BrowserPluginGuest lives on the UI thread of the browser process. Any
10 // messages about the guest render process that the embedder might be interested 10 // messages about the guest render process that the embedder might be interested
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 gfx::Rect src_subrect, 147 gfx::Rect src_subrect,
148 gfx::Size dst_size, 148 gfx::Size dst_size,
149 const base::Callback<void(bool, const SkBitmap&)>& callback); 149 const base::Callback<void(bool, const SkBitmap&)>& callback);
150 150
151 BrowserPluginGuestManager* GetBrowserPluginGuestManager() const; 151 BrowserPluginGuestManager* GetBrowserPluginGuestManager() const;
152 152
153 // WebContentsObserver implementation. 153 // WebContentsObserver implementation.
154 virtual void DidCommitProvisionalLoadForFrame( 154 virtual void DidCommitProvisionalLoadForFrame(
155 RenderFrameHost* render_frame_host, 155 RenderFrameHost* render_frame_host,
156 const GURL& url, 156 const GURL& url,
157 PageTransition transition_type) OVERRIDE; 157 ui::PageTransition transition_type) OVERRIDE;
158 158
159 virtual void RenderViewReady() OVERRIDE; 159 virtual void RenderViewReady() OVERRIDE;
160 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; 160 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
161 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 161 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
162 virtual bool OnMessageReceived(const IPC::Message& message, 162 virtual bool OnMessageReceived(const IPC::Message& message,
163 RenderFrameHost* render_frame_host) OVERRIDE; 163 RenderFrameHost* render_frame_host) OVERRIDE;
164 164
165 // Exposes the protected web_contents() from WebContentsObserver. 165 // Exposes the protected web_contents() from WebContentsObserver.
166 WebContentsImpl* GetWebContents() const; 166 WebContentsImpl* GetWebContents() const;
167 167
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 // Weak pointer used to ask GeolocationPermissionContext about geolocation 374 // Weak pointer used to ask GeolocationPermissionContext about geolocation
375 // permission. 375 // permission.
376 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_; 376 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_;
377 377
378 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); 378 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest);
379 }; 379 };
380 380
381 } // namespace content 381 } // namespace content
382 382
383 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ 383 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_
OLDNEW
« no previous file with comments | « content/browser/android/web_contents_observer_android.cc ('k') | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698