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

Side by Side Diff: content/browser/web_contents/aura/overscroll_navigation_overlay.h

Issue 1008913002: Remove RenderViewHost parameter from WebContentsObserver::Did{Start|Stop}Loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 9 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 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 CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_NAVIGATION_OVERLAY_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_NAVIGATION_OVERLAY_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_NAVIGATION_OVERLAY_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_NAVIGATION_OVERLAY_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "content/browser/web_contents/aura/window_slider.h" 10 #include "content/browser/web_contents/aura/window_slider.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Overridden from WindowSlider::Delegate: 82 // Overridden from WindowSlider::Delegate:
83 ui::Layer* CreateBackLayer() override; 83 ui::Layer* CreateBackLayer() override;
84 ui::Layer* CreateFrontLayer() override; 84 ui::Layer* CreateFrontLayer() override;
85 void OnWindowSlideCompleting() override; 85 void OnWindowSlideCompleting() override;
86 void OnWindowSlideCompleted(scoped_ptr<ui::Layer> layer) override; 86 void OnWindowSlideCompleted(scoped_ptr<ui::Layer> layer) override;
87 void OnWindowSlideAborted() override; 87 void OnWindowSlideAborted() override;
88 void OnWindowSliderDestroyed() override; 88 void OnWindowSliderDestroyed() override;
89 89
90 // Overridden from WebContentsObserver: 90 // Overridden from WebContentsObserver:
91 void DidFirstVisuallyNonEmptyPaint() override; 91 void DidFirstVisuallyNonEmptyPaint() override;
92 void DidStopLoading(RenderViewHost* host) override; 92 void DidStopLoading() override;
93 93
94 // The WebContents which is being navigated. 94 // The WebContents which is being navigated.
95 WebContentsImpl* web_contents_; 95 WebContentsImpl* web_contents_;
96 96
97 // The screenshot overlay window. 97 // The screenshot overlay window.
98 scoped_ptr<aura::Window> window_; 98 scoped_ptr<aura::Window> window_;
99 99
100 // This is the WindowDelegate of |window_|. The delegate manages its own 100 // This is the WindowDelegate of |window_|. The delegate manages its own
101 // lifetime (destroys itself when |window_| is destroyed). 101 // lifetime (destroys itself when |window_| is destroyed).
102 aura_extra::ImageWindowDelegate* image_delegate_; 102 aura_extra::ImageWindowDelegate* image_delegate_;
(...skipping 19 matching lines...) Expand all
122 122
123 // The LayerDelegate used for the back/front layers during a slide. 123 // The LayerDelegate used for the back/front layers during a slide.
124 scoped_ptr<ImageLayerDelegate> layer_delegate_; 124 scoped_ptr<ImageLayerDelegate> layer_delegate_;
125 125
126 DISALLOW_COPY_AND_ASSIGN(OverscrollNavigationOverlay); 126 DISALLOW_COPY_AND_ASSIGN(OverscrollNavigationOverlay);
127 }; 127 };
128 128
129 } // namespace content 129 } // namespace content
130 130
131 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_NAVIGATION_OVERLAY_H_ 131 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_NAVIGATION_OVERLAY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698