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_WIDGET_HOST_VIEW_MAC_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 virtual void SetShowingContextMenu(bool showing) OVERRIDE; | 250 virtual void SetShowingContextMenu(bool showing) OVERRIDE; |
251 virtual void SetActive(bool active) OVERRIDE; | 251 virtual void SetActive(bool active) OVERRIDE; |
252 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; | 252 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; |
253 virtual void SetWindowVisibility(bool visible) OVERRIDE; | 253 virtual void SetWindowVisibility(bool visible) OVERRIDE; |
254 virtual void WindowFrameChanged() OVERRIDE; | 254 virtual void WindowFrameChanged() OVERRIDE; |
255 virtual void ShowDefinitionForSelection() OVERRIDE; | 255 virtual void ShowDefinitionForSelection() OVERRIDE; |
256 virtual bool SupportsSpeech() const OVERRIDE; | 256 virtual bool SupportsSpeech() const OVERRIDE; |
257 virtual void SpeakSelection() OVERRIDE; | 257 virtual void SpeakSelection() OVERRIDE; |
258 virtual bool IsSpeaking() const OVERRIDE; | 258 virtual bool IsSpeaking() const OVERRIDE; |
259 virtual void StopSpeaking() OVERRIDE; | 259 virtual void StopSpeaking() OVERRIDE; |
260 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 260 virtual void SetBackgroundOpaque(bool opaque) OVERRIDE; |
261 | 261 |
262 // Implementation of RenderWidgetHostViewBase. | 262 // Implementation of RenderWidgetHostViewBase. |
263 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 263 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
264 const gfx::Rect& pos) OVERRIDE; | 264 const gfx::Rect& pos) OVERRIDE; |
265 virtual void InitAsFullscreen( | 265 virtual void InitAsFullscreen( |
266 RenderWidgetHostView* reference_host_view) OVERRIDE; | 266 RenderWidgetHostView* reference_host_view) OVERRIDE; |
267 virtual void WasShown() OVERRIDE; | 267 virtual void WasShown() OVERRIDE; |
268 virtual void WasHidden() OVERRIDE; | 268 virtual void WasHidden() OVERRIDE; |
269 virtual void MovePluginWindows( | 269 virtual void MovePluginWindows( |
270 const std::vector<WebPluginGeometry>& moves) OVERRIDE; | 270 const std::vector<WebPluginGeometry>& moves) OVERRIDE; |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 643 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; |
644 | 644 |
645 base::WeakPtrFactory<RenderWidgetHostViewMac> | 645 base::WeakPtrFactory<RenderWidgetHostViewMac> |
646 software_frame_weak_ptr_factory_; | 646 software_frame_weak_ptr_factory_; |
647 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 647 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
648 }; | 648 }; |
649 | 649 |
650 } // namespace content | 650 } // namespace content |
651 | 651 |
652 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 652 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |