OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_BASE_H_ | 5 #ifndef COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_BASE_H_ |
6 #define COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_BASE_H_ | 6 #define COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_BASE_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 | 9 |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 // WebContentsObserver implementation. | 319 // WebContentsObserver implementation. |
320 void DidStopLoading() final; | 320 void DidStopLoading() final; |
321 void RenderViewReady() final; | 321 void RenderViewReady() final; |
322 void WebContentsDestroyed() final; | 322 void WebContentsDestroyed() final; |
323 void DidNavigateMainFrame( | 323 void DidNavigateMainFrame( |
324 const content::LoadCommittedDetails& details, | 324 const content::LoadCommittedDetails& details, |
325 const content::FrameNavigateParams& params) override; | 325 const content::FrameNavigateParams& params) override; |
326 | 326 |
327 // WebContentsDelegate implementation. | 327 // WebContentsDelegate implementation. |
328 void ActivateContents(content::WebContents* contents) final; | 328 void ActivateContents(content::WebContents* contents) final; |
329 void DeactivateContents(content::WebContents* contents) final; | |
330 void ContentsMouseEvent(content::WebContents* source, | 329 void ContentsMouseEvent(content::WebContents* source, |
331 const gfx::Point& location, | 330 const gfx::Point& location, |
332 bool motion) override; | 331 bool motion) override; |
333 void ContentsZoomChange(bool zoom_in) override; | 332 void ContentsZoomChange(bool zoom_in) override; |
334 void HandleKeyboardEvent( | 333 void HandleKeyboardEvent( |
335 content::WebContents* source, | 334 content::WebContents* source, |
336 const content::NativeWebKeyboardEvent& event) override; | 335 const content::NativeWebKeyboardEvent& event) override; |
337 void LoadingStateChanged(content::WebContents* source, | 336 void LoadingStateChanged(content::WebContents* source, |
338 bool to_different_document) final; | 337 bool to_different_document) final; |
339 content::ColorChooser* OpenColorChooser( | 338 content::ColorChooser* OpenColorChooser( |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 // This is used to ensure pending tasks will not fire after this object is | 475 // This is used to ensure pending tasks will not fire after this object is |
477 // destroyed. | 476 // destroyed. |
478 base::WeakPtrFactory<GuestViewBase> weak_ptr_factory_; | 477 base::WeakPtrFactory<GuestViewBase> weak_ptr_factory_; |
479 | 478 |
480 DISALLOW_COPY_AND_ASSIGN(GuestViewBase); | 479 DISALLOW_COPY_AND_ASSIGN(GuestViewBase); |
481 }; | 480 }; |
482 | 481 |
483 } // namespace guest_view | 482 } // namespace guest_view |
484 | 483 |
485 #endif // COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_BASE_H_ | 484 #endif // COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_BASE_H_ |
OLD | NEW |