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

Side by Side Diff: chrome/browser/ui/gtk/tabs/tab_strip_gtk.h

Issue 9359052: GTK: Closing in on being completely GSEALed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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_UI_GTK_TABS_TAB_STRIP_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 #include <vector> 10 #include <vector>
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 387
388 // Updates the location of the drop based on the event. 388 // Updates the location of the drop based on the event.
389 void UpdateDropIndex(GdkDragContext* context, gint x, gint y); 389 void UpdateDropIndex(GdkDragContext* context, gint x, gint y);
390 390
391 // Sets the location of the drop, repainting as necessary. 391 // Sets the location of the drop, repainting as necessary.
392 void SetDropIndex(int index, bool drop_before); 392 void SetDropIndex(int index, bool drop_before);
393 393
394 // Determines whether the data is acceptable by the tabstrip and opens a new 394 // Determines whether the data is acceptable by the tabstrip and opens a new
395 // tab with the data as URL if it is. Returns true if the drop was 395 // tab with the data as URL if it is. Returns true if the drop was
396 // successful. 396 // successful.
397 bool CompleteDrop(guchar* data, bool is_plain_text); 397 bool CompleteDrop(const guchar* data, bool is_plain_text);
398 398
399 // Returns the image to use for indicating a drop on a tab. If is_down is 399 // Returns the image to use for indicating a drop on a tab. If is_down is
400 // true, this returns an arrow pointing down. 400 // true, this returns an arrow pointing down.
401 static gfx::Image* GetDropArrowImage(bool is_down); 401 static gfx::Image* GetDropArrowImage(bool is_down);
402 402
403 // -- Animations ------------------------------------------------------------- 403 // -- Animations -------------------------------------------------------------
404 404
405 // Stops the current animation. 405 // Stops the current animation.
406 void StopAnimation(); 406 void StopAnimation();
407 407
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 493
494 // Helper for performing tab selection as a result of dragging over a tab. 494 // Helper for performing tab selection as a result of dragging over a tab.
495 HoverTabSelector hover_tab_selector_; 495 HoverTabSelector hover_tab_selector_;
496 496
497 content::NotificationRegistrar registrar_; 497 content::NotificationRegistrar registrar_;
498 498
499 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); 499 DISALLOW_COPY_AND_ASSIGN(TabStripGtk);
500 }; 500 };
501 501
502 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_ 502 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc ('k') | chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698