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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac_delegate.h

Issue 9307063: Split TabContentsViewMac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_view_mac_delegate.h
diff --git a/content/browser/renderer_host/render_widget_host_view_mac_delegate.h b/content/browser/renderer_host/render_widget_host_view_mac_delegate.h
deleted file mode 100644
index fa621f01c6e9a1491bc014bdc4f8c3def2e295a7..0000000000000000000000000000000000000000
--- a/content/browser/renderer_host/render_widget_host_view_mac_delegate.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_
-#define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_
-#pragma once
-
-#import <Cocoa/Cocoa.h>
-
-// This protocol is used as a delegate for the NSView class used in the
-// hierarchy. There are two ways to extend the view:
-// - Implement the methods listed in the protocol below.
-// - Implement any method, and if the view is requested to perform that method
-// and cannot, the delegate's implementation will be used.
-//
-// Like any delegate, it is not retained by the delegator object. The delegator
-// object will call the -viewGone: method when it is going away.
-
-@protocol RenderWidgetHostViewMacDelegate
-@optional
-// Notification that the view is gone.
-- (void)viewGone:(NSView*)view;
-
-// Handle an event. All incoming key and mouse events flow through this delegate
-// method if implemented. Return YES if the event is fully handled, or NO if
-// normal processing should take place.
-- (BOOL)handleEvent:(NSEvent*)event;
-
-// Notification that a wheel event was unhandled.
-- (void)gotUnhandledWheelEvent;
-
-// Notification of scroll offset pinning.
-- (void)scrollOffsetPinnedToLeft:(BOOL)left toRight:(BOOL)right;
-
-// Notification of whether the view has a horizontal scrollbar.
-- (void)setHasHorizontalScrollbar:(BOOL)has_horizontal_scrollbar;
-
-// Provides validation of user interface items. If the return value is NO, then
-// the delegate is unaware of that item and |valid| is undefined. Otherwise,
-// |valid| contains the validity of the specified item.
-- (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item
- isValidItem:(BOOL*)valid;
-
-@end
-
-#endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698