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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_mac.h

Issue 10830176: [Mac]: Make dictionary context menu item use system settings for whether to launch Dictionary.app o… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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_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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; 202 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE;
203 virtual void Show() OVERRIDE; 203 virtual void Show() OVERRIDE;
204 virtual void Hide() OVERRIDE; 204 virtual void Hide() OVERRIDE;
205 virtual bool IsShowing() OVERRIDE; 205 virtual bool IsShowing() OVERRIDE;
206 virtual gfx::Rect GetViewBounds() const OVERRIDE; 206 virtual gfx::Rect GetViewBounds() const OVERRIDE;
207 virtual void SetShowingContextMenu(bool showing) OVERRIDE; 207 virtual void SetShowingContextMenu(bool showing) OVERRIDE;
208 virtual void SetActive(bool active) OVERRIDE; 208 virtual void SetActive(bool active) OVERRIDE;
209 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; 209 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE;
210 virtual void SetWindowVisibility(bool visible) OVERRIDE; 210 virtual void SetWindowVisibility(bool visible) OVERRIDE;
211 virtual void WindowFrameChanged() OVERRIDE; 211 virtual void WindowFrameChanged() OVERRIDE;
212 virtual void ShowDefinitionForSelection() OVERRIDE;
212 virtual bool SupportsSpeech() const OVERRIDE; 213 virtual bool SupportsSpeech() const OVERRIDE;
213 virtual void SpeakSelection() OVERRIDE; 214 virtual void SpeakSelection() OVERRIDE;
214 virtual bool IsSpeaking() const OVERRIDE; 215 virtual bool IsSpeaking() const OVERRIDE;
215 virtual void StopSpeaking() OVERRIDE; 216 virtual void StopSpeaking() OVERRIDE;
216 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 217 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
217 218
218 // Implementation of RenderWidgetHostViewPort. 219 // Implementation of RenderWidgetHostViewPort.
219 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 220 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
220 const gfx::Rect& pos) OVERRIDE; 221 const gfx::Rect& pos) OVERRIDE;
221 virtual void InitAsFullscreen( 222 virtual void InitAsFullscreen(
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 469
469 // The current caret bounds. 470 // The current caret bounds.
470 gfx::Rect caret_rect_; 471 gfx::Rect caret_rect_;
471 472
472 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 473 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
473 }; 474 };
474 475
475 } // namespace content 476 } // namespace content
476 477
477 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 478 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698