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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 7036014: Consolidate ShouldUseNativeFrame/AlwaysUseNativeFrame/UseNativeFrame spaghetti. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 void ProcessFullscreen(bool fullscreen); 516 void ProcessFullscreen(bool fullscreen);
517 517
518 // Copy the accelerator table from the app resources into something we can 518 // Copy the accelerator table from the app resources into something we can
519 // use. 519 // use.
520 void LoadAccelerators(); 520 void LoadAccelerators();
521 521
522 #if defined(OS_WIN) 522 #if defined(OS_WIN)
523 // Builds the correct menu for when we have minimal chrome. 523 // Builds the correct menu for when we have minimal chrome.
524 void BuildSystemMenuForBrowserWindow(); 524 void BuildSystemMenuForBrowserWindow();
525 void BuildSystemMenuForAppOrPopupWindow(); 525 void BuildSystemMenuForAppOrPopupWindow();
526
527 // Adds optional debug items for frame type toggling.
528 void AddFrameToggleItems();
526 #endif 529 #endif
527 530
528 // Retrieves the command id for the specified Windows app command. 531 // Retrieves the command id for the specified Windows app command.
529 int GetCommandIDForAppCommandID(int app_command_id) const; 532 int GetCommandIDForAppCommandID(int app_command_id) const;
530 533
531 // Initialize the hung plugin detector. 534 // Initialize the hung plugin detector.
532 void InitHangMonitor(); 535 void InitHangMonitor();
533 536
534 // Possibly records a user metrics action corresponding to the passed-in 537 // Possibly records a user metrics action corresponding to the passed-in
535 // accelerator. Only implemented for Chrome OS, where we're interested in 538 // accelerator. Only implemented for Chrome OS, where we're interested in
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 718
716 NotificationRegistrar registrar_; 719 NotificationRegistrar registrar_;
717 720
718 // Used to measure the loading spinner animation rate. 721 // Used to measure the loading spinner animation rate.
719 base::TimeTicks last_animation_time_; 722 base::TimeTicks last_animation_time_;
720 723
721 DISALLOW_COPY_AND_ASSIGN(BrowserView); 724 DISALLOW_COPY_AND_ASSIGN(BrowserView);
722 }; 725 };
723 726
724 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 727 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698