OLD | NEW |
---|---|
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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
317 void setOverlayLayer(WebCore::GraphicsLayer*); | 317 void setOverlayLayer(WebCore::GraphicsLayer*); |
318 | 318 |
319 const WebPoint& lastMouseDownPoint() const | 319 const WebPoint& lastMouseDownPoint() const |
320 { | 320 { |
321 return m_lastMouseDownPoint; | 321 return m_lastMouseDownPoint; |
322 } | 322 } |
323 | 323 |
324 WebCore::Frame* focusedWebCoreFrame() const; | 324 WebCore::Frame* focusedWebCoreFrame() const; |
325 | 325 |
326 // Returns the currently focused Element or null if no element has focus. | 326 // Returns the currently focused Element or null if no element has focus. |
327 WebCore::Element* focusedElement(); | 327 WebCore::Element* focusedElement() const; |
Inactive
2014/02/13 16:10:07
I think several getters were non-const because of
| |
328 | 328 |
329 static WebViewImpl* fromPage(WebCore::Page*); | 329 static WebViewImpl* fromPage(WebCore::Page*); |
330 | 330 |
331 WebViewClient* client() | 331 WebViewClient* client() |
332 { | 332 { |
333 return m_client; | 333 return m_client; |
334 } | 334 } |
335 | 335 |
336 WebAutofillClient* autofillClient() | 336 WebAutofillClient* autofillClient() |
337 { | 337 { |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
780 Vector<RefPtr<WebHelperPluginImpl> > m_helperPluginsPendingClose; | 780 Vector<RefPtr<WebHelperPluginImpl> > m_helperPluginsPendingClose; |
781 }; | 781 }; |
782 | 782 |
783 // We have no ways to check if the specified WebView is an instance of | 783 // We have no ways to check if the specified WebView is an instance of |
784 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 784 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
785 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 785 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
786 | 786 |
787 } // namespace blink | 787 } // namespace blink |
788 | 788 |
789 #endif | 789 #endif |
OLD | NEW |