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

Side by Side Diff: webkit/glue/webview_impl.h

Issue 254002: Fix cmd-up/cmd-down. (Closed)
Patch Set: Fix typo found by suzhe Created 11 years, 2 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 // 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 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 virtual bool GetSpellingPanelVisibility(); 249 virtual bool GetSpellingPanelVisibility();
250 250
251 virtual void SetTabsToLinks(bool enable); 251 virtual void SetTabsToLinks(bool enable);
252 virtual bool GetTabsToLinks() const; 252 virtual bool GetTabsToLinks() const;
253 253
254 #if ENABLE(NOTIFICATIONS) 254 #if ENABLE(NOTIFICATIONS)
255 // Returns the provider of desktop notifications. 255 // Returns the provider of desktop notifications.
256 WebKit::NotificationPresenterImpl* GetNotificationPresenter(); 256 WebKit::NotificationPresenterImpl* GetNotificationPresenter();
257 #endif 257 #endif
258 258
259 // Tries to scroll a frame or any parent of a frame. Returns true if the view
260 // was scrolled.
261 bool PropagateScroll(WebCore::ScrollDirection scroll_direction,
262 WebCore::ScrollGranularity scroll_granularity);
263
259 protected: 264 protected:
260 friend class WebView; // So WebView::Create can call our constructor 265 friend class WebView; // So WebView::Create can call our constructor
261 friend class base::RefCounted<WebViewImpl>; 266 friend class base::RefCounted<WebViewImpl>;
262 267
263 // ImageResourceFetcher::Callback. 268 // ImageResourceFetcher::Callback.
264 void OnImageFetchComplete(webkit_glue::ImageResourceFetcher* fetcher, 269 void OnImageFetchComplete(webkit_glue::ImageResourceFetcher* fetcher,
265 const SkBitmap& bitmap); 270 const SkBitmap& bitmap);
266 271
267 WebViewImpl(WebViewDelegate* delegate); 272 WebViewImpl(WebViewDelegate* delegate);
268 ~WebViewImpl(); 273 ~WebViewImpl();
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 static const WebKit::WebInputEvent* current_input_event() { 428 static const WebKit::WebInputEvent* current_input_event() {
424 return g_current_input_event; 429 return g_current_input_event;
425 } 430 }
426 private: 431 private:
427 static const WebKit::WebInputEvent* g_current_input_event; 432 static const WebKit::WebInputEvent* g_current_input_event;
428 433
429 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); 434 DISALLOW_COPY_AND_ASSIGN(WebViewImpl);
430 }; 435 };
431 436
432 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ 437 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698