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/macros.h" |
13 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" |
| 14 #include "build/build_config.h" |
14 #include "content/public/common/top_controls_state.h" | 15 #include "content/public/common/top_controls_state.h" |
15 #include "content/public/renderer/render_view_observer.h" | 16 #include "content/public/renderer/render_view_observer.h" |
16 #include "url/gurl.h" | 17 #include "url/gurl.h" |
17 | 18 |
18 class ContentSettingsObserver; | 19 class ContentSettingsObserver; |
19 class SkBitmap; | 20 class SkBitmap; |
20 | 21 |
21 namespace blink { | 22 namespace blink { |
22 class WebView; | 23 class WebView; |
23 struct WebWindowFeatures; | 24 struct WebWindowFeatures; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 // Owned by ChromeContentRendererClient and outlive us. | 68 // Owned by ChromeContentRendererClient and outlive us. |
68 web_cache::WebCacheRenderProcessObserver* web_cache_render_process_observer_; | 69 web_cache::WebCacheRenderProcessObserver* web_cache_render_process_observer_; |
69 | 70 |
70 // true if webview is overlayed with grey color. | 71 // true if webview is overlayed with grey color. |
71 bool webview_visually_deemphasized_; | 72 bool webview_visually_deemphasized_; |
72 | 73 |
73 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); | 74 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); |
74 }; | 75 }; |
75 | 76 |
76 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 77 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
OLD | NEW |