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

Side by Side Diff: chrome/browser/ui/gtk/location_bar_view_gtk.h

Issue 10908157: Integrate ChromeToMobile with GTK Action Box. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove extra TODOs. 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_GTK_LOCATION_BAR_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 gboolean (click_callback)(GtkWidget*, GdkEventButton*, gpointer)); 406 gboolean (click_callback)(GtkWidget*, GdkEventButton*, gpointer));
407 void CreateZoomButton(); 407 void CreateZoomButton();
408 void CreateStarButton(); 408 void CreateStarButton();
409 409
410 // Update the zoom icon after zoom changes. 410 // Update the zoom icon after zoom changes.
411 void UpdateZoomIcon(); 411 void UpdateZoomIcon();
412 412
413 // Update the star icon after it is toggled or the theme changes. 413 // Update the star icon after it is toggled or the theme changes.
414 void UpdateStarIcon(); 414 void UpdateStarIcon();
415 415
416 // Update the Chrome To Mobile command state.
417 void UpdateChromeToMobileState();
418
416 // Returns true if we should only show the URL and none of the extras like 419 // Returns true if we should only show the URL and none of the extras like
417 // the star button or page actions. 420 // the star button or page actions.
418 bool ShouldOnlyShowLocation(); 421 bool ShouldOnlyShowLocation();
419 422
420 // The outermost widget we want to be hosted. 423 // The outermost widget we want to be hosted.
421 ui::OwnedWidgetGtk hbox_; 424 ui::OwnedWidgetGtk hbox_;
422 425
423 // Zoom button. 426 // Zoom button.
424 ui::OwnedWidgetGtk zoom_; 427 ui::OwnedWidgetGtk zoom_;
425 GtkWidget* zoom_image_; 428 GtkWidget* zoom_image_;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 BooleanPrefMember edit_bookmarks_enabled_; 532 BooleanPrefMember edit_bookmarks_enabled_;
530 533
531 // Used to remember the URL and title text when drag&drop has begun. 534 // Used to remember the URL and title text when drag&drop has begun.
532 GURL drag_url_; 535 GURL drag_url_;
533 string16 drag_title_; 536 string16 drag_title_;
534 537
535 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); 538 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk);
536 }; 539 };
537 540
538 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ 541 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/chrome_to_mobile_bubble_gtk.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698