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

Side by Side Diff: chrome/renderer/chrome_render_view_observer.h

Issue 10855151: Gradient overlay for constrained window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos Created 8 years, 4 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/renderer/chrome_render_view_observer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/memory/linked_ptr.h" 12 #include "base/memory/linked_ptr.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/timer.h" 14 #include "base/timer.h"
15 #include "chrome/common/extensions/permissions/api_permission.h" 15 #include "chrome/common/extensions/permissions/api_permission.h"
16 #include "content/public/renderer/render_view_observer.h" 16 #include "content/public/renderer/render_view_observer.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPermissionClient.h " 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPermissionClient.h "
19 19
20 class ChromeRenderProcessObserver; 20 class ChromeRenderProcessObserver;
21 class ContentSettingsObserver; 21 class ContentSettingsObserver;
22 class ExternalHostBindings; 22 class ExternalHostBindings;
23 class SkBitmap; 23 class SkBitmap;
24 class TranslateHelper; 24 class TranslateHelper;
25 struct ThumbnailScore; 25 struct ThumbnailScore;
26 class WebViewColorOverlay; 26 class WebViewColorOverlay;
27 class WebViewAnimatingOverlay;
27 28
28 namespace extensions { 29 namespace extensions {
29 class Dispatcher; 30 class Dispatcher;
30 } 31 }
31 32
32 namespace WebKit { 33 namespace WebKit {
33 class WebView; 34 class WebView;
34 } 35 }
35 36
36 namespace safe_browsing { 37 namespace safe_browsing {
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 typedef std::vector< 227 typedef std::vector<
227 linked_ptr<webkit_glue::MultiResolutionImageResourceFetcher> > 228 linked_ptr<webkit_glue::MultiResolutionImageResourceFetcher> >
228 ImageResourceFetcherList; 229 ImageResourceFetcherList;
229 230
230 // ImageResourceFetchers schedule via DownloadImage. 231 // ImageResourceFetchers schedule via DownloadImage.
231 ImageResourceFetcherList image_fetchers_; 232 ImageResourceFetcherList image_fetchers_;
232 233
233 // A color page overlay when visually de-emaphasized. 234 // A color page overlay when visually de-emaphasized.
234 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; 235 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_;
235 236
237 // A animating page overlay when visually de-emaphasized.
238 scoped_ptr<WebViewAnimatingOverlay> dimmed_animating_overlay_;
239
236 // Used to delay calling CapturePageInfo. 240 // Used to delay calling CapturePageInfo.
237 base::Timer capture_timer_; 241 base::Timer capture_timer_;
238 242
239 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); 243 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver);
240 }; 244 };
241 245
242 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ 246 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/renderer/chrome_render_view_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698