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

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

Issue 14362005: Remove unused ResizeCorner code from BrowserView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « no previous file | chrome/browser/ui/views/frame/browser_view.cc » ('j') | 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 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 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 550
551 // Initialize the hung plugin detector. 551 // Initialize the hung plugin detector.
552 void InitHangMonitor(); 552 void InitHangMonitor();
553 553
554 // Possibly records a user metrics action corresponding to the passed-in 554 // Possibly records a user metrics action corresponding to the passed-in
555 // accelerator. Only implemented for Chrome OS, where we're interested in 555 // accelerator. Only implemented for Chrome OS, where we're interested in
556 // learning about how frequently the top-row keys are used. 556 // learning about how frequently the top-row keys are used.
557 void UpdateAcceleratorMetrics(const ui::Accelerator& accelerator, 557 void UpdateAcceleratorMetrics(const ui::Accelerator& accelerator,
558 int command_id); 558 int command_id);
559 559
560 // Exposes resize corner size to BrowserViewLayout.
561 gfx::Size GetResizeCornerSize() const;
562
563 // Create an icon for this window in the launcher (currently only for Ash). 560 // Create an icon for this window in the launcher (currently only for Ash).
564 void CreateLauncherIcon(); 561 void CreateLauncherIcon();
565 562
566 // Calls |method| which is either RenderWidgetHost::Cut, ::Copy, or ::Paste, 563 // Calls |method| which is either RenderWidgetHost::Cut, ::Copy, or ::Paste,
567 // first trying the content WebContents, then the devtools WebContents, and 564 // first trying the content WebContents, then the devtools WebContents, and
568 // lastly the Views::Textfield if one is focused. 565 // lastly the Views::Textfield if one is focused.
569 // |windows_msg_id| is temporary until Win Aura is the default on Windows, 566 // |windows_msg_id| is temporary until Win Aura is the default on Windows,
570 // since until then the omnibox doesn't use Views::Textfield. 567 // since until then the omnibox doesn't use Views::Textfield.
571 void DoCutCopyPaste(void (content::RenderWidgetHost::*method)(), 568 void DoCutCopyPaste(void (content::RenderWidgetHost::*method)(),
572 #if defined(OS_WIN) 569 #if defined(OS_WIN)
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 gfx::ScopedSysColorChangeListener color_change_listener_; 743 gfx::ScopedSysColorChangeListener color_change_listener_;
747 744
748 scoped_ptr<InstantOverlayControllerViews> overlay_controller_; 745 scoped_ptr<InstantOverlayControllerViews> overlay_controller_;
749 746
750 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 747 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
751 748
752 DISALLOW_COPY_AND_ASSIGN(BrowserView); 749 DISALLOW_COPY_AND_ASSIGN(BrowserView);
753 }; 750 };
754 751
755 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 752 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698