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

Side by Side Diff: chrome/browser/guest_view/web_view/web_view_guest.h

Issue 299753011: Move allocate instance id to chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 6 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 5 #ifndef CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
6 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 6 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 virtual content::WebContents* OpenURLFromTab( 120 virtual content::WebContents* OpenURLFromTab(
121 content::WebContents* source, 121 content::WebContents* source,
122 const content::OpenURLParams& params) OVERRIDE; 122 const content::OpenURLParams& params) OVERRIDE;
123 virtual void WebContentsCreated(content::WebContents* source_contents, 123 virtual void WebContentsCreated(content::WebContents* source_contents,
124 int opener_render_frame_id, 124 int opener_render_frame_id,
125 const base::string16& frame_name, 125 const base::string16& frame_name,
126 const GURL& target_url, 126 const GURL& target_url,
127 content::WebContents* new_contents) OVERRIDE; 127 content::WebContents* new_contents) OVERRIDE;
128 128
129 // GuestDelegate implementation. 129 // GuestDelegate implementation.
130 virtual void DidAttach() OVERRIDE; 130 virtual void DidAttach(const base::DictionaryValue& extra_params) OVERRIDE;
131 virtual void EmbedderDestroyed() OVERRIDE; 131 virtual void EmbedderDestroyed() OVERRIDE;
132 virtual void GuestProcessGone(base::TerminationStatus status) OVERRIDE; 132 virtual void GuestProcessGone(base::TerminationStatus status) OVERRIDE;
133 virtual bool IsDragAndDropEnabled() OVERRIDE; 133 virtual bool IsDragAndDropEnabled() OVERRIDE;
134 virtual void SizeChanged(const gfx::Size& old_size, const gfx::Size& new_size) 134 virtual void SizeChanged(const gfx::Size& old_size, const gfx::Size& new_size)
135 OVERRIDE; 135 OVERRIDE;
136 virtual void RequestPointerLockPermission( 136 virtual void RequestPointerLockPermission(
137 bool user_gesture, 137 bool user_gesture,
138 bool last_unlocked_by_target, 138 bool last_unlocked_by_target,
139 const base::Callback<void(bool)>& callback) OVERRIDE; 139 const base::Callback<void(bool)>& callback) OVERRIDE;
140 virtual void NavigateGuest(const std::string& src) OVERRIDE; 140 virtual void NavigateGuest(const std::string& src) OVERRIDE;
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 name(name) {} 435 name(name) {}
436 }; 436 };
437 437
438 typedef std::map<WebViewGuest*, NewWindowInfo> PendingWindowMap; 438 typedef std::map<WebViewGuest*, NewWindowInfo> PendingWindowMap;
439 PendingWindowMap pending_new_windows_; 439 PendingWindowMap pending_new_windows_;
440 440
441 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); 441 DISALLOW_COPY_AND_ASSIGN(WebViewGuest);
442 }; 442 };
443 443
444 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 444 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698