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

Side by Side Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 1865813002: Remove RawPtr from Source/web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 bool scrollBy(const WebFloatSize& delta, const WebFloatSize& velocity) overr ide; 355 bool scrollBy(const WebFloatSize& delta, const WebFloatSize& velocity) overr ide;
356 356
357 // Handles context menu events orignated via the the keyboard. These 357 // Handles context menu events orignated via the the keyboard. These
358 // include the VK_APPS virtual key and the Shift+F10 combine. Code is 358 // include the VK_APPS virtual key and the Shift+F10 combine. Code is
359 // based on the Webkit function bool WebView::handleContextMenuEvent(WPARAM 359 // based on the Webkit function bool WebView::handleContextMenuEvent(WPARAM
360 // wParam, LPARAM lParam) in webkit\webkit\win\WebView.cpp. The only 360 // wParam, LPARAM lParam) in webkit\webkit\win\WebView.cpp. The only
361 // significant change in this function is the code to convert from a 361 // significant change in this function is the code to convert from a
362 // Keyboard event to the Right Mouse button down event. 362 // Keyboard event to the Right Mouse button down event.
363 WebInputEventResult sendContextMenuEvent(const WebKeyboardEvent&); 363 WebInputEventResult sendContextMenuEvent(const WebKeyboardEvent&);
364 364
365 void showContextMenuAtPoint(float x, float y, RawPtr<ContextMenuProvider>); 365 void showContextMenuAtPoint(float x, float y, ContextMenuProvider*);
366 366
367 void showContextMenuForElement(WebElement); 367 void showContextMenuForElement(WebElement);
368 368
369 // Notifies the WebView that a load has been committed. isNewNavigation 369 // Notifies the WebView that a load has been committed. isNewNavigation
370 // will be true if a new session history item should be created for that 370 // will be true if a new session history item should be created for that
371 // load. isNavigationWithinPage will be true if the navigation does 371 // load. isNavigationWithinPage will be true if the navigation does
372 // not take the user away from the current page. 372 // not take the user away from the current page.
373 void didCommitLoad(bool isNewNavigation, bool isNavigationWithinPage); 373 void didCommitLoad(bool isNewNavigation, bool isNavigationWithinPage);
374 374
375 void postLayoutResize(WebLocalFrameImpl* webframe); 375 void postLayoutResize(WebLocalFrameImpl* webframe);
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 }; 771 };
772 772
773 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 773 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
774 // We have no ways to check if the specified WebView is an instance of 774 // We have no ways to check if the specified WebView is an instance of
775 // WebViewImpl because WebViewImpl is the only implementation of WebView. 775 // WebViewImpl because WebViewImpl is the only implementation of WebView.
776 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 776 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
777 777
778 } // namespace blink 778 } // namespace blink
779 779
780 #endif 780 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebTextCheckingCompletionImpl.h ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698