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 CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 void EnableAutoResize(const gfx::Size& min_size, | 146 void EnableAutoResize(const gfx::Size& min_size, |
147 const gfx::Size& max_size) override; | 147 const gfx::Size& max_size) override; |
148 void DisableAutoResize(const gfx::Size& new_size) override; | 148 void DisableAutoResize(const gfx::Size& new_size) override; |
149 void EnablePreferredSizeMode() override; | 149 void EnablePreferredSizeMode() override; |
150 void ExecuteMediaPlayerActionAtLocation( | 150 void ExecuteMediaPlayerActionAtLocation( |
151 const gfx::Point& location, | 151 const gfx::Point& location, |
152 const blink::WebMediaPlayerAction& action) override; | 152 const blink::WebMediaPlayerAction& action) override; |
153 void ExecutePluginActionAtLocation( | 153 void ExecutePluginActionAtLocation( |
154 const gfx::Point& location, | 154 const gfx::Point& location, |
155 const blink::WebPluginAction& action) override; | 155 const blink::WebPluginAction& action) override; |
156 void ExitFullscreen() override; | |
157 void FilesSelectedInChooser( | 156 void FilesSelectedInChooser( |
158 const std::vector<content::FileChooserFileInfo>& files, | 157 const std::vector<content::FileChooserFileInfo>& files, |
159 FileChooserParams::Mode permissions) override; | 158 FileChooserParams::Mode permissions) override; |
160 RenderViewHostDelegate* GetDelegate() const override; | 159 RenderViewHostDelegate* GetDelegate() const override; |
161 int GetEnabledBindings() const override; | 160 int GetEnabledBindings() const override; |
162 SiteInstanceImpl* GetSiteInstance() const override; | 161 SiteInstanceImpl* GetSiteInstance() const override; |
163 bool IsRenderViewLive() const override; | 162 bool IsRenderViewLive() const override; |
164 void NotifyMoveOrResizeStarted() override; | 163 void NotifyMoveOrResizeStarted() override; |
165 void SetWebUIProperty(const std::string& name, | 164 void SetWebUIProperty(const std::string& name, |
166 const std::string& value) override; | 165 const std::string& value) override; |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); | 341 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); |
343 void OnShowFullscreenWidget(int route_id); | 342 void OnShowFullscreenWidget(int route_id); |
344 void OnRunModal(int opener_id, IPC::Message* reply_msg); | 343 void OnRunModal(int opener_id, IPC::Message* reply_msg); |
345 void OnRenderViewReady(); | 344 void OnRenderViewReady(); |
346 void OnRenderProcessGone(int status, int error_code); | 345 void OnRenderProcessGone(int status, int error_code); |
347 void OnUpdateState(int32 page_id, const PageState& state); | 346 void OnUpdateState(int32 page_id, const PageState& state); |
348 void OnUpdateTargetURL(const GURL& url); | 347 void OnUpdateTargetURL(const GURL& url); |
349 void OnClose(); | 348 void OnClose(); |
350 void OnRequestMove(const gfx::Rect& pos); | 349 void OnRequestMove(const gfx::Rect& pos); |
351 void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level); | 350 void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level); |
352 void OnToggleFullscreen(bool enter_fullscreen); | |
353 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); | 351 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); |
354 void OnPasteFromSelectionClipboard(); | 352 void OnPasteFromSelectionClipboard(); |
355 void OnRouteCloseEvent(); | 353 void OnRouteCloseEvent(); |
356 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); | 354 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); |
357 void OnStartDragging(const DropData& drop_data, | 355 void OnStartDragging(const DropData& drop_data, |
358 blink::WebDragOperationsMask operations_allowed, | 356 blink::WebDragOperationsMask operations_allowed, |
359 const SkBitmap& bitmap, | 357 const SkBitmap& bitmap, |
360 const gfx::Vector2d& bitmap_offset_in_dip, | 358 const gfx::Vector2d& bitmap_offset_in_dip, |
361 const DragEventSourceInfo& event_info); | 359 const DragEventSourceInfo& event_info); |
362 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); | 360 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 464 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
467 }; | 465 }; |
468 | 466 |
469 #if defined(COMPILER_MSVC) | 467 #if defined(COMPILER_MSVC) |
470 #pragma warning(pop) | 468 #pragma warning(pop) |
471 #endif | 469 #endif |
472 | 470 |
473 } // namespace content | 471 } // namespace content |
474 | 472 |
475 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 473 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |