| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 WEBKIT_GLUE_WEBVIEW_IMPL_H_ | 5 #ifndef WEBKIT_GLUE_WEBVIEW_IMPL_H_ |
| 6 #define WEBKIT_GLUE_WEBVIEW_IMPL_H_ | 6 #define WEBKIT_GLUE_WEBVIEW_IMPL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "Page.h" | 10 #include "Page.h" |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 | 276 |
| 277 // Returns true if the autocomple has consumed the event. | 277 // Returns true if the autocomple has consumed the event. |
| 278 bool AutocompleteHandleKeyEvent(const WebKit::WebKeyboardEvent& event); | 278 bool AutocompleteHandleKeyEvent(const WebKit::WebKeyboardEvent& event); |
| 279 | 279 |
| 280 // Repaints the autofill popup. Should be called when the suggestions have | 280 // Repaints the autofill popup. Should be called when the suggestions have |
| 281 // changed. Note that this should only be called when the autofill popup is | 281 // changed. Note that this should only be called when the autofill popup is |
| 282 // showing. | 282 // showing. |
| 283 void RefreshAutofillPopup(); | 283 void RefreshAutofillPopup(); |
| 284 | 284 |
| 285 // Returns true if the view was scrolled. | 285 // Returns true if the view was scrolled. |
| 286 bool ScrollViewWithKeyboard(int key_code); | 286 bool ScrollViewWithKeyboard(int key_code, int modifiers); |
| 287 | 287 |
| 288 // Removes fetcher from the set of pending image fetchers and deletes it. | 288 // Removes fetcher from the set of pending image fetchers and deletes it. |
| 289 // This is invoked after the download is completed (or fails). | 289 // This is invoked after the download is completed (or fails). |
| 290 void DeleteImageResourceFetcher(webkit_glue::ImageResourceFetcher* fetcher); | 290 void DeleteImageResourceFetcher(webkit_glue::ImageResourceFetcher* fetcher); |
| 291 | 291 |
| 292 // Converts |pos| from window coordinates to contents coordinates and gets | 292 // Converts |pos| from window coordinates to contents coordinates and gets |
| 293 // the HitTestResult for it. | 293 // the HitTestResult for it. |
| 294 WebCore::HitTestResult HitTestResultForWindowPos( | 294 WebCore::HitTestResult HitTestResultForWindowPos( |
| 295 const WebCore::IntPoint& pos); | 295 const WebCore::IntPoint& pos); |
| 296 | 296 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 static const WebKit::WebInputEvent* current_input_event() { | 370 static const WebKit::WebInputEvent* current_input_event() { |
| 371 return g_current_input_event; | 371 return g_current_input_event; |
| 372 } | 372 } |
| 373 private: | 373 private: |
| 374 static const WebKit::WebInputEvent* g_current_input_event; | 374 static const WebKit::WebInputEvent* g_current_input_event; |
| 375 | 375 |
| 376 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); | 376 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); |
| 377 }; | 377 }; |
| 378 | 378 |
| 379 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ | 379 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ |
| OLD | NEW |