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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_controller.h

Issue 10885024: Integrate Chrome To Mobile with Action Box UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable ShowChromeToMobileBubble on GTK. Created 8 years, 3 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 CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
7 7
8 // A class acting as the Objective-C controller for the Browser 8 // A class acting as the Objective-C controller for the Browser
9 // object. Handles interactions between Cocoa and the cross-platform 9 // object. Handles interactions between Cocoa and the cross-platform
10 // code. Each window has a single toolbar and, by virtue of being a 10 // code. Each window has a single toolbar and, by virtue of being a
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 // Gets the window style. 320 // Gets the window style.
321 - (ThemedWindowStyle)themedWindowStyle; 321 - (ThemedWindowStyle)themedWindowStyle;
322 322
323 // Gets the pattern phase for the window. 323 // Gets the pattern phase for the window.
324 - (NSPoint)themePatternPhase; 324 - (NSPoint)themePatternPhase;
325 325
326 // Return the point to which a bubble window's arrow should point, in window 326 // Return the point to which a bubble window's arrow should point, in window
327 // coordinates. 327 // coordinates.
328 - (NSPoint)bookmarkBubblePoint; 328 - (NSPoint)bookmarkBubblePoint;
329 329
330 // Return the Chrome To Mobile bubble window's arrow anchor point, in window
331 // coordinates.
332 - (NSPoint)chromeToMobileBubblePoint;
333
334 // Shows or hides the Instant preview contents. 330 // Shows or hides the Instant preview contents.
335 - (void)showInstant:(content::WebContents*)previewContents; 331 - (void)showInstant:(content::WebContents*)previewContents;
336 - (void)hideInstant; 332 - (void)hideInstant;
337 - (void)commitInstant; 333 - (void)commitInstant;
338 334
339 // Returns the frame, in Cocoa (unflipped) screen coordinates, of the area where 335 // Returns the frame, in Cocoa (unflipped) screen coordinates, of the area where
340 // Instant results are. If Instant is not showing, returns the frame of where 336 // Instant results are. If Instant is not showing, returns the frame of where
341 // it would be. 337 // it would be.
342 - (NSRect)instantFrame; 338 - (NSRect)instantFrame;
343 339
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 // |source| rect doesn't fit into |target|. 483 // |source| rect doesn't fit into |target|.
488 - (NSSize)overflowFrom:(NSRect)source 484 - (NSSize)overflowFrom:(NSRect)source
489 to:(NSRect)target; 485 to:(NSRect)target;
490 486
491 // The fullscreen exit bubble controller, or nil if the bubble isn't showing. 487 // The fullscreen exit bubble controller, or nil if the bubble isn't showing.
492 - (FullscreenExitBubbleController*)fullscreenExitBubbleController; 488 - (FullscreenExitBubbleController*)fullscreenExitBubbleController;
493 @end // @interface BrowserWindowController (TestingAPI) 489 @end // @interface BrowserWindowController (TestingAPI)
494 490
495 491
496 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 492 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698