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

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

Issue 266053003: Remove page IDs from three WebContentsObserver APIs that don't need it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 // Overridden from WindowSlider::Delegate: 85 // Overridden from WindowSlider::Delegate:
86 virtual ui::Layer* CreateBackLayer() OVERRIDE; 86 virtual ui::Layer* CreateBackLayer() OVERRIDE;
87 virtual ui::Layer* CreateFrontLayer() OVERRIDE; 87 virtual ui::Layer* CreateFrontLayer() OVERRIDE;
88 virtual void OnWindowSlideCompleting() OVERRIDE; 88 virtual void OnWindowSlideCompleting() OVERRIDE;
89 virtual void OnWindowSlideCompleted() OVERRIDE; 89 virtual void OnWindowSlideCompleted() OVERRIDE;
90 virtual void OnWindowSlideAborted() OVERRIDE; 90 virtual void OnWindowSlideAborted() OVERRIDE;
91 virtual void OnWindowSliderDestroyed() OVERRIDE; 91 virtual void OnWindowSliderDestroyed() OVERRIDE;
92 92
93 // Overridden from WebContentsObserver: 93 // Overridden from WebContentsObserver:
94 virtual void DocumentOnLoadCompletedInMainFrame(int32 page_id) OVERRIDE; 94 virtual void DocumentOnLoadCompletedInMainFrame() OVERRIDE;
95 virtual void DidFirstVisuallyNonEmptyPaint(int32 page_id) OVERRIDE; 95 virtual void DidFirstVisuallyNonEmptyPaint() OVERRIDE;
96 virtual void DidStopLoading(RenderViewHost* host) OVERRIDE; 96 virtual void DidStopLoading(RenderViewHost* host) OVERRIDE;
97 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 97 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
98 98
99 // The WebContents which is being navigated. 99 // The WebContents which is being navigated.
100 WebContentsImpl* web_contents_; 100 WebContentsImpl* web_contents_;
101 101
102 // The screenshot overlay window. 102 // The screenshot overlay window.
103 scoped_ptr<aura::Window> window_; 103 scoped_ptr<aura::Window> window_;
104 104
105 // This is the WindowDelegate of |window_|. The delegate manages its own 105 // This is the WindowDelegate of |window_|. The delegate manages its own
(...skipping 22 matching lines...) Expand all
128 // container keeps waiting for a paint update it never receives, causing a 128 // container keeps waiting for a paint update it never receives, causing a
129 // timeout. So during tests, disable the wait for paint updates. 129 // timeout. So during tests, disable the wait for paint updates.
130 bool need_paint_update_; 130 bool need_paint_update_;
131 131
132 DISALLOW_COPY_AND_ASSIGN(OverscrollNavigationOverlay); 132 DISALLOW_COPY_AND_ASSIGN(OverscrollNavigationOverlay);
133 }; 133 };
134 134
135 } // namespace content 135 } // namespace content
136 136
137 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_NAVIGATION_OVERLAY_H_ 137 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_NAVIGATION_OVERLAY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698