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

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

Issue 8587001: Have ExtensionHost use TabContents instead of RenderViewHost. Try #3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #if defined(__OBJC__) 9 #if defined(__OBJC__)
10 10
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // Event monitor for gesture-end events. 123 // Event monitor for gesture-end events.
124 id endGestureMonitor_; 124 id endGestureMonitor_;
125 } 125 }
126 126
127 @property(nonatomic, readonly) NSRange selectedRange; 127 @property(nonatomic, readonly) NSRange selectedRange;
128 128
129 - (void)setCanBeKeyView:(BOOL)can; 129 - (void)setCanBeKeyView:(BOOL)can;
130 - (void)setTakesFocusOnlyOnMouseDown:(BOOL)b; 130 - (void)setTakesFocusOnlyOnMouseDown:(BOOL)b;
131 - (void)setCloseOnDeactivate:(BOOL)b; 131 - (void)setCloseOnDeactivate:(BOOL)b;
132 - (void)setToolTipAtMousePoint:(NSString *)string; 132 - (void)setToolTipAtMousePoint:(NSString *)string;
133 // Set frame, then notify the RenderWidgetHost that the frame has been changed,
134 // but do it in a separate task, using |performSelector:withObject:afterDelay:|.
135 // This stops the flickering issue in http://crbug.com/31970
136 - (void)setFrameWithDeferredUpdate:(NSRect)frame;
137 // Notify the RenderWidgetHost that the frame was updated so it can resize
138 // its contents.
139 - (void)renderWidgetHostWasResized;
140 // Cancel ongoing composition (abandon the marked text). 133 // Cancel ongoing composition (abandon the marked text).
141 - (void)cancelComposition; 134 - (void)cancelComposition;
142 // Confirm ongoing composition. 135 // Confirm ongoing composition.
143 - (void)confirmComposition; 136 - (void)confirmComposition;
144 // Enables or disables plugin IME. 137 // Enables or disables plugin IME.
145 - (void)setPluginImeActive:(BOOL)active; 138 - (void)setPluginImeActive:(BOOL)active;
146 // Updates the current plugin focus state. 139 // Updates the current plugin focus state.
147 - (void)pluginFocusChanged:(BOOL)focused forPlugin:(int)pluginId; 140 - (void)pluginFocusChanged:(BOOL)focused forPlugin:(int)pluginId;
148 // Evaluates the event in the context of plugin IME, if plugin IME is enabled. 141 // Evaluates the event in the context of plugin IME, if plugin IME is enabled.
149 // Returns YES if the event was handled. 142 // Returns YES if the event was handled.
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 416
424 class RenderWidgetHostView; 417 class RenderWidgetHostView;
425 class RenderWidgetHost; 418 class RenderWidgetHost;
426 419
427 namespace render_widget_host_view_mac { 420 namespace render_widget_host_view_mac {
428 CONTENT_EXPORT RenderWidgetHostView* CreateRenderWidgetHostView( 421 CONTENT_EXPORT RenderWidgetHostView* CreateRenderWidgetHostView(
429 RenderWidgetHost* widget); 422 RenderWidgetHost* widget);
430 } 423 }
431 424
432 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 425 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698