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

Side by Side Diff: chrome/browser/tab_contents/tab_contents_view_mac.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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) 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 CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 virtual void StartDragging(const WebDropData& drop_data, 93 virtual void StartDragging(const WebDropData& drop_data,
94 WebKit::WebDragOperationsMask allowed_operations, 94 WebKit::WebDragOperationsMask allowed_operations,
95 const SkBitmap& image, 95 const SkBitmap& image,
96 const gfx::Point& image_offset); 96 const gfx::Point& image_offset);
97 virtual void UpdateDragCursor(WebKit::WebDragOperation operation); 97 virtual void UpdateDragCursor(WebKit::WebDragOperation operation);
98 virtual void GotFocus(); 98 virtual void GotFocus();
99 virtual void TakeFocus(bool reverse); 99 virtual void TakeFocus(bool reverse);
100 100
101 // NotificationObserver implementation --------------------------------------- 101 // NotificationObserver implementation ---------------------------------------
102 102
103 virtual void Observe(NotificationType type, 103 virtual void Observe(int type,
104 const NotificationSource& source, 104 const NotificationSource& source,
105 const NotificationDetails& details); 105 const NotificationDetails& details);
106 106
107 // A helper method for closing the tab in the 107 // A helper method for closing the tab in the
108 // CloseTabAfterEventTracking() implementation. 108 // CloseTabAfterEventTracking() implementation.
109 void CloseTab(); 109 void CloseTab();
110 110
111 int preferred_width() const { return preferred_width_; } 111 int preferred_width() const { return preferred_width_; }
112 112
113 private: 113 private:
(...skipping 11 matching lines...) Expand all
125 // visible. 125 // visible.
126 scoped_nsobject<SadTabController> sad_tab_; 126 scoped_nsobject<SadTabController> sad_tab_;
127 127
128 // The page content's intrinsic width. 128 // The page content's intrinsic width.
129 int preferred_width_; 129 int preferred_width_;
130 130
131 DISALLOW_COPY_AND_ASSIGN(TabContentsViewMac); 131 DISALLOW_COPY_AND_ASSIGN(TabContentsViewMac);
132 }; 132 };
133 133
134 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ 134 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_view_gtk.cc ('k') | chrome/browser/tab_contents/tab_contents_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698