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

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

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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/overscroll_window_animation.h" 10 #include "content/browser/web_contents/aura/overscroll_window_animation.h"
11 #include "content/browser/web_contents/web_contents_view_aura.h" 11 #include "content/browser/web_contents/web_contents_view_aura.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "content/public/browser/web_contents_observer.h" 13 #include "content/public/browser/web_contents_observer.h"
14 #include "ui/gfx/image/image.h" 14 #include "ui/gfx/image/image.h"
15 15
16 struct ViewHostMsg_UpdateRect_Params;
17
18 namespace content { 16 namespace content {
19 17
20 class OverscrollWindowDelegate;
21 class OverscrollNavigationOverlayTest; 18 class OverscrollNavigationOverlayTest;
22 19
23 // When a history navigation is triggered at the end of an overscroll 20 // When a history navigation is triggered at the end of an overscroll
24 // navigation, it is necessary to show the history-screenshot until the page is 21 // navigation, it is necessary to show the history-screenshot until the page is
25 // done navigating and painting. This class accomplishes this by calling the 22 // done navigating and painting. This class accomplishes this by calling the
26 // navigation and creating, showing and destroying the screenshot window on top 23 // navigation and creating, showing and destroying the screenshot window on top
27 // of the page until the page has completed loading and painting. When the 24 // of the page until the page has completed loading and painting. When the
28 // overscroll completes, this screenshot window is returned by 25 // overscroll completes, this screenshot window is returned by
29 // OnOverscrollComplete and |window_| is set to own it. 26 // OnOverscrollComplete and |window_| is set to own it.
30 // There are two overscroll cases, for the first one the main window is the web 27 // There are two overscroll cases, for the first one the main window is the web
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 115
119 // The window that hosts the web contents. 116 // The window that hosts the web contents.
120 aura::Window* web_contents_window_; 117 aura::Window* web_contents_window_;
121 118
122 DISALLOW_COPY_AND_ASSIGN(OverscrollNavigationOverlay); 119 DISALLOW_COPY_AND_ASSIGN(OverscrollNavigationOverlay);
123 }; 120 };
124 121
125 } // namespace content 122 } // namespace content
126 123
127 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_NAVIGATION_OVERLAY_H_ 124 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_NAVIGATION_OVERLAY_H_
OLDNEW
« no previous file with comments | « content/browser/tracing/tracing_controller_impl.h ('k') | content/browser/web_contents/aura/overscroll_window_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698