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

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

Issue 2700613003: Enable find-in-page across GuestViews. (Closed)
Patch Set: Small fix. Created 3 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
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 EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 int GetTaskPrefix() const final; 184 int GetTaskPrefix() const final;
185 void GuestDestroyed() final; 185 void GuestDestroyed() final;
186 void GuestReady() final; 186 void GuestReady() final;
187 void GuestSizeChangedDueToAutoSize(const gfx::Size& old_size, 187 void GuestSizeChangedDueToAutoSize(const gfx::Size& old_size,
188 const gfx::Size& new_size) final; 188 const gfx::Size& new_size) final;
189 void GuestViewDidStopLoading() final; 189 void GuestViewDidStopLoading() final;
190 void GuestZoomChanged(double old_zoom_level, double new_zoom_level) final; 190 void GuestZoomChanged(double old_zoom_level, double new_zoom_level) final;
191 bool IsAutoSizeSupported() const final; 191 bool IsAutoSizeSupported() const final;
192 void SetContextMenuPosition(const gfx::Point& position) final; 192 void SetContextMenuPosition(const gfx::Point& position) final;
193 void SignalWhenReady(const base::Closure& callback) final; 193 void SignalWhenReady(const base::Closure& callback) final;
194 bool ShouldHandleFindRequestsForEmbedder() const final;
195 void WillAttachToEmbedder() final; 194 void WillAttachToEmbedder() final;
196 void WillDestroy() final; 195 void WillDestroy() final;
197 196
198 // NotificationObserver implementation. 197 // NotificationObserver implementation.
199 void Observe(int type, 198 void Observe(int type,
200 const content::NotificationSource& source, 199 const content::NotificationSource& source,
201 const content::NotificationDetails& details) final; 200 const content::NotificationDetails& details) final;
202 201
203 // WebContentsDelegate implementation. 202 // WebContentsDelegate implementation.
204 bool DidAddMessageToConsole(content::WebContents* source, 203 bool DidAddMessageToConsole(content::WebContents* source,
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 // This is used to ensure pending tasks will not fire after this object is 372 // This is used to ensure pending tasks will not fire after this object is
374 // destroyed. 373 // destroyed.
375 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; 374 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_;
376 375
377 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); 376 DISALLOW_COPY_AND_ASSIGN(WebViewGuest);
378 }; 377 };
379 378
380 } // namespace extensions 379 } // namespace extensions
381 380
382 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 381 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698