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

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

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 years, 9 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
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 CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" 45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" 46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h"
47 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" 47 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h"
48 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC ontext3D.h" 48 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC ontext3D.h"
49 #include "ui/base/javascript_message_type.h" 49 #include "ui/base/javascript_message_type.h"
50 #include "ui/gfx/surface/transport_dib.h" 50 #include "ui/gfx/surface/transport_dib.h"
51 #include "webkit/glue/webpreferences.h" 51 #include "webkit/glue/webpreferences.h"
52 #include "webkit/media/webmediaplayer_delegate.h" 52 #include "webkit/media/webmediaplayer_delegate.h"
53 #include "webkit/plugins/npapi/webplugin_page_delegate.h" 53 #include "webkit/plugins/npapi/webplugin_page_delegate.h"
54 54
55 #if defined(OS_WIN) 55 #if defined(COMPILER_MSVC)
56 // RenderViewImpl is a diamond-shaped hierarchy, with WebWidgetClient at the 56 // RenderViewImpl is a diamond-shaped hierarchy, with WebWidgetClient at the
57 // root. VS warns when we inherit the WebWidgetClient method implementations 57 // root. VS warns when we inherit the WebWidgetClient method implementations
58 // from RenderWidget. It's safe to ignore that warning. 58 // from RenderWidget. It's safe to ignore that warning.
59 #pragma warning(disable: 4250) 59 #pragma warning(disable: 4250)
60 #endif 60 #endif
61 61
62 class DeviceOrientationDispatcher; 62 class DeviceOrientationDispatcher;
63 class DevToolsAgent; 63 class DevToolsAgent;
64 class DomAutomationController; 64 class DomAutomationController;
65 class ExternalPopupMenu; 65 class ExternalPopupMenu;
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 // WebKit::WebPageSerializerClient implementation ---------------------------- 581 // WebKit::WebPageSerializerClient implementation ----------------------------
582 582
583 virtual void didSerializeDataForFrame( 583 virtual void didSerializeDataForFrame(
584 const WebKit::WebURL& frame_url, 584 const WebKit::WebURL& frame_url,
585 const WebKit::WebCString& data, 585 const WebKit::WebCString& data,
586 PageSerializationStatus status) OVERRIDE; 586 PageSerializationStatus status) OVERRIDE;
587 587
588 // content::RenderView implementation ---------------------------------------- 588 // content::RenderView implementation ----------------------------------------
589 589
590 virtual bool Send(IPC::Message* message) OVERRIDE; 590 virtual bool Send(IPC::Message* message) OVERRIDE;
591 virtual int GetRoutingId() const OVERRIDE; 591 virtual int GetRoutingID() const OVERRIDE;
592 virtual int GetPageId() OVERRIDE; 592 virtual int GetPageId() OVERRIDE;
593 virtual gfx::Size GetSize() OVERRIDE; 593 virtual gfx::Size GetSize() OVERRIDE;
594 virtual gfx::NativeViewId GetHostWindow() OVERRIDE; 594 virtual gfx::NativeViewId GetHostWindow() OVERRIDE;
595 virtual WebPreferences& GetWebkitPreferences() OVERRIDE; 595 virtual WebPreferences& GetWebkitPreferences() OVERRIDE;
596 virtual WebKit::WebView* GetWebView() OVERRIDE; 596 virtual WebKit::WebView* GetWebView() OVERRIDE;
597 virtual WebKit::WebNode GetFocusedNode() const OVERRIDE; 597 virtual WebKit::WebNode GetFocusedNode() const OVERRIDE;
598 virtual WebKit::WebNode GetContextMenuNode() const OVERRIDE; 598 virtual WebKit::WebNode GetContextMenuNode() const OVERRIDE;
599 virtual bool IsEditableNode(const WebKit::WebNode& node) OVERRIDE; 599 virtual bool IsEditableNode(const WebKit::WebNode& node) OVERRIDE;
600 virtual WebKit::WebPlugin* CreatePlugin( 600 virtual WebKit::WebPlugin* CreatePlugin(
601 WebKit::WebFrame* frame, 601 WebKit::WebFrame* frame,
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
1296 // bunch of stuff, you should probably create a helper class and put your 1296 // bunch of stuff, you should probably create a helper class and put your
1297 // data and methods on that to avoid bloating RenderView more. You can 1297 // data and methods on that to avoid bloating RenderView more. You can
1298 // use the Observer interface to filter IPC messages and receive frame change 1298 // use the Observer interface to filter IPC messages and receive frame change
1299 // notifications. 1299 // notifications.
1300 // --------------------------------------------------------------------------- 1300 // ---------------------------------------------------------------------------
1301 1301
1302 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1302 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1303 }; 1303 };
1304 1304
1305 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1305 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698