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

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

Issue 1293963002: Fixing the Position of Context Menu for BrowserPlugin (<webview>) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a Build Error in MAC Created 5 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 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 <vector> 8 #include <vector>
9 9
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 // Creates a new guest window owned by this WebViewGuest. 347 // Creates a new guest window owned by this WebViewGuest.
348 void CreateNewGuestWebViewWindow(const content::OpenURLParams& params); 348 void CreateNewGuestWebViewWindow(const content::OpenURLParams& params);
349 349
350 void NewGuestWebViewCallback(const content::OpenURLParams& params, 350 void NewGuestWebViewCallback(const content::OpenURLParams& params,
351 content::WebContents* guest_web_contents); 351 content::WebContents* guest_web_contents);
352 352
353 bool HandleKeyboardShortcuts(const content::NativeWebKeyboardEvent& event); 353 bool HandleKeyboardShortcuts(const content::NativeWebKeyboardEvent& event);
354 354
355 void ApplyAttributes(const base::DictionaryValue& params); 355 void ApplyAttributes(const base::DictionaryValue& params);
356 356
357 void SetContextMenuPosition(const gfx::Point& position) override;
358
357 // Identifies the set of rules registries belonging to this guest. 359 // Identifies the set of rules registries belonging to this guest.
358 int rules_registry_id_; 360 int rules_registry_id_;
359 361
360 // Handles find requests and replies for the webview find API. 362 // Handles find requests and replies for the webview find API.
361 WebViewFindHelper find_helper_; 363 WebViewFindHelper find_helper_;
362 364
363 base::ObserverList<ScriptExecutionObserver> script_observers_; 365 base::ObserverList<ScriptExecutionObserver> script_observers_;
364 scoped_ptr<ScriptExecutor> script_executor_; 366 scoped_ptr<ScriptExecutor> script_executor_;
365 367
366 content::NotificationRegistrar notification_registrar_; 368 content::NotificationRegistrar notification_registrar_;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 // This is used to ensure pending tasks will not fire after this object is 415 // This is used to ensure pending tasks will not fire after this object is
414 // destroyed. 416 // destroyed.
415 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; 417 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_;
416 418
417 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); 419 DISALLOW_COPY_AND_ASSIGN(WebViewGuest);
418 }; 420 };
419 421
420 } // namespace extensions 422 } // namespace extensions
421 423
422 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 424 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
OLDNEW
« no previous file with comments | « content/public/browser/browser_plugin_guest_delegate.h ('k') | extensions/browser/guest_view/web_view/web_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698