| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 const GURL& url, | 520 const GURL& url, |
| 521 NavigationController::ReloadType reload_type) override; | 521 NavigationController::ReloadType reload_type) override; |
| 522 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 522 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
| 523 const OpenURLParams& params) override; | 523 const OpenURLParams& params) override; |
| 524 bool ShouldPreserveAbortedURLs() override; | 524 bool ShouldPreserveAbortedURLs() override; |
| 525 | 525 |
| 526 // RenderWidgetHostDelegate -------------------------------------------------- | 526 // RenderWidgetHostDelegate -------------------------------------------------- |
| 527 | 527 |
| 528 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; | 528 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; |
| 529 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; | 529 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; |
| 530 void RenderWidgetWasResized( |
| 531 RenderWidgetHostImpl* render_widget_host) override; |
| 530 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 532 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 531 bool* is_keyboard_shortcut) override; | 533 bool* is_keyboard_shortcut) override; |
| 532 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; | 534 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; |
| 533 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; | 535 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; |
| 534 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; | 536 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; |
| 535 bool HandleGestureEvent(const blink::WebGestureEvent& event) override; | 537 bool HandleGestureEvent(const blink::WebGestureEvent& event) override; |
| 536 void DidSendScreenRects(RenderWidgetHostImpl* rwh) override; | 538 void DidSendScreenRects(RenderWidgetHostImpl* rwh) override; |
| 537 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; | 539 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; |
| 538 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() | 540 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() |
| 539 override; | 541 override; |
| (...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1258 // Adds/removes a callback called on creation of each new WebContents. | 1260 // Adds/removes a callback called on creation of each new WebContents. |
| 1259 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1261 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1260 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1262 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1261 | 1263 |
| 1262 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1264 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1263 }; | 1265 }; |
| 1264 | 1266 |
| 1265 } // namespace content | 1267 } // namespace content |
| 1266 | 1268 |
| 1267 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1269 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |