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

Side by Side Diff: chrome/browser/ui/cocoa/translate/translate_bubble_controller.h

Issue 378253002: Fix translate namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing android build errors Created 6 years, 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "base/mac/scoped_nsobject.h" 7 #include "base/mac/scoped_nsobject.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/translate/chrome_translate_client.h" 9 #include "chrome/browser/translate/chrome_translate_client.h"
10 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" 10 #import "chrome/browser/ui/cocoa/base_bubble_controller.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 BOOL translateExecuted_; 57 BOOL translateExecuted_;
58 } 58 }
59 59
60 @property(readonly, nonatomic) const content::WebContents* webContents; 60 @property(readonly, nonatomic) const content::WebContents* webContents;
61 @property(readonly, nonatomic) const TranslateBubbleModel* model; 61 @property(readonly, nonatomic) const TranslateBubbleModel* model;
62 62
63 - (id)initWithParentWindow:(BrowserWindowController*)controller 63 - (id)initWithParentWindow:(BrowserWindowController*)controller
64 model:(scoped_ptr<TranslateBubbleModel>)model 64 model:(scoped_ptr<TranslateBubbleModel>)model
65 webContents:(content::WebContents*)webContents; 65 webContents:(content::WebContents*)webContents;
66 - (void)switchView:(TranslateBubbleModel::ViewState)viewState; 66 - (void)switchView:(TranslateBubbleModel::ViewState)viewState;
67 - (void)switchToErrorView:(TranslateErrors::Type)errorType; 67 - (void)switchToErrorView:(translate::TranslateErrors::Type)errorType;
68 68
69 @end 69 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698