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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); | 347 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); |
349 void OnShowFullscreenWidget(int route_id); | 348 void OnShowFullscreenWidget(int route_id); |
350 void OnRunModal(int opener_id, IPC::Message* reply_msg); | 349 void OnRunModal(int opener_id, IPC::Message* reply_msg); |
351 void OnRenderViewReady(); | 350 void OnRenderViewReady(); |
352 void OnRenderProcessGone(int status, int error_code); | 351 void OnRenderProcessGone(int status, int error_code); |
353 void OnUpdateState(int32 page_id, const PageState& state); | 352 void OnUpdateState(int32 page_id, const PageState& state); |
354 void OnUpdateTargetURL(const GURL& url); | 353 void OnUpdateTargetURL(const GURL& url); |
355 void OnClose(); | 354 void OnClose(); |
356 void OnRequestMove(const gfx::Rect& pos); | 355 void OnRequestMove(const gfx::Rect& pos); |
357 void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level); | 356 void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level); |
358 void OnToggleFullscreen(bool enter_fullscreen); | |
359 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); | 357 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); |
360 void OnPasteFromSelectionClipboard(); | 358 void OnPasteFromSelectionClipboard(); |
361 void OnRouteCloseEvent(); | 359 void OnRouteCloseEvent(); |
362 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); | 360 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); |
363 void OnStartDragging(const DropData& drop_data, | 361 void OnStartDragging(const DropData& drop_data, |
364 blink::WebDragOperationsMask operations_allowed, | 362 blink::WebDragOperationsMask operations_allowed, |
365 const SkBitmap& bitmap, | 363 const SkBitmap& bitmap, |
366 const gfx::Vector2d& bitmap_offset_in_dip, | 364 const gfx::Vector2d& bitmap_offset_in_dip, |
367 const DragEventSourceInfo& event_info); | 365 const DragEventSourceInfo& event_info); |
368 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); | 366 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 474 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
477 }; | 475 }; |
478 | 476 |
479 #if defined(COMPILER_MSVC) | 477 #if defined(COMPILER_MSVC) |
480 #pragma warning(pop) | 478 #pragma warning(pop) |
481 #endif | 479 #endif |
482 | 480 |
483 } // namespace content | 481 } // namespace content |
484 | 482 |
485 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 483 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |