| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 void set_window_open_disposition(WindowOpenDisposition disp) { | 174 void set_window_open_disposition(WindowOpenDisposition disp) { |
| 175 window_open_disposition_ = disp; | 175 window_open_disposition_ = disp; |
| 176 } | 176 } |
| 177 WindowOpenDisposition window_open_disposition() const { | 177 WindowOpenDisposition window_open_disposition() const { |
| 178 return window_open_disposition_; | 178 return window_open_disposition_; |
| 179 } | 179 } |
| 180 | 180 |
| 181 // Start a system drag and drop operation. | 181 // Start a system drag and drop operation. |
| 182 void StartDragging(const WebDropData& drop_data); | 182 void StartDragging(const WebDropData& drop_data); |
| 183 | 183 |
| 184 virtual const WebCore::Node* getInspectedNode(WebCore::Frame* frame); | |
| 185 | |
| 186 // ImageResourceFetcher callback. | 184 // ImageResourceFetcher callback. |
| 187 void ImageResourceDownloadDone(ImageResourceFetcher* fetcher, | 185 void ImageResourceDownloadDone(ImageResourceFetcher* fetcher, |
| 188 bool errored, | 186 bool errored, |
| 189 const SkBitmap& image); | 187 const SkBitmap& image); |
| 190 | 188 |
| 191 // Hides the autocomplete popup if it is showing. | 189 // Hides the autocomplete popup if it is showing. |
| 192 void HideAutoCompletePopup(); | 190 void HideAutoCompletePopup(); |
| 193 | 191 |
| 194 protected: | 192 protected: |
| 195 friend class WebView; // So WebView::Create can call our constructor | 193 friend class WebView; // So WebView::Create can call our constructor |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 return g_current_input_event; | 309 return g_current_input_event; |
| 312 } | 310 } |
| 313 private: | 311 private: |
| 314 static const WebInputEvent* g_current_input_event; | 312 static const WebInputEvent* g_current_input_event; |
| 315 | 313 |
| 316 DISALLOW_EVIL_CONSTRUCTORS(WebViewImpl); | 314 DISALLOW_EVIL_CONSTRUCTORS(WebViewImpl); |
| 317 }; | 315 }; |
| 318 | 316 |
| 319 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H__ | 317 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H__ |
| 320 | 318 |
| OLD | NEW |