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

Side by Side Diff: content/public/browser/web_contents_view.h

Issue 10824004: [mac] Implement {frame: 'none'} app window on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « content/browser/web_contents/web_contents_view_mac.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // If we close the tab while a UI control is in an event-tracking 110 // If we close the tab while a UI control is in an event-tracking
111 // loop, the control may message freed objects and crash. 111 // loop, the control may message freed objects and crash.
112 // WebContents::Close() calls IsEventTracking(), and if it returns 112 // WebContents::Close() calls IsEventTracking(), and if it returns
113 // true CloseTabAfterEventTracking() is called and the close is not 113 // true CloseTabAfterEventTracking() is called and the close is not
114 // completed. 114 // completed.
115 virtual bool IsEventTracking() const = 0; 115 virtual bool IsEventTracking() const = 0;
116 virtual void CloseTabAfterEventTracking() = 0; 116 virtual void CloseTabAfterEventTracking() = 0;
117 117
118 // Get the bounds of the View, relative to the parent. 118 // Get the bounds of the View, relative to the parent.
119 virtual gfx::Rect GetViewBounds() const = 0; 119 virtual gfx::Rect GetViewBounds() const = 0;
120
121 #if defined(OS_MACOSX)
122 virtual void SetMouseDownCanMoveWindow(bool can_move) = 0;
jam 2012/07/25 01:27:15 the event tracking functions right above are only
jeremya 2012/07/25 03:15:59 Hm, it seems misleading to have a method exist on
123 #endif
120 }; 124 };
121 125
122 } // namespace content 126 } // namespace content
123 127
124 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_ 128 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698