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

Side by Side Diff: content/renderer/render_view.h

Issue 6979006: Revert 86569 - Enabling page visibility api in the chrome browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « build/features_override.gypi ('k') | content/renderer/render_view.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 17 matching lines...) Expand all
28 #include "content/common/renderer_preferences.h" 28 #include "content/common/renderer_preferences.h"
29 #include "content/renderer/pepper_plugin_delegate_impl.h" 29 #include "content/renderer/pepper_plugin_delegate_impl.h"
30 #include "content/renderer/render_widget.h" 30 #include "content/renderer/render_widget.h"
31 #include "ipc/ipc_platform_file.h" 31 #include "ipc/ipc_platform_file.h"
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityNotif ication.h" 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityNotif ication.h"
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h"
34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h" 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h"
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h"
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIconURL.h" 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIconURL.h"
37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h"
38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h"
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h"
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h"
42 #include "ui/gfx/surface/transport_dib.h" 41 #include "ui/gfx/surface/transport_dib.h"
43 #include "webkit/glue/webpreferences.h" 42 #include "webkit/glue/webpreferences.h"
44 #include "webkit/plugins/npapi/webplugin_page_delegate.h" 43 #include "webkit/plugins/npapi/webplugin_page_delegate.h"
45 44
46 #if defined(OS_WIN) 45 #if defined(OS_WIN)
47 // RenderView is a diamond-shaped hierarchy, with WebWidgetClient at the root. 46 // RenderView is a diamond-shaped hierarchy, with WebWidgetClient at the root.
48 // VS warns when we inherit the WebWidgetClient method implementations from 47 // VS warns when we inherit the WebWidgetClient method implementations from
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 virtual WebKit::WebGeolocationClient* geolocationClient(); 421 virtual WebKit::WebGeolocationClient* geolocationClient();
423 virtual WebKit::WebSpeechInputController* speechInputController( 422 virtual WebKit::WebSpeechInputController* speechInputController(
424 WebKit::WebSpeechInputListener* listener); 423 WebKit::WebSpeechInputListener* listener);
425 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); 424 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient();
426 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); 425 virtual void zoomLimitsChanged(double minimum_level, double maximum_level);
427 virtual void zoomLevelChanged(); 426 virtual void zoomLevelChanged();
428 virtual void registerProtocolHandler(const WebKit::WebString& scheme, 427 virtual void registerProtocolHandler(const WebKit::WebString& scheme,
429 const WebKit::WebString& base_url, 428 const WebKit::WebString& base_url,
430 const WebKit::WebString& url, 429 const WebKit::WebString& url,
431 const WebKit::WebString& title); 430 const WebKit::WebString& title);
432 virtual WebKit::WebPageVisibilityState visibilityState() const;
433 431
434 // WebKit::WebFrameClient implementation ------------------------------------- 432 // WebKit::WebFrameClient implementation -------------------------------------
435 433
436 virtual WebKit::WebPlugin* createPlugin( 434 virtual WebKit::WebPlugin* createPlugin(
437 WebKit::WebFrame* frame, 435 WebKit::WebFrame* frame,
438 const WebKit::WebPluginParams& params); 436 const WebKit::WebPluginParams& params);
439 virtual WebKit::WebWorker* createWorker(WebKit::WebFrame* frame, 437 virtual WebKit::WebWorker* createWorker(WebKit::WebFrame* frame,
440 WebKit::WebWorkerClient* client); 438 WebKit::WebWorkerClient* client);
441 virtual WebKit::WebSharedWorker* createSharedWorker( 439 virtual WebKit::WebSharedWorker* createSharedWorker(
442 WebKit::WebFrame* frame, const WebKit::WebURL& url, 440 WebKit::WebFrame* frame, const WebKit::WebURL& url,
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
1151 // bunch of stuff, you should probably create a helper class and put your 1149 // bunch of stuff, you should probably create a helper class and put your
1152 // data and methods on that to avoid bloating RenderView more. You can use 1150 // data and methods on that to avoid bloating RenderView more. You can use
1153 // the Observer interface to filter IPC messages and receive frame change 1151 // the Observer interface to filter IPC messages and receive frame change
1154 // notifications. 1152 // notifications.
1155 // --------------------------------------------------------------------------- 1153 // ---------------------------------------------------------------------------
1156 1154
1157 DISALLOW_COPY_AND_ASSIGN(RenderView); 1155 DISALLOW_COPY_AND_ASSIGN(RenderView);
1158 }; 1156 };
1159 1157
1160 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1158 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « build/features_override.gypi ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698