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 CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 5 #ifndef CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/timer/timer.h" | 15 #include "base/timer/timer.h" |
16 #include "content/public/common/top_controls_state.h" | 16 #include "content/public/common/top_controls_state.h" |
17 #include "content/public/renderer/render_view_observer.h" | 17 #include "content/public/renderer/render_view_observer.h" |
18 #include "ui/gfx/size.h" | 18 #include "ui/gfx/geometry/size.h" |
19 #include "url/gurl.h" | 19 #include "url/gurl.h" |
20 | 20 |
21 class ContentSettingsObserver; | 21 class ContentSettingsObserver; |
22 class SkBitmap; | 22 class SkBitmap; |
23 class WebViewColorOverlay; | 23 class WebViewColorOverlay; |
24 class WebViewAnimatingOverlay; | 24 class WebViewAnimatingOverlay; |
25 | 25 |
26 namespace blink { | 26 namespace blink { |
27 class WebView; | 27 class WebView; |
28 struct WebWindowFeatures; | 28 struct WebWindowFeatures; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 // A color page overlay when visually de-emaphasized. | 107 // A color page overlay when visually de-emaphasized. |
108 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; | 108 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; |
109 | 109 |
110 // Used to delay calling CapturePageInfo. | 110 // Used to delay calling CapturePageInfo. |
111 base::Timer capture_timer_; | 111 base::Timer capture_timer_; |
112 | 112 |
113 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); | 113 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); |
114 }; | 114 }; |
115 | 115 |
116 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 116 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
OLD | NEW |