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

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

Issue 640303002: Enable Oilpan for core/clipboard/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove some slightly pointy edges Created 5 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
« no previous file with comments | « Source/web/WebDragDataTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 IntSize m_maxAutoSize; 640 IntSize m_maxAutoSize;
641 641
642 OwnPtrWillBePersistent<Page> m_page; 642 OwnPtrWillBePersistent<Page> m_page;
643 643
644 // An object that can be used to manipulate m_page->settings() without linki ng 644 // An object that can be used to manipulate m_page->settings() without linki ng
645 // against WebCore. This is lazily allocated the first time GetWebSettings() 645 // against WebCore. This is lazily allocated the first time GetWebSettings()
646 // is called. 646 // is called.
647 OwnPtr<WebSettingsImpl> m_webSettings; 647 OwnPtr<WebSettingsImpl> m_webSettings;
648 648
649 // A copy of the web drop data object we received from the browser. 649 // A copy of the web drop data object we received from the browser.
650 RefPtrWillBePersistent<DataObject> m_currentDragData; 650 Persistent<DataObject> m_currentDragData;
651 651
652 // The point relative to the client area where the mouse was last pressed 652 // The point relative to the client area where the mouse was last pressed
653 // down. This is used by the drag client to determine what was under the 653 // down. This is used by the drag client to determine what was under the
654 // mouse when the drag was initiated. We need to track this here in 654 // mouse when the drag was initiated. We need to track this here in
655 // WebViewImpl since DragClient::startDrag does not pass the position the 655 // WebViewImpl since DragClient::startDrag does not pass the position the
656 // mouse was at when the drag was initiated, only the current point, which 656 // mouse was at when the drag was initiated, only the current point, which
657 // can be misleading as it is usually not over the element the user actually 657 // can be misleading as it is usually not over the element the user actually
658 // dragged by the time a drag is initiated. 658 // dragged by the time a drag is initiated.
659 WebPoint m_lastMouseDownPoint; 659 WebPoint m_lastMouseDownPoint;
660 660
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 }; 765 };
766 766
767 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 767 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
768 // We have no ways to check if the specified WebView is an instance of 768 // We have no ways to check if the specified WebView is an instance of
769 // WebViewImpl because WebViewImpl is the only implementation of WebView. 769 // WebViewImpl because WebViewImpl is the only implementation of WebView.
770 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 770 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
771 771
772 } // namespace blink 772 } // namespace blink
773 773
774 #endif 774 #endif
OLDNEW
« no previous file with comments | « Source/web/WebDragDataTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698